Changed confusing 'all categories' text

This commit is contained in:
Robin Ward 2013-10-31 16:41:13 -04:00
parent 6ff2abd6aa
commit 5a78c1cb34
3 changed files with 3 additions and 3 deletions

View File

@ -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'),

View File

@ -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}}

View File

@ -185,7 +185,7 @@ en:
categories:
all: "all categories"
all_subcategories: "all subcategories"
only_category: "only {{categoryName}}"
category: "Category"
posts: "Posts"
topics: "Topics"