Skip to content

A platform for community discussion. Free, open, simple.

UX: Replace concatenated translation

Gerhard Schlager5268da037a44
diff --git a/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs b/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs
index c8a02c6e56c..2f9f51a47fd 100644
--- a/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/edit-category-settings.hbs
@@ -10,8 +10,7 @@
{{#unless this.showPositionInput}}
<section class="field position-disabled">
- {{i18n "category.position_disabled"}}
- <a href={{get-url "/admin/site_settings/category/basic"}}>{{i18n "category.position_disabled_click"}}</a>
+ {{html-safe (i18n "category.position_disabled" url=(get-url "/admin/site_settings/category/all_results?filter=fixed_category_positions"))}}
</section>
{{/unless}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 1281d77fcff..de0594db4b3 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -3541,8 +3541,7 @@ en:
this_year: "this year"
position: "Position on the categories page:"
default_position: "Default Position"
- position_disabled: "Categories will be displayed in order of activity. To control the order of categories in lists, "
- position_disabled_click: 'enable the "fixed category positions" setting.'
+ position_disabled: "Categories will be displayed in order of activity. To control the order of categories in lists, enable the <a href='%{url}'>'fixed category positions'</a> setting."
minimum_required_tags: "Minimum number of tags required in a topic:"
default_slow_mode: 'Enable "Slow Mode" for new topics in this category.'
parent: "Parent Category"