Skip to content

Node.js based forum software built for the modern web

language fixes

Baris Soner Usaklicbe13b6069f4
diff --git a/public/language/en_GB/recent.json b/public/language/en_GB/recent.json
index 654aa9977a..ee5a6a3e34 100644
--- a/public/language/en_GB/recent.json
+++ b/public/language/en_GB/recent.json
@@ -2,5 +2,6 @@
"title": "Recent",
"day": "Day",
"week": "Week",
- "month": "Month"
+ "month": "Month",
+ "no_recent_topics": "There are no recent topics."
}
\ No newline at end of file
diff --git a/public/templates/popular.tpl b/public/templates/popular.tpl
index 391cf8b41d..503450ea44 100644
--- a/public/templates/popular.tpl
+++ b/public/templates/popular.tpl
@@ -44,17 +44,17 @@
<small>
<span class="topic-stats">
- posts
+ [[category:posts]]
<strong class="human-readable-number" title="{topics.postcount}">{topics.postcount}</strong>
</span>
|
<span class="topic-stats">
- views
+ [[category:views]]
<strong class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</strong>
</span>
|
<span>
- posted in
+ [[category:posted]] [[global:in]]
<a href="{relative_path}/category/{topics.categorySlug}">
<i class="fa {topics.categoryIcon}"></i> {topics.categoryName}
</a>
@@ -64,13 +64,13 @@
<span class="pull-right">
<!-- IF topics.unreplied -->
- No one has replied
+ [[category:no_replies]]
<!-- ELSE -->
<a href="{relative_path}/user/{topics.teaser_userslug}">
<img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/>
</a>
<a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}">
- replied
+ [[category:replied]]
</a>
<span class="timeago" title="{topics.teaser_timestamp}"></span>
<!-- ENDIF topics.unreplied -->
diff --git a/public/templates/recent.tpl b/public/templates/recent.tpl
index ed2eb7285d..2737928db2 100644
--- a/public/templates/recent.tpl
+++ b/public/templates/recent.tpl
@@ -17,7 +17,7 @@
<!-- IF !topics.length -->
<div class="alert alert-warning" id="category-no-topics">
- <strong>There are no recent topics.</strong>
+ <strong>[[recent:no_recent_topics]]</strong>
</div>
<!-- ENDIF !topics.length -->
@@ -45,17 +45,17 @@
<small>
<span class="topic-stats">
- posts
+ [[category:posts]]
<strong class="human-readable-number" title="{topics.postcount}">{topics.postcount}</strong>
</span>
|
<span class="topic-stats">
- views
+ [[category:views]]
<strong class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</strong>
</span>
|
<span>
- posted in
+ [[category:posted]] [[global:in]]
<a href="{relative_path}/category/{topics.categorySlug}">
<i class="fa {topics.categoryIcon}"></i> {topics.categoryName}
</a>
@@ -65,13 +65,13 @@
<span class="pull-right">
<!-- IF topics.unreplied -->
- No one has replied
+ [[category:no_replies]]
<!-- ELSE -->
<a href="{relative_path}/user/{topics.teaser_userslug}">
<img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/>
</a>
<a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}">
- replied
+ [[category:replied]]
</a>
<span class="timeago" title="{topics.teaser_timestamp}"></span>
<!-- ENDIF topics.unreplied -->
diff --git a/public/templates/unread.tpl b/public/templates/unread.tpl
index c7c85016ce..dcdf0dbe9f 100644
--- a/public/templates/unread.tpl
+++ b/public/templates/unread.tpl
@@ -38,17 +38,17 @@
<small>
<span class="topic-stats">
- posts
+ [[category:posts]]
<strong class="human-readable-number" title="{topics.postcount}">{topics.postcount}</strong>
</span>
|
<span class="topic-stats">
- views
+ [[category:views]]
<strong class="human-readable-number" title="{topics.viewcount}">{topics.viewcount}</strong>
</span>
|
<span>
- posted in
+ [[category:posted]] [[global:in]]
<a href="{relative_path}/category/{topics.categorySlug}">
<i class="fa {topics.categoryIcon}"></i> {topics.categoryName}
</a>
@@ -58,13 +58,13 @@
<span class="pull-right">
<!-- IF topics.unreplied -->
- No one has replied
+ [[category:no_replies]]
<!-- ELSE -->
<a href="{relative_path}/user/{topics.teaser_userslug}">
<img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/>
</a>
<a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}">
- replied
+ [[category:replied]]
</a>
<span class="timeago" title="{topics.teaser_timestamp}"></span>
<!-- ENDIF topics.unreplied -->