diff --git a/app/assets/javascripts/discourse/models/composer.js b/app/assets/javascripts/discourse/models/composer.js index b7eb770b8..5f5ec67c7 100644 --- a/app/assets/javascripts/discourse/models/composer.js +++ b/app/assets/javascripts/discourse/models/composer.js @@ -106,7 +106,8 @@ Discourse.Composer = Discourse.Model.extend({ topic = this.get('topic'); postNumber = this.get('post.post_number'); if (topic) { - postLink = "post " + postNumber + ""; + postLink = "" + + Em.String.i18n("post.post_number", { number: postNumber }) + ""; } switch (this.get('action')) { case PRIVATE_MESSAGE: diff --git a/config/locales/client.cs.yml b/config/locales/client.cs.yml index dba563293..1e7204b1c 100644 --- a/config/locales/client.cs.yml +++ b/config/locales/client.cs.yml @@ -516,6 +516,7 @@ cs: reply: "Odpovídáte na {{link}} od {{replyAvatar}} {{username}}" reply_topic: "Odpověď na {{link}}" edit: "Editovat {{link}}" + post_number: "příspěvek č. {{number}}" in_reply_to: "v odpovědi na" reply_as_new_topic: "Odpovědět jako nové téma" continue_discussion: "Pokračující diskuze z {{postLink}}:" diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index a56b3b0bc..b0e51ceeb 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -516,6 +516,7 @@ en: reply: "Replying to {{link}} by {{replyAvatar}} {{username}}" reply_topic: "Reply to {{link}}" edit: "Edit {{link}}" + post_number: "post {{number}}" in_reply_to: "in reply to" reply_as_new_topic: "Reply as new Topic" continue_discussion: "Continuing the discussion from {{postLink}}:"