DEV: Do not use concatenation in translations

This commit is contained in:
Vinoth Kannan 2018-10-03 11:59:21 +05:30
parent 4b367dc61e
commit 23b4ab9bf9
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ export default createWidget("hamburger-categories", {
const href = Discourse.getURL("/categories");
let title = I18n.t("filters.categories.title");
if (attrs.moreCount > 0) {
title += I18n.t("categories.more", { count: attrs.moreCount });
title = I18n.t("categories.n_more", { count: attrs.moreCount });
}
let result = [

View File

@ -582,7 +582,7 @@ en:
topic_stat_sentence:
one: "%{count} new topic in the past %{unit}."
other: "%{count} new topics in the past %{unit}."
more: " (%{count} more) ..."
n_more: "Categories (%{count} more) ..."
ip_lookup:
title: IP Address Lookup