|
@@ -1715,7 +1715,10 @@ function onPasswordReqiured(callback) {
|
1715
|
1715
|
message += APP.translation.translateString(
|
1716
|
1716
|
"dialog.passwordRequired");
|
1717
|
1717
|
message += '</h2>' +
|
1718
|
|
- '<input id="lockKey" type="text" placeholder="password" autofocus>';
|
|
1718
|
+ '<input id="lockKey" type="text" data-i18n=' +
|
|
1719
|
+ '"[placeholder]dialog.password" placeholder="' +
|
|
1720
|
+ APP.translation.translateString("dialog.password") +
|
|
1721
|
+ '" autofocus>';
|
1719
|
1722
|
|
1720
|
1723
|
messageHandler.openTwoButtonDialog(null, null, null, message,
|
1721
|
1724
|
true,
|
|
@@ -1881,7 +1884,8 @@ UI.showLoginPopup = function(callback)
|
1881
|
1884
|
'<input id="passwordrequired.username" type="text" ' +
|
1882
|
1885
|
'placeholder="user@domain.net" autofocus>' +
|
1883
|
1886
|
'<input id="passwordrequired.password" ' +
|
1884
|
|
- 'type="password" placeholder="user password">';
|
|
1887
|
+ 'type="password" data-i18n="[placeholder]dialog.userPassword"' +
|
|
1888
|
+ ' placeholder="user password">';
|
1885
|
1889
|
UI.messageHandler.openTwoButtonDialog(null, null, null, message,
|
1886
|
1890
|
true,
|
1887
|
1891
|
"dialog.Ok",
|
|
@@ -4747,10 +4751,12 @@ function toggleRecording() {
|
4747
|
4751
|
APP.xmpp.toggleRecording(function (callback) {
|
4748
|
4752
|
var msg = APP.translation.generateTranslatonHTML(
|
4749
|
4753
|
"dialog.recordingToken");
|
|
4754
|
+ var token = APP.translation.translateString("dialog.token");
|
4750
|
4755
|
APP.UI.messageHandler.openTwoButtonDialog(null, null, null,
|
4751
|
4756
|
'<h2>' + msg + '</h2>' +
|
4752
|
4757
|
'<input id="recordingToken" type="text" ' +
|
4753
|
|
- 'placeholder="token" autofocus>',
|
|
4758
|
+ ' data-i18n="[placeholder]dialog.token" ' +
|
|
4759
|
+ 'placeholder="' + token + '" autofocus>',
|
4754
|
4760
|
false,
|
4755
|
4761
|
"dialog.Save",
|
4756
|
4762
|
function (e, v, m, f) {
|
|
@@ -5000,6 +5006,7 @@ var Toolbar = (function (my) {
|
5000
|
5006
|
messageHandler.openTwoButtonDialog(null, null, null,
|
5001
|
5007
|
'<h2>' + msg + '</h2>' +
|
5002
|
5008
|
'<input id="lockKey" type="text"' +
|
|
5009
|
+ ' data-i18n="[placeholder]dialog.yourPassword" ' +
|
5003
|
5010
|
'placeholder="' + yourPassword + '" autofocus>',
|
5004
|
5011
|
false,
|
5005
|
5012
|
"dialog.Save",
|