mirror of
https://github.com/discourse/discourse.git
synced 2025-06-11 05:53:49 +08:00
DEV: Do not use concatenation in translations
This commit is contained in:
@ -53,7 +53,7 @@ export default createWidget("hamburger-categories", {
|
|||||||
const href = Discourse.getURL("/categories");
|
const href = Discourse.getURL("/categories");
|
||||||
let title = I18n.t("filters.categories.title");
|
let title = I18n.t("filters.categories.title");
|
||||||
if (attrs.moreCount > 0) {
|
if (attrs.moreCount > 0) {
|
||||||
title += I18n.t("categories.more", { count: attrs.moreCount });
|
title = I18n.t("categories.n_more", { count: attrs.moreCount });
|
||||||
}
|
}
|
||||||
|
|
||||||
let result = [
|
let result = [
|
||||||
|
@ -582,7 +582,7 @@ en:
|
|||||||
topic_stat_sentence:
|
topic_stat_sentence:
|
||||||
one: "%{count} new topic in the past %{unit}."
|
one: "%{count} new topic in the past %{unit}."
|
||||||
other: "%{count} new topics in the past %{unit}."
|
other: "%{count} new topics in the past %{unit}."
|
||||||
more: " (%{count} more) ..."
|
n_more: "Categories (%{count} more) ..."
|
||||||
|
|
||||||
ip_lookup:
|
ip_lookup:
|
||||||
title: IP Address Lookup
|
title: IP Address Lookup
|
||||||
|
Reference in New Issue
Block a user