i18n KeyConflictDialogue

// FREEBIE
This commit is contained in:
lilia 2015-12-25 22:47:09 -08:00
parent 3172c49436
commit 0e2d2d60c2
3 changed files with 15 additions and 6 deletions

View file

@ -1,4 +1,10 @@
{
"verifyContact": {
"message": "You may wish to <span class='verify'>verify</span> this contact."
},
"acceptNewKey": {
"message": "Accept new key"
},
"verify": {
"message": "Verify"
},

View file

@ -290,12 +290,10 @@
<script type='text/x-tmpl-mustache' id='key-conflict-dialogue'>
<div class='content'>
<p> {{ message }} </p>
<p> {{ verifyContact }} </p>
<p>
You may wish to <span class='verify'>verify</span> this contact.
</p>
<p>
<button class='cancel'>Cancel</button>
<button class='resolve'>Accept new key</button>
<button class='cancel'>{{ cancel }}</button>
<button class='resolve'>{{ resolve }}</button>
</p>
</div>
</script>

View file

@ -32,7 +32,12 @@
this.conversation.resolveConflicts(this.model);
},
render_attributes: function() {
return this.model;
return {
message: this.model.message,
cancel: i18n('cancel'),
resolve: i18n('acceptNewKey'),
verifyContact: i18n('verifyContact')
};
}
});
})();