Implement i18n for Install Flow

Fixes #600

// FREEBIE
This commit is contained in:
Sam Lanning 2016-01-16 12:59:01 +00:00 committed by lilia
parent 3a494bf2a3
commit 0825d3e22f
4 changed files with 92 additions and 22 deletions

View file

@ -19,7 +19,7 @@
};
},
clearQR: function() {
this.$('#qr').text("Connecting...");
this.$('#qr').text(i18n("installConnecting"));
},
setProvisioningUrl: function(url) {
this.$('#qr').html('');
@ -47,7 +47,7 @@
this.$('#device-name').focus();
return;
}
this.$('.progress-dialog .status').text('Generating Keys');
this.$('.progress-dialog .status').text(i18n('installGeneratingKeys'));
this.selectStep(5);
resolve(name);
}.bind(this));
@ -61,7 +61,7 @@
this.$('#step' + step).show();
},
showSync: function() {
this.$('.progress-dialog .status').text('Syncing groups and contacts');
this.$('.progress-dialog .status').text(i18n('installSyncingGroupsAndContacts'));
this.$('.progress-dialog .bar').addClass('progress-bar-striped active');
},
showTooManyDevices: function() {