mirror of
https://github.com/discourse/discourse.git
synced 2025-04-10 09:30:45 +08:00
Changed confusing 'all categories' text
This commit is contained in:
parent
6ff2abd6aa
commit
5a78c1cb34
@ -13,7 +13,7 @@ Discourse.DiscourseCategorydropComponent = Ember.Component.extend({
|
|||||||
|
|
||||||
allCategoriesLabel: function() {
|
allCategoriesLabel: function() {
|
||||||
if (this.get('subCategory')) {
|
if (this.get('subCategory')) {
|
||||||
return I18n.t('categories.all_subcategories');
|
return I18n.t('categories.only_category', {categoryName: this.get('parentCategory.name')});
|
||||||
}
|
}
|
||||||
return I18n.t('categories.all');
|
return I18n.t('categories.all');
|
||||||
}.property('category'),
|
}.property('category'),
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{{#if childCategories}}
|
{{#if childCategories}}
|
||||||
<li>
|
<li>
|
||||||
{{discourse-categorydrop category=secondCategory categories=childCategories subCategory="true"}}
|
{{discourse-categorydrop category=secondCategory parentCategory=firstCategory categories=childCategories subCategory="true"}}
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ en:
|
|||||||
|
|
||||||
categories:
|
categories:
|
||||||
all: "all categories"
|
all: "all categories"
|
||||||
all_subcategories: "all subcategories"
|
only_category: "only {{categoryName}}"
|
||||||
category: "Category"
|
category: "Category"
|
||||||
posts: "Posts"
|
posts: "Posts"
|
||||||
topics: "Topics"
|
topics: "Topics"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user