Commit 73ea415e authored by lilia's avatar lilia
Browse files

i18n ConfirmationDialogView

// FREEBIE
parent ea9fa006
{
"ok": {
"message": "OK"
},
"cancel": {
"message": "Cancel"
},
"failedToSend": {
"message": "Failed to send to some recipients."
},
......
......@@ -76,8 +76,8 @@
<script type='text/x-tmpl-mustache' id='confirmation-dialog'>
<div class='message'>{{ message }}</div>
<div class='buttons'>
<button class='cancel'>Cancel</button>
<button class='ok'>OK</button>
<button class='cancel'>{{ cancel }}</button>
<button class='ok'>{{ ok }}</button>
</div>
</script>
<script type='text/x-tmpl-mustache' id='attachment-preview'>
......
......@@ -19,7 +19,11 @@
'click .cancel': 'cancel',
},
render_attributes: function() {
return { message: this.message };
return {
message: this.message,
cancel: i18n('cancel'),
ok: i18n('ok')
};
},
ok: function() {
this.remove();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment