fix: name the edit button of a shared tag after the tag, not the list

This commit is contained in:
Linus Rath
2026-10-28 07:10:42 +01:00
parent 3d8a0cfd0b
commit 528450db61
5 changed files with 6 additions and 3 deletions
@@ -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')
+1
View File
@@ -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
/>
+2 -2
View File
@@ -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>
+1
View File
@@ -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",
+1
View File
@@ -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",