Fix #583 from/to label translatable
I just added i18n calls and the corresponding keys for en + de.
This commit is contained in:
parent
1565b1c0a6
commit
a65166ae3b
3 changed files with 18 additions and 2 deletions
|
@ -95,6 +95,14 @@
|
||||||
"message": "Nachrichten-Details",
|
"message": "Nachrichten-Details",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
|
"from": {
|
||||||
|
"message": "Von",
|
||||||
|
"description": "Label for the sender of a message"
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"message": "An",
|
||||||
|
"description": "Label for the receiver of a message"
|
||||||
|
},
|
||||||
"verify": {
|
"verify": {
|
||||||
"message": "Verifizieren",
|
"message": "Verifizieren",
|
||||||
"description": ""
|
"description": ""
|
||||||
|
@ -119,4 +127,4 @@
|
||||||
"message": "Erneut senden",
|
"message": "Erneut senden",
|
||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,14 @@
|
||||||
"messageDetail": {
|
"messageDetail": {
|
||||||
"message": "Message Detail"
|
"message": "Message Detail"
|
||||||
},
|
},
|
||||||
|
"from": {
|
||||||
|
"message": "From",
|
||||||
|
"description": "Label for the sender of a message"
|
||||||
|
},
|
||||||
|
"to": {
|
||||||
|
"message": "To",
|
||||||
|
"description": "Label for the receiver of a message"
|
||||||
|
},
|
||||||
"sent": {
|
"sent": {
|
||||||
"message": "Sent",
|
"message": "Sent",
|
||||||
"description": "Label for the time a message was sent"
|
"description": "Label for the time a message was sent"
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
this.$el.html(Mustache.render(_.result(this, 'template', ''), {
|
this.$el.html(Mustache.render(_.result(this, 'template', ''), {
|
||||||
sent_at : moment(this.model.get('sent_at')).toString(),
|
sent_at : moment(this.model.get('sent_at')).toString(),
|
||||||
received_at : this.model.isIncoming() ? moment(this.model.get('received_at')).toString() : null,
|
received_at : this.model.isIncoming() ? moment(this.model.get('received_at')).toString() : null,
|
||||||
tofrom : this.model.isIncoming() ? 'From' : 'To',
|
tofrom : this.model.isIncoming() ? i18n('from') : i18n('to'),
|
||||||
errors : this.errors['undefined'],
|
errors : this.errors['undefined'],
|
||||||
title : i18n('messageDetail'),
|
title : i18n('messageDetail'),
|
||||||
sent : i18n('sent'),
|
sent : i18n('sent'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue