1
0
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:
Nick O'Leary 2018-06-25 13:50:11 +01:00 committed by GitHub
commit b17a483b85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 2 deletions

View File

@ -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);
} }

View File

@ -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 = {};

View File

@ -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"
}, },

View File

@ -785,6 +785,7 @@
"username": "ユーザ名", "username": "ユーザ名",
"password": "パスワード", "password": "パスワード",
"passphrase": "パスフレーズ", "passphrase": "パスフレーズ",
"retry": "リトライ",
"update-failed": "認証の更新に失敗しました", "update-failed": "認証の更新に失敗しました",
"unhandled": "エラー応答が処理されませんでした" "unhandled": "エラー応答が処理されませんでした"
}, },