mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-01 08:12:43 +00:00
fix: name the edit button of a shared tag after the tag, not the list
This commit is contained in:
@@ -15,7 +15,7 @@ export function SharedTagsSection({ draft }: { draft: OrgPolicyDraft }) {
|
||||
<SettingsSection
|
||||
id="shared-tags"
|
||||
title="Shared tags"
|
||||
description="Members of a group mailbox see the same tag names and colours on its mail, and members who may change the mailbox edit them (Stalwart 1.0 or later)."
|
||||
description="Members of a group mailbox see the same tag names and colours on its mail; members who may change the mailbox can edit them (Stalwart 1.0 or later)."
|
||||
>
|
||||
<div data-testid="org-shared-tags-section">
|
||||
{restrictionKeysForPage('org-sharing')
|
||||
|
||||
@@ -868,6 +868,7 @@ function SharedAccountTags({
|
||||
onToggle={() => setExpanded((open) => !open)}
|
||||
onSettings={() => router.push(buildSettingsPath('organize', 'shared-tags'))}
|
||||
settingsTitle={t('edit')}
|
||||
testId="section-shared-tags"
|
||||
isCollapsed={false}
|
||||
sub
|
||||
/>
|
||||
|
||||
@@ -237,8 +237,8 @@ function SharedAccountTagEditor({ scope, name }: { scope: TagScope; name: string
|
||||
type="button"
|
||||
onClick={() => { setEditing({ id: tag.id }); setConfirmDelete(null); }}
|
||||
className="grid h-8 w-8 place-items-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground"
|
||||
title={found ? t("name_it") : t("edit")}
|
||||
aria-label={found ? t("name_it") : t("edit")}
|
||||
title={found ? t("name_it") : t("edit_tag")}
|
||||
aria-label={found ? t("name_it") : t("edit_tag")}
|
||||
>
|
||||
{found ? <Plus className="h-4 w-4" /> : <Pencil className="h-4 w-4" />}
|
||||
</button>
|
||||
|
||||
@@ -332,6 +332,7 @@
|
||||
"picker_heading": "Mit allen in diesem Postfach geteilt",
|
||||
"sidebar_heading": "Tags",
|
||||
"edit": "Geteilte Labels bearbeiten",
|
||||
"edit_tag": "Label bearbeiten",
|
||||
"add": "Geteiltes Label hinzufügen",
|
||||
"name": "Name",
|
||||
"colour": "Farbe",
|
||||
|
||||
@@ -332,6 +332,7 @@
|
||||
"picker_heading": "Shared with everyone in this mailbox",
|
||||
"sidebar_heading": "Tags",
|
||||
"edit": "Edit shared tags",
|
||||
"edit_tag": "Edit tag",
|
||||
"add": "Add shared tag",
|
||||
"name": "Name",
|
||||
"colour": "Colour",
|
||||
|
||||
Reference in New Issue
Block a user