mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
extract hardcoded "post {{number}}" into locale strings
This commit is contained in:
parent
9db0ddeeac
commit
ac47c36f8b
3 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,8 @@ Discourse.Composer = Discourse.Model.extend({
|
|||
topic = this.get('topic');
|
||||
postNumber = this.get('post.post_number');
|
||||
if (topic) {
|
||||
postLink = "<a href='" + (topic.get('url')) + "/" + postNumber + "'>post " + postNumber + "</a>";
|
||||
postLink = "<a href='" + (topic.get('url')) + "/" + postNumber + "'>" +
|
||||
Em.String.i18n("post.post_number", { number: postNumber }) + "</a>";
|
||||
}
|
||||
switch (this.get('action')) {
|
||||
case PRIVATE_MESSAGE:
|
||||
|
|
|
@ -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}}:"
|
||||
|
|
|
@ -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}}:"
|
||||
|
|
Loading…
Reference in a new issue