Fix #583 from/to label translatable

I just added i18n calls and the corresponding keys for en + de.
This commit is contained in:
Felix Epp 2016-01-08 19:36:34 +01:00 committed by lilia
parent 1565b1c0a6
commit a65166ae3b
3 changed files with 18 additions and 2 deletions

View file

@ -111,7 +111,7 @@
this.$el.html(Mustache.render(_.result(this, 'template', ''), {
sent_at : moment(this.model.get('sent_at')).toString(),
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'],
title : i18n('messageDetail'),
sent : i18n('sent'),