From c20c48ef5c8e2c90f9daeb77917b08a82eae96fa Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Fri, 15 Nov 2024 12:13:38 +0100 Subject: [PATCH] chore: add accessible label to edit tag button --- extensions/tags/js/src/admin/components/TagsPage.js | 7 ++++++- extensions/tags/locale/en.yml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/extensions/tags/js/src/admin/components/TagsPage.js b/extensions/tags/js/src/admin/components/TagsPage.js index 4564869bb9..54611b4fc8 100644 --- a/extensions/tags/js/src/admin/components/TagsPage.js +++ b/extensions/tags/js/src/admin/components/TagsPage.js @@ -16,7 +16,12 @@ function tagItem(tag) {
{tagIcon(tag)} {tag.name()} -
{!tag.isChild() && tag.position() !== null && (
    diff --git a/extensions/tags/locale/en.yml b/extensions/tags/locale/en.yml index 3890539d2d..bb44b2a73a 100644 --- a/extensions/tags/locale/en.yml +++ b/extensions/tags/locale/en.yml @@ -56,6 +56,7 @@ flarum-tags: about_tags_text: "Tags are used to categorize discussions. Primary tags are like traditional forum categories: they can be arranged in a two-level hierarchy. Secondary tags do not have hierarchy or order, and are useful for micro-categorization." create_primary_tag_button: Create Primary Tag create_secondary_tag_button: Create Secondary Tag + edit_tag_label: Edit Tag {tag} primary_heading: Primary Tags secondary_heading: Secondary Tags settings_heading: Settings