A platform for community discussion. Free, open, simple.
UX: Themes & components I18n adjustments (#31897)
Martin Brennan625d086f35ed
diff --git a/app/assets/javascripts/admin/addon/templates/config-customize.hbs b/app/assets/javascripts/admin/addon/templates/config-customize.hbsindex 4dcdda1716c..078cb2057af 100644--- a/app/assets/javascripts/admin/addon/templates/config-customize.hbs+++ b/app/assets/javascripts/admin/addon/templates/config-customize.hbs@@ -1,7 +1,7 @@<DPageHeader- @titleLabel={{i18n "admin.config_areas.themes_and_components.title"}}+ @titleLabel={{i18n "admin.config.themes_and_components.title"}}@descriptionLabel={{i18n- "admin.config_areas.themes_and_components.description"+ "admin.config.themes_and_components.header_description"}}@learnMoreUrl="https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966">@@ -12,11 +12,11 @@<:tabs><NavItem@route="adminConfig.customize.themes"- @label="admin.config_areas.themes_and_components.themes.title"+ @label="admin.config.themes.title"/><NavItem@route="adminConfig.customize.components"- @label="admin.config_areas.themes_and_components.components.title"+ @label="admin.config.components.title"/></:tabs></DPageHeader>diff --git a/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js b/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.jsindex 30001496f2f..5d2ba485601 100644--- a/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js+++ b/app/assets/javascripts/discourse/app/lib/sidebar/admin-nav-map.js@@ -244,10 +244,10 @@ export const ADMIN_NAV_MAP = [route: "adminConfig.customize.themes",currentWhen:"adminConfig.customize.themes adminConfig.customize.components",- label: "admin.appearance.sidebar_link.themes_and_components.title",+ label: "admin.config.themes_and_components.title",+ description: "admin.config.themes_and_components.header_description",icon: "paintbrush",- keywords:- "admin.appearance.sidebar_link.themes_and_components.keywords",+ keywords: "admin.config.themes_and_components.keywords",},{name: "admin_customize_site_texts",diff --git a/config/locales/client.en.yml b/config/locales/client.en.ymlindex f11040f3264..6ef653c5dfa 100644--- a/config/locales/client.en.yml+++ b/config/locales/client.en.yml@@ -5380,7 +5380,7 @@ en:header_description: "Watched words are moderation tools that can perform multiple different actions including blocking, censoring, linking, or flagging posts containing certain words"color_palettes:title: "Color palettes"- header_description: "Color palettes define the core colors used across your site’s interface, while themes can provide additional styling, layouts, and components. Both can work together to create your site’s unique look and feel, and both can be made available for users to select their preference"+ header_description: "Color palettes define the core colors used across your site’s interface, while themes can provide additional styling, layouts, and components. Both can work together to create your site’s unique look and feel, and both can be made available for users to select their preference."emoji:title: "Emoji"header_description: "Add new emoji that will be available to everyone. Select multiple files to create emojis using their file names. The selected group will be used for all files that are added at the same time."@@ -5391,6 +5391,10 @@ en:title: "Components"header_description: "Components are smaller customizations that can be added to themes in order to change specific elements of the style of your forum design"keywords: "theme|component|extension"+ themes_and_components:+ title: "Themes and components"+ header_description: "Personalize your Discourse site with themes and components to match your needs"+ keywords: "theme|component|extension|customize"site_texts:title: "Site texts"header_description: "Customize any text used in Discourse to match your community’s voice and tone"@@ -6533,7 +6537,6 @@ en:title: "Colors"edit: "Edit color palettes"long_title: "Color palettes"- description: "Color palettes define the core colors used across your site’s interface, while themes can provide additional styling, layouts and components - both can work together to create your site’s unique look and feel, and both can be made available for users to select their preference."about: "Modify the colors used by your themes. Create a new color palette to start."new_name: "New color palette"copy_name_prefix: "Copy of"