mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 11:44:06 -06:00
missing localization on categories
This commit is contained in:
parent
70058c9ebe
commit
ea7b97be34
@ -5,7 +5,7 @@
|
||||
<h1>
|
||||
{{#if view.topic.title}}
|
||||
{{view Discourse.TopicStatusView topicBinding="view.topic"}}
|
||||
<a class='topic-link' href='{{unbound view.topic.url}}'>{{view Discourse.AutoSizedTextView tagName="span" class="auto-sizer" contentBinding="view.topic.title"}}</a>
|
||||
<a class='topic-link' href='{{unbound view.topic.url}}'>{{view.topic.title}}</a>
|
||||
{{else}}
|
||||
{{#if view.topic.missing}}
|
||||
{{i18n topic.not_found.title}}
|
||||
|
@ -58,10 +58,11 @@ window.Discourse.ListTopicsView = Ember.View.extend Discourse.Scrolling, Discour
|
||||
return unless @get('allLoaded')
|
||||
|
||||
content = @get('controller.content')
|
||||
split = content.get('filter').split('/')
|
||||
if content.get('topics.length') == 0
|
||||
Em.String.i18n("topics.none.#{content.get('filter')}")
|
||||
Em.String.i18n("topics.none.#{split[0]}", category: split[1])
|
||||
else
|
||||
Em.String.i18n("topics.bottom.#{content.get('filter')}")
|
||||
Em.String.i18n("topics.bottom.#{split[0]}", category: split[1])
|
||||
|
||||
).property('allLoaded', 'controller.content.topics.length')
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
@media only screen
|
||||
and (min-width : 320px)
|
||||
and (max-width : 480px) {
|
||||
// and (min-device-width : 320px)
|
||||
// and (max-device-width : 480px) {
|
||||
and (min-device-width : 320px)
|
||||
and (max-device-width : 480px) {
|
||||
#reply-control {
|
||||
.toggle-preview { display:none; }
|
||||
#reply-title { width: 250px; }
|
||||
|
@ -317,6 +317,7 @@ en:
|
||||
read: "You haven't read any topics yet."
|
||||
posted: "You haven't posted in any topics yet."
|
||||
popular: "There are no popular topics. That's sad."
|
||||
category: "There are no {{category}} topics."
|
||||
bottom:
|
||||
popular: "There are no more popular topics to read."
|
||||
posted: "There are no more posted topics to read."
|
||||
@ -324,7 +325,7 @@ en:
|
||||
new: "There are no more new topics to read."
|
||||
unread: "There are no more unread topics to read."
|
||||
favorited: "There are no more favorited topics to read."
|
||||
|
||||
category: "There are no more {{category}} topics."
|
||||
|
||||
|
||||
topic:
|
||||
|
Loading…
Reference in New Issue
Block a user