1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Modify messages to refer to language files (#1361)

This commit is contained in:
Kazuhito Yokoi 2017-08-07 18:00:28 +09:00 committed by Nick O'Leary
parent 54220d0e71
commit d7d13c12fe
14 changed files with 103 additions and 47 deletions

View File

@ -219,12 +219,12 @@
menuOptions.push(null); menuOptions.push(null);
} }
menuOptions.push({id:"menu-item-user-settings",label:RED._("menu.label.userSettings"),onselect:"core:show-user-settings"}); menuOptions.push({id:"menu-item-user-settings",label:RED._("menu.label.settings"),onselect:"core:show-user-settings"});
menuOptions.push(null); menuOptions.push(null);
menuOptions.push({id:"menu-item-keyboard-shortcuts",label:RED._("menu.label.keyboardShortcuts"),onselect:"core:show-help"}); menuOptions.push({id:"menu-item-keyboard-shortcuts",label:RED._("menu.label.keyboardShortcuts"),onselect:"core:show-help"});
menuOptions.push({id:"menu-item-help", menuOptions.push({id:"menu-item-help",
label: RED.settings.theme("menu.menu-item-help.label","Node-RED website"), label: RED.settings.theme("menu.menu-item-help.label",RED._("menu.label.help")),
href: RED.settings.theme("menu.menu-item-help.url","http://nodered.org/docs") href: RED.settings.theme("menu.menu-item-help.url","http://nodered.org/docs")
}); });
menuOptions.push({id:"menu-item-node-red-version", label:"v"+RED.settings.version, onselect: "core:show-about" }); menuOptions.push({id:"menu-item-node-red-version", label:"v"+RED.settings.version, onselect: "core:show-about" });

View File

@ -157,8 +157,8 @@ RED.deploy = (function() {
create: function() { create: function() {
$("#node-dialog-confirm-deploy").parent().find("div.ui-dialog-buttonpane") $("#node-dialog-confirm-deploy").parent().find("div.ui-dialog-buttonpane")
.prepend('<div style="height:0; vertical-align: middle; display:inline-block; margin-top: 13px; float:left;">'+ .prepend('<div style="height:0; vertical-align: middle; display:inline-block; margin-top: 13px; float:left;">'+
'<input style="vertical-align:top;" type="checkbox" id="node-dialog-confirm-deploy-hide">'+ '<input style="vertical-align:top;" type="checkbox" id="node-dialog-confirm-deploy-hide"> '+
'<label style="display:inline;" for="node-dialog-confirm-deploy-hide"> do not warn about this again</label>'+ '<label style="display:inline;" for="node-dialog-confirm-deploy-hide" data-i18n="deploy.confirm.doNotWarn"></label>'+
'<input type="hidden" id="node-dialog-confirm-deploy-type">'+ '<input type="hidden" id="node-dialog-confirm-deploy-type">'+
'</div>'); '</div>');
}, },

View File

@ -57,7 +57,7 @@ RED.diff = (function() {
} else if (tab.type === 'subflow') { } else if (tab.type === 'subflow') {
titleSpan.html((tabForLabel.name||tabForLabel.id)); titleSpan.html((tabForLabel.name||tabForLabel.id));
} else { } else {
titleSpan.html("Global nodes"); titleSpan.html(RED._("diff.globalNodes"));
} }
var flowStats = { var flowStats = {
local: { local: {
@ -133,7 +133,7 @@ RED.diff = (function() {
} }
} }
$('<span class="node-diff-chevron"><i class="fa fa-angle-down"></i></span>').appendTo(originalNodeDiv); $('<span class="node-diff-chevron"><i class="fa fa-angle-down"></i></span>').appendTo(originalNodeDiv);
$('<span>').html("Flow Properties").appendTo(originalNodeDiv); $('<span>').html(RED._("diff.flowProperties")).appendTo(originalNodeDiv);
row.click(function(evt) { row.click(function(evt) {
evt.preventDefault(); evt.preventDefault();

View File

@ -660,7 +660,7 @@ RED.editor = (function() {
function buildLabelRow(type, index, value, placeHolder) { function buildLabelRow(type, index, value, placeHolder) {
var result = $('<div>',{class:"node-label-form-row"}); var result = $('<div>',{class:"node-label-form-row"});
if (type === undefined) { if (type === undefined) {
$('<span>').html("none").appendTo(result); $('<span>').html(RED._("editor.noDefaultLabel")).appendTo(result);
result.addClass("node-label-form-none"); result.addClass("node-label-form-none");
} else { } else {
result.addClass(""); result.addClass("");

View File

@ -89,7 +89,7 @@ RED.keyboard = (function() {
RED.userSettings.add({ RED.userSettings.add({
id:'keyboard', id:'keyboard',
title: 'Keyboard', title: RED._("keyboard.keyboard"),
get: getSettingsPane, get: getSettingsPane,
focus: function() { focus: function() {
setTimeout(function() { setTimeout(function() {
@ -350,7 +350,8 @@ RED.keyboard = (function() {
$(this).toggleClass("input-error",!valid); $(this).toggleClass("input-error",!valid);
}) })
var scopeSelect = $('<select><option value="*">global</option><option value="workspace">workspace</option></select>').appendTo(scope); var scopeSelect = $('<select><option value="*" data-i18n="keyboard.global"></option><option value="workspace" data-i18n="keyboard.workspace"></option></select>').appendTo(scope);
scopeSelect.i18n();
scopeSelect.val(object.scope||'*'); scopeSelect.val(object.scope||'*');
var div = $('<div class="keyboard-shortcut-edit button-group-vertical"></div>').appendTo(scope); var div = $('<div class="keyboard-shortcut-edit button-group-vertical"></div>').appendTo(scope);
@ -468,9 +469,9 @@ RED.keyboard = (function() {
var pane = $('<div id="user-settings-tab-keyboard"></div>'); var pane = $('<div id="user-settings-tab-keyboard"></div>');
$('<div class="keyboard-shortcut-entry keyboard-shortcut-list-header">'+ $('<div class="keyboard-shortcut-entry keyboard-shortcut-list-header">'+
'<div class="keyboard-shortcut-entry-key keyboard-shortcut-entry-text"><input id="user-settings-tab-keyboard-filter" type="text" placeholder="filter actions"></div>'+ '<div class="keyboard-shortcut-entry-key keyboard-shortcut-entry-text"><input id="user-settings-tab-keyboard-filter" type="text" data-i18n="[placeholder]keyboard.filterActions"></div>'+
'<div class="keyboard-shortcut-entry-key">shortcut</div>'+ '<div class="keyboard-shortcut-entry-key" data-i18n="keyboard.shortcut"></div>'+
'<div class="keyboard-shortcut-entry-scope">scope</div>'+ '<div class="keyboard-shortcut-entry-scope" data-i18n="keyboard.scope"></div>'+
'</div>').appendTo(pane); '</div>').appendTo(pane);
pane.find("input").searchBox({ pane.find("input").searchBox({

View File

@ -423,7 +423,7 @@ RED.palette.editor = (function() {
RED.userSettings.add({ RED.userSettings.add({
id:'palette', id:'palette',
title: 'Palette', title: RED._("palette.editor.palette"),
get: getSettingsPane, get: getSettingsPane,
close: function() { close: function() {
settingsPane.detach(); settingsPane.detach();

View File

@ -125,7 +125,7 @@ RED.search = (function() {
function createDialog() { function createDialog() {
dialog = $("<div>",{id:"red-ui-search",class:"red-ui-search"}).appendTo("#main-container"); dialog = $("<div>",{id:"red-ui-search",class:"red-ui-search"}).appendTo("#main-container");
var searchDiv = $("<div>",{class:"red-ui-search-container"}).appendTo(dialog); var searchDiv = $("<div>",{class:"red-ui-search-container"}).appendTo(dialog);
searchInput = $('<input type="text" placeholder="search your flows">').appendTo(searchDiv).searchBox({ searchInput = $('<input type="text" data-i18n="[placeholder]menu.label.searchInput">').appendTo(searchDiv).searchBox({
delay: 200, delay: 200,
change: function() { change: function() {
search($(this).val()); search($(this).val());
@ -166,6 +166,7 @@ RED.search = (function() {
} }
} }
}); });
searchInput.i18n();
var searchResultsDiv = $("<div>",{class:"red-ui-search-results-container"}).appendTo(dialog); var searchResultsDiv = $("<div>",{class:"red-ui-search-results-container"}).appendTo(dialog);
searchResults = $('<ol>',{id:"search-result-list", style:"position: absolute;top: 5px;bottom: 5px;left: 5px;right: 5px;"}).appendTo(searchResultsDiv).editableList({ searchResults = $('<ol>',{id:"search-result-list", style:"position: absolute;top: 5px;bottom: 5px;left: 5px;right: 5px;"}).appendTo(searchResultsDiv).editableList({

View File

@ -50,11 +50,11 @@ RED.sidebar.info = (function() {
}).hide(); }).hide();
nodeSection = sections.add({ nodeSection = sections.add({
title: "Node", title: RED._("sidebar.info.node"),
collapsible: false collapsible: false
}); });
infoSection = sections.add({ infoSection = sections.add({
title: "Information", title: RED._("sidebar.info.information"),
collapsible: false collapsible: false
}); });
infoSection.content.css("padding","6px"); infoSection.content.css("padding","6px");
@ -132,15 +132,15 @@ RED.sidebar.info = (function() {
var propRow; var propRow;
var subflowNode; var subflowNode;
if (node.type === "tab") { if (node.type === "tab") {
nodeSection.title.html("Flow"); nodeSection.title.html(RED._("sidebar.info.flow"));
propRow = $('<tr class="node-info-node-row"><td>Name</td><td></td></tr>').appendTo(tableBody); propRow = $('<tr class="node-info-node-row"><td>'+RED._("sidebar.info.tabName")+'</td><td></td></tr>').appendTo(tableBody);
$(propRow.children()[1]).html('&nbsp;'+(node.label||"")) $(propRow.children()[1]).html('&nbsp;'+(node.label||""))
propRow = $('<tr class="node-info-node-row"><td>'+RED._("sidebar.info.id")+"</td><td></td></tr>").appendTo(tableBody); propRow = $('<tr class="node-info-node-row"><td>'+RED._("sidebar.info.id")+"</td><td></td></tr>").appendTo(tableBody);
RED.utils.createObjectElement(node.id).appendTo(propRow.children()[1]); RED.utils.createObjectElement(node.id).appendTo(propRow.children()[1]);
propRow = $('<tr class="node-info-node-row"><td>Status</td><td></td></tr>').appendTo(tableBody); propRow = $('<tr class="node-info-node-row"><td>'+RED._("sidebar.info.status")+'</td><td></td></tr>').appendTo(tableBody);
$(propRow.children()[1]).html((!!!node.disabled)?"Enabled":"Disabled") $(propRow.children()[1]).html((!!!node.disabled)?RED._("sidebar.info.enabled"):RED._("sidebar.info.disabled"))
} else { } else {
nodeSection.title.html("Node"); nodeSection.title.html(RED._("sidebar.info.node"));
if (node.type !== "subflow" && node.name) { if (node.type !== "subflow" && node.name) {
$('<tr class="node-info-node-row"><td>'+RED._("common.label.name")+'</td><td>&nbsp;<span class="bidiAware" dir="'+RED.text.bidi.resolveBaseTextDir(node.name)+'">'+node.name+'</span></td></tr>').appendTo(tableBody); $('<tr class="node-info-node-row"><td>'+RED._("common.label.name")+'</td><td>&nbsp;<span class="bidiAware" dir="'+RED.text.bidi.resolveBaseTextDir(node.name)+'">'+node.name+'</span></td></tr>').appendTo(tableBody);
} }
@ -188,7 +188,7 @@ RED.sidebar.info = (function() {
} }
} }
if (count > 0) { if (count > 0) {
$('<tr class="node-info-property-expand blank"><td colspan="2"><a href="#" class=" node-info-property-header'+(expandedSections.property?" expanded":"")+'"><span class="node-info-property-show-more">show more</span><span class="node-info-property-show-less">show less</span> <i class="fa fa-caret-down"></i></a></td></tr>').appendTo(tableBody); $('<tr class="node-info-property-expand blank"><td colspan="2"><a href="#" class=" node-info-property-header'+(expandedSections.property?" expanded":"")+'"><span class="node-info-property-show-more">'+RED._("sidebar.info.showMore")+'</span><span class="node-info-property-show-less">'+RED._("sidebar.info.showLess")+'</span> <i class="fa fa-caret-down"></i></a></td></tr>').appendTo(tableBody);
} }
} }
} }

View File

@ -33,7 +33,7 @@ RED.userSettings = (function() {
var tabContainer; var tabContainer;
var trayOptions = { var trayOptions = {
title: "User Settings", title: RED._("menu.label.userSettings"),
buttons: [ buttons: [
{ {
id: "node-dialog-ok", id: "node-dialog-ok",
@ -100,7 +100,7 @@ RED.userSettings = (function() {
var viewSettings = [ var viewSettings = [
{ {
title: "Grid", title: "menu.label.view.grid",
options: [ options: [
{setting:"view-show-grid",oldSetting:"menu-menu-item-view-show-grid",label:"menu.label.view.showGrid",toggle:true,onchange:"core:toggle-show-grid"}, {setting:"view-show-grid",oldSetting:"menu-menu-item-view-show-grid",label:"menu.label.view.showGrid",toggle:true,onchange:"core:toggle-show-grid"},
{setting:"view-snap-grid",oldSetting:"menu-menu-item-view-snap-grid",label:"menu.label.view.snapGrid",toggle:true,onchange:"core:toggle-snap-grid"}, {setting:"view-snap-grid",oldSetting:"menu-menu-item-view-snap-grid",label:"menu.label.view.snapGrid",toggle:true,onchange:"core:toggle-snap-grid"},
@ -108,13 +108,13 @@ RED.userSettings = (function() {
] ]
}, },
{ {
title: "Nodes", title: "menu.label.nodes",
options: [ options: [
{setting:"view-node-status",oldSetting:"menu-menu-item-status",label:"menu.label.displayStatus",default: true, toggle:true,onchange:"core:toggle-status"} {setting:"view-node-status",oldSetting:"menu-menu-item-status",label:"menu.label.displayStatus",default: true, toggle:true,onchange:"core:toggle-status"}
] ]
}, },
{ {
title: "Other", title: "menu.label.other",
options: [ options: [
{setting:"view-show-tips",oldSettings:"menu-menu-item-show-tips",label:"menu.label.showTips",toggle:true,default:true,onchange:"core:toggle-show-tips"} {setting:"view-show-tips",oldSettings:"menu-menu-item-show-tips",label:"menu.label.showTips",toggle:true,default:true,onchange:"core:toggle-show-tips"}
] ]
@ -128,7 +128,7 @@ RED.userSettings = (function() {
var pane = $('<div id="user-settings-tab-view" class="node-help"></div>'); var pane = $('<div id="user-settings-tab-view" class="node-help"></div>');
viewSettings.forEach(function(section) { viewSettings.forEach(function(section) {
$('<h3></h3>').text(section.title).appendTo(pane); $('<h3></h3>').text(RED._(section.title)).appendTo(pane);
section.options.forEach(function(opt) { section.options.forEach(function(opt) {
var initialState = RED.settings.get(opt.setting); var initialState = RED.settings.get(opt.setting);
var row = $('<div class="user-settings-row"></div>').appendTo(pane); var row = $('<div class="user-settings-row"></div>').appendTo(pane);
@ -169,7 +169,7 @@ RED.userSettings = (function() {
addPane({ addPane({
id:'view', id:'view',
title: 'View', title: RED._("menu.label.view.view"),
get: createViewPane, get: createViewPane,
close: function() { close: function() {
viewSettings.forEach(function(section) { viewSettings.forEach(function(section) {

View File

@ -50,7 +50,7 @@ RED.user = (function() {
for (;i<data.prompts.length;i++) { for (;i<data.prompts.length;i++) {
var field = data.prompts[i]; var field = data.prompts[i];
var row = $("<div/>",{class:"form-row"}); var row = $("<div/>",{class:"form-row"});
$('<label for="node-dialog-login-'+field.id+'">'+field.label+':</label><br/>').appendTo(row); $('<label for="node-dialog-login-'+field.id+'">'+RED._(field.label)+':</label><br/>').appendTo(row);
var input = $('<input style="width: 100%" id="node-dialog-login-'+field.id+'" type="'+field.type+'" tabIndex="'+(i+1)+'"/>').appendTo(row); var input = $('<input style="width: 100%" id="node-dialog-login-'+field.id+'" type="'+field.type+'" tabIndex="'+(i+1)+'"/>').appendTo(row);
if (i<data.prompts.length-1) { if (i<data.prompts.length-1) {

View File

@ -392,7 +392,7 @@
"tip": { "tip": {
"path1": "標準では <code>payload</code> がwebsocketから送信、受信されるデータを持ちます。クライアントはJSON形式の文字列としてメッセージ全体を送信、受信するよう設定できます。", "path1": "標準では <code>payload</code> がwebsocketから送信、受信されるデータを持ちます。クライアントはJSON形式の文字列としてメッセージ全体を送信、受信するよう設定できます。",
"path2": "This path will be relative to ", "path2": "This path will be relative to ",
"url1": "URLには ws:&#47;&#47; or wss:&#47;&#47; スキーマを使用して、存在するwebsocketリスナを設定してください。", "url1": "URLには ws:&#47;&#47; または wss:&#47;&#47; スキーマを使用して、存在するwebsocketリスナを設定してください。",
"url2": "標準では <code>payload</code> がwebsocketから送信、受信されるデータを持ちます。クライアントはJSON形式の文字列としてメッセージ全体を送信、受信するよう設定できます。" "url2": "標準では <code>payload</code> がwebsocketから送信、受信されるデータを持ちます。クライアントはJSON形式の文字列としてメッセージ全体を送信、受信するよう設定できます。"
}, },
"errors": { "errors": {

View File

@ -84,7 +84,7 @@ function login(req,res) {
if (settings.adminAuth.type === "credentials") { if (settings.adminAuth.type === "credentials") {
response = { response = {
"type":"credentials", "type":"credentials",
"prompts":[{id:"username",type:"text",label:"Username"},{id:"password",type:"password",label:"Password"}] "prompts":[{id:"username",type:"text",label:"user.username"},{id:"password",type:"password",label:"user.password"}]
} }
} else if (settings.adminAuth.type === "strategy") { } else if (settings.adminAuth.type === "strategy") {
response = { response = {

View File

@ -29,6 +29,7 @@
"label": { "label": {
"view": { "view": {
"view": "View", "view": "View",
"grid": "Grid",
"showGrid": "Show grid", "showGrid": "Show grid",
"snapGrid": "Snap to grid", "snapGrid": "Snap to grid",
"gridSize": "Grid size", "gridSize": "Grid size",
@ -41,12 +42,15 @@
"sidebar": { "sidebar": {
"show": "Show sidebar" "show": "Show sidebar"
}, },
"userSettings": "Settings", "settings": "Settings",
"userSettings": "User Settings",
"nodes": "Nodes",
"displayStatus": "Show node status", "displayStatus": "Show node status",
"displayConfig": "Configuration nodes", "displayConfig": "Configuration nodes",
"import": "Import", "import": "Import",
"export": "Export", "export": "Export",
"search": "Search flows", "search": "Search flows",
"searchInput": "search your flows",
"clipboard": "Clipboard", "clipboard": "Clipboard",
"library": "Library", "library": "Library",
"examples": "Examples", "examples": "Examples",
@ -61,11 +65,15 @@
"login": "Login", "login": "Login",
"logout": "Logout", "logout": "Logout",
"editPalette":"Manage palette", "editPalette":"Manage palette",
"showTips": "Show tips" "other": "Other",
"showTips": "Show tips",
"help": "Node-RED website"
} }
}, },
"user": { "user": {
"loggedInAs": "Logged in as __name__", "loggedInAs": "Logged in as __name__",
"username": "Username",
"password": "Password",
"login": "Login", "login": "Login",
"loginFailed": "Login failed", "loginFailed": "Login failed",
"notAuthorized": "Not authorized" "notAuthorized": "Not authorized"
@ -145,6 +153,7 @@
"improperlyConfigured": "The workspace contains some nodes that are not properly configured:", "improperlyConfigured": "The workspace contains some nodes that are not properly configured:",
"unknown": "The workspace contains some unknown node types:", "unknown": "The workspace contains some unknown node types:",
"confirm": "Are you sure you want to deploy?", "confirm": "Are you sure you want to deploy?",
"doNotWarn": "do not warn about this again",
"conflict": "The server is running a more recent set of flows.", "conflict": "The server is running a more recent set of flows.",
"backgroundUpdate": "The flows on the server have been updated.", "backgroundUpdate": "The flows on the server have been updated.",
"conflictChecking": "Checking to see if the changes can be merged automatically", "conflictChecking": "Checking to see if the changes can be merged automatically",
@ -155,6 +164,8 @@
"diff": { "diff": {
"unresolvedCount": "__count__ unresolved conflict", "unresolvedCount": "__count__ unresolved conflict",
"unresolvedCount_plural": "__count__ unresolved conflicts", "unresolvedCount_plural": "__count__ unresolved conflicts",
"globalNodes": "Global nodes",
"flowProperties": "Flow Properties",
"type": { "type": {
"added": "added", "added": "added",
"changed": "changed", "changed": "changed",
@ -210,7 +221,13 @@
}, },
"keyboard": { "keyboard": {
"title": "Keyboard Shortcuts", "title": "Keyboard Shortcuts",
"keyboard": "Keyboard",
"filterActions": "filter actions",
"shortcut": "shortcut",
"scope": "scope",
"unassigned": "Unassigned", "unassigned": "Unassigned",
"global": "global",
"workspace": "workspace",
"selectAll": "Select all nodes", "selectAll": "Select all nodes",
"selectAllConnected": "Select all connected nodes", "selectAllConnected": "Select all connected nodes",
"addRemoveNode": "Add/remove node from selection", "addRemoveNode": "Add/remove node from selection",
@ -275,6 +292,7 @@
}, },
"editor": { "editor": {
"title": "Manage palette", "title": "Manage palette",
"palette": "Palette",
"times": { "times": {
"seconds": "seconds ago", "seconds": "seconds ago",
"minutes": "minutes ago", "minutes": "minutes ago",
@ -353,16 +371,24 @@
"sidebar": { "sidebar": {
"info": { "info": {
"name": "Node information", "name": "Node information",
"tabName": "Name",
"label": "info", "label": "info",
"node": "Node", "node": "Node",
"type": "Type", "type": "Type",
"id": "ID", "id": "ID",
"status": "Status",
"enabled": "Enabled",
"disabled": "Disabled",
"subflow": "Subflow", "subflow": "Subflow",
"instances": "Instances", "instances": "Instances",
"properties": "Properties", "properties": "Properties",
"info": "Information", "info": "Information",
"blank": "blank", "blank": "blank",
"null": "null", "null": "null",
"showMore": "show more",
"showLess": "show less",
"flow": "Flow",
"information": "Information",
"arrayItems": "__count__ items", "arrayItems": "__count__ items",
"showTips":"You can open the tips from the settings panel" "showTips":"You can open the tips from the settings panel"
}, },
@ -389,6 +415,7 @@
"re": "regular expression", "re": "regular expression",
"bool": "boolean", "bool": "boolean",
"json": "JSON", "json": "JSON",
"bin": "buffer",
"date": "timestamp" "date": "timestamp"
} }
}, },

View File

@ -29,6 +29,7 @@
"label": { "label": {
"view": { "view": {
"view": "表示", "view": "表示",
"grid": "グリッド",
"showGrid": "グリッドを表示", "showGrid": "グリッドを表示",
"snapGrid": "ノードの配置を補助", "snapGrid": "ノードの配置を補助",
"gridSize": "グリッドの大きさ", "gridSize": "グリッドの大きさ",
@ -41,12 +42,15 @@
"sidebar": { "sidebar": {
"show": "サイドバーを表示" "show": "サイドバーを表示"
}, },
"userSettings": "設定", "settings": "設定",
"userSettings": "ユーザ設定",
"nodes": "ノード",
"displayStatus": "ノードの状態を表示", "displayStatus": "ノードの状態を表示",
"displayConfig": "ノードの設定", "displayConfig": "ノードの設定",
"import": "読み込み", "import": "読み込み",
"export": "書き出し", "export": "書き出し",
"search": "ノードを検索", "search": "ノードを検索",
"searchInput": "ノードを検索",
"clipboard": "クリップボード", "clipboard": "クリップボード",
"library": "ライブラリ", "library": "ライブラリ",
"examples": "サンプル", "examples": "サンプル",
@ -61,11 +65,15 @@
"login": "ログイン", "login": "ログイン",
"logout": "ログアウト", "logout": "ログアウト",
"editPalette": "パレットの管理", "editPalette": "パレットの管理",
"showTips": "ヒントを表示" "other": "その他",
"showTips": "ヒントを表示",
"help": "Node-REDウェブサイト"
} }
}, },
"user": { "user": {
"loggedInAs": "__name__ としてログインしました", "loggedInAs": "__name__ としてログインしました",
"username": "ユーザ名",
"password": "パスワード",
"login": "ログイン", "login": "ログイン",
"loginFailed": "ログインに失敗しました", "loginFailed": "ログインに失敗しました",
"notAuthorized": "権限がありません" "notAuthorized": "権限がありません"
@ -75,7 +83,7 @@
"warnings": { "warnings": {
"undeployedChanges": "ノードの変更をデプロイしていません", "undeployedChanges": "ノードの変更をデプロイしていません",
"nodeActionDisabled": "ノードのアクションは、サブフロー内で無効になっています", "nodeActionDisabled": "ノードのアクションは、サブフロー内で無効になっています",
"missing-types": "不明なノードが存在するため、フローを停止しました。詳細はログを確認してください", "missing-types": "不明なノードが存在するため、フローを停止しました。詳細はログを確認してください",
"restartRequired": "更新されたモジュールを有効化するため、Node-REDを再起動する必要があります" "restartRequired": "更新されたモジュールを有効化するため、Node-REDを再起動する必要があります"
}, },
"error": "<strong>エラー</strong>: __message__", "error": "<strong>エラー</strong>: __message__",
@ -85,7 +93,7 @@
"lostConnectionTry": "すぐに接続", "lostConnectionTry": "すぐに接続",
"cannotAddSubflowToItself": "サブフロー自身を追加できません", "cannotAddSubflowToItself": "サブフロー自身を追加できません",
"cannotAddCircularReference": "循環参照を検出したため、サブフローを追加できません", "cannotAddCircularReference": "循環参照を検出したため、サブフローを追加できません",
"unsupportedVersion": "サポートされていないバージョンのNode.jsを使用しています。<br/>最新のNode.js LTSに更新してください" "unsupportedVersion": "サポートされていないバージョンのNode.jsを使用しています。<br/>最新のNode.js LTSに更新してください"
} }
}, },
"clipboard": { "clipboard": {
@ -144,6 +152,7 @@
"improperlyConfigured": "以下のノードは、正しくプロパティが設定されていません:", "improperlyConfigured": "以下のノードは、正しくプロパティが設定されていません:",
"unknown": "ワークスペースに未知の型のノードがあります。", "unknown": "ワークスペースに未知の型のノードがあります。",
"confirm": "このままデプロイしても良いですか?", "confirm": "このままデプロイしても良いですか?",
"doNotWarn": "この警告を再度表示しない",
"conflict": "フローを編集している間に、他のブラウザがフローをデプロイしました。デプロイを継続すると、他のブラウザがデプロイしたフローが削除されます。", "conflict": "フローを編集している間に、他のブラウザがフローをデプロイしました。デプロイを継続すると、他のブラウザがデプロイしたフローが削除されます。",
"backgroundUpdate": "サーバ上のフローが更新されました", "backgroundUpdate": "サーバ上のフローが更新されました",
"conflictChecking": "変更を自動的にマージしてよいか確認してください。", "conflictChecking": "変更を自動的にマージしてよいか確認してください。",
@ -154,6 +163,8 @@
"diff": { "diff": {
"unresolvedCount": "未解決の衝突 __count__", "unresolvedCount": "未解決の衝突 __count__",
"unresolvedCount_plural": "未解決の衝突 __count__", "unresolvedCount_plural": "未解決の衝突 __count__",
"globalNodes": "グローバルノード",
"flowProperties": "フロープロパティ",
"type": { "type": {
"added": "追加", "added": "追加",
"changed": "変更", "changed": "変更",
@ -166,8 +177,8 @@
}, },
"nodeCount": "ノード数 __count__", "nodeCount": "ノード数 __count__",
"nodeCount_plural": "ノード数 __count__", "nodeCount_plural": "ノード数 __count__",
"local": "ローカル", "local": "ローカルの変更",
"remote": "リモート" "remote": "リモートの変更"
}, },
"subflow": { "subflow": {
"editSubflow": "フローのテンプレートを編集: __name__", "editSubflow": "フローのテンプレートを編集: __name__",
@ -208,7 +219,13 @@
}, },
"keyboard": { "keyboard": {
"title": "キーボードショートカット", "title": "キーボードショートカット",
"keyboard": "キーボード",
"filterActions": "動作を検索",
"shortcut": "ショートカット",
"scope": "範囲",
"unassigned": "未割当", "unassigned": "未割当",
"global": "グローバル",
"workspace": "ワークスペース",
"selectAll": "全てのノードを選択", "selectAll": "全てのノードを選択",
"selectAllConnected": "接続された全てのノードを選択", "selectAllConnected": "接続された全てのノードを選択",
"addRemoveNode": "ノードの選択、選択解除", "addRemoveNode": "ノードの選択、選択解除",
@ -234,8 +251,8 @@
"exportToLibrary": "ライブラリへフローを書き出す", "exportToLibrary": "ライブラリへフローを書き出す",
"dialogSaveOverwrite": "__libraryName__ という __libraryType__ は既に存在しています 上書きしますか?", "dialogSaveOverwrite": "__libraryName__ という __libraryType__ は既に存在しています 上書きしますか?",
"invalidFilename": "不正なファイル名", "invalidFilename": "不正なファイル名",
"savedNodes": "保存されたノード", "savedNodes": "フローを保存しました",
"savedType": "保存された __type__", "savedType": "__type__ を保存しました",
"saveFailed": "保存に失敗しました: __message__", "saveFailed": "保存に失敗しました: __message__",
"filename": "ファイル名", "filename": "ファイル名",
"folder": "フォルダ", "folder": "フォルダ",
@ -271,6 +288,7 @@
}, },
"editor": { "editor": {
"title": "パレットの管理", "title": "パレットの管理",
"palette": "パレット",
"times": { "times": {
"seconds": "秒前", "seconds": "秒前",
"minutes": "分前", "minutes": "分前",
@ -312,12 +330,12 @@
"sortRecent": "日付順", "sortRecent": "日付順",
"more": "+ さらに __count__ 個", "more": "+ さらに __count__ 個",
"errors": { "errors": {
"catalogLoadFailed": "ノードのカタログの読み込みに失敗しました<br>詳細はブラウザのコンソールを確認してください", "catalogLoadFailed": "ノードのカタログの読み込みに失敗しました<br>詳細はブラウザのコンソールを確認してください",
"installFailed": "追加処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください", "installFailed": "追加処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください",
"removeFailed": "削除処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください", "removeFailed": "削除処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください",
"updateFailed": "更新処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください", "updateFailed": "更新処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください",
"enableFailed": "有効化処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください", "enableFailed": "有効化処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください",
"disableFailed": "無効化処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください" "disableFailed": "無効化処理が失敗しました: __module__<br>__message__<br>詳細はログを確認してください"
}, },
"confirm": { "confirm": {
"install": { "install": {
@ -347,16 +365,24 @@
"sidebar": { "sidebar": {
"info": { "info": {
"name": "ノードの情報を表示", "name": "ノードの情報を表示",
"tabName": "名前",
"label": "情報", "label": "情報",
"node": "ノード", "node": "ノード",
"type": "型", "type": "型",
"id": "ID", "id": "ID",
"status": "状態",
"enabled": "有効",
"disabled": "無効",
"subflow": "サブフロー", "subflow": "サブフロー",
"instances": "インスタンス", "instances": "インスタンス",
"properties": "プロパティ", "properties": "プロパティ",
"info": "情報", "info": "情報",
"blank": "ブランク", "blank": "ブランク",
"null": "ヌル", "null": "ヌル",
"showMore": "さらに表示",
"showLess": "表示を省略",
"flow": "フロー",
"information": "情報",
"arrayItems": "__count__ 要素", "arrayItems": "__count__ 要素",
"showTips": "設定からヒントを表示できます" "showTips": "設定からヒントを表示できます"
}, },
@ -383,6 +409,7 @@
"re": "正規表現", "re": "正規表現",
"bool": "真偽", "bool": "真偽",
"json": "JSON", "json": "JSON",
"bin": "バッファ",
"date": "日時" "date": "日時"
} }
}, },