mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #1771 from node-red-hitachi/0.19-fix-i18n-project-message
Fix appearance of retry button of remote branch management dialog
This commit is contained in:
commit
b17a483b85
@ -96,7 +96,7 @@ RED.notifications = (function() {
|
|||||||
if (options.buttons) {
|
if (options.buttons) {
|
||||||
var buttonSet = $('<div style="margin-top: 20px;" class="ui-dialog-buttonset"></div>').appendTo(n)
|
var buttonSet = $('<div style="margin-top: 20px;" class="ui-dialog-buttonset"></div>').appendTo(n)
|
||||||
options.buttons.forEach(function(buttonDef) {
|
options.buttons.forEach(function(buttonDef) {
|
||||||
var b = $('<button>').text(buttonDef.text).click(buttonDef.click).appendTo(buttonSet);
|
var b = $('<button>').html(buttonDef.text).click(buttonDef.click).appendTo(buttonSet);
|
||||||
if (buttonDef.id) {
|
if (buttonDef.id) {
|
||||||
b.attr('id',buttonDef.id);
|
b.attr('id',buttonDef.id);
|
||||||
}
|
}
|
||||||
|
@ -1983,7 +1983,7 @@ RED.projects = (function() {
|
|||||||
notification.close();
|
notification.close();
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
text: $('<span><i class="fa fa-refresh"></i> Retry</span>'),
|
text: '<span><i class="fa fa-refresh"></i> ' +RED._("projects.send-req.retry") +'</span>',
|
||||||
click: function() {
|
click: function() {
|
||||||
body = body || {};
|
body = body || {};
|
||||||
var authBody = {};
|
var authBody = {};
|
||||||
|
@ -795,6 +795,7 @@
|
|||||||
"username": "Username",
|
"username": "Username",
|
||||||
"password": "Password",
|
"password": "Password",
|
||||||
"passphrase": "Passphrase",
|
"passphrase": "Passphrase",
|
||||||
|
"retry": "Retry",
|
||||||
"update-failed": "Failed to update auth",
|
"update-failed": "Failed to update auth",
|
||||||
"unhandled": "Unhandled error response"
|
"unhandled": "Unhandled error response"
|
||||||
},
|
},
|
||||||
|
@ -785,6 +785,7 @@
|
|||||||
"username": "ユーザ名",
|
"username": "ユーザ名",
|
||||||
"password": "パスワード",
|
"password": "パスワード",
|
||||||
"passphrase": "パスフレーズ",
|
"passphrase": "パスフレーズ",
|
||||||
|
"retry": "リトライ",
|
||||||
"update-failed": "認証の更新に失敗しました",
|
"update-failed": "認証の更新に失敗しました",
|
||||||
"unhandled": "エラー応答が処理されませんでした"
|
"unhandled": "エラー応答が処理されませんでした"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user