mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-25 06:11:20 -04:00
Changed confusing 'all categories' text
This commit is contained in:
parent
6ff2abd6aa
commit
5a78c1cb34
3 changed files with 3 additions and 3 deletions
app/assets/javascripts/discourse
config/locales
|
@ -13,7 +13,7 @@ Discourse.DiscourseCategorydropComponent = Ember.Component.extend({
|
|||
|
||||
allCategoriesLabel: function() {
|
||||
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');
|
||||
}.property('category'),
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
{{#if childCategories}}
|
||||
<li>
|
||||
{{discourse-categorydrop category=secondCategory categories=childCategories subCategory="true"}}
|
||||
{{discourse-categorydrop category=secondCategory parentCategory=firstCategory categories=childCategories subCategory="true"}}
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -185,7 +185,7 @@ en:
|
|||
|
||||
categories:
|
||||
all: "all categories"
|
||||
all_subcategories: "all subcategories"
|
||||
only_category: "only {{categoryName}}"
|
||||
category: "Category"
|
||||
posts: "Posts"
|
||||
topics: "Topics"
|
||||
|
|
Loading…
Add table
Reference in a new issue