mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Don't capitalize category name in document title
This commit is contained in:
parent
0adfeb1cff
commit
31f7addefa
@ -71,7 +71,7 @@ export default function(filter, params) {
|
||||
period = filter.indexOf('/') > 0 ? filter.split('/')[1] : '',
|
||||
filterText = I18n.t('filters.' + filter.replace('/', '.') + '.title', {count: 0});
|
||||
|
||||
Discourse.set('title', I18n.t('filters.with_category', { filter: filterText, category: model.get('name').capitalize() }));
|
||||
Discourse.set('title', I18n.t('filters.with_category', { filter: filterText, category: model.get('name') }));
|
||||
|
||||
this.controllerFor('navigation/category').set('canCreateTopic', topics.get('can_create_topic'));
|
||||
this.controllerFor('discovery/topics').setProperties({
|
||||
|
@ -1338,8 +1338,8 @@ en:
|
||||
categories_list: "Categories List"
|
||||
|
||||
filters:
|
||||
with_topics: "%{filter} Topics"
|
||||
with_category: "%{filter} %{category} Topics"
|
||||
with_topics: "%{filter} topics"
|
||||
with_category: "%{filter} %{category} topics"
|
||||
latest:
|
||||
title: "Latest"
|
||||
help: "topics with recent posts"
|
||||
|
Loading…
Reference in New Issue
Block a user