Merge pull request #1973 from node-red-hitachi/update-i18n-editor

add i18n & JP message for node config tab
This commit is contained in:
Nick O'Leary 2018-11-14 09:39:55 +00:00 committed by GitHub
commit be0ef6e594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 16 deletions

View File

@ -889,5 +889,10 @@
"unexpected": "An unexpected error occurred", "unexpected": "An unexpected error occurred",
"code": "code" "code": "code"
} }
},
"editor-tab": {
"properties": "Properties",
"description": "Description",
"appearance": "Appearance"
} }
} }

View File

@ -423,6 +423,8 @@
"updated": "更新済", "updated": "更新済",
"install": "ノードを追加", "install": "ノードを追加",
"installed": "追加しました", "installed": "追加しました",
"conflict": "競合",
"conflictTip": "<p>インストール済みのノードの種別と競合しているため<br/>ノードをインストールできません</p><p>競合: <code>__module__</code></p>",
"loading": "カタログを読み込み中", "loading": "カタログを読み込み中",
"tab-nodes": "現在のノード", "tab-nodes": "現在のノード",
"tab-install": "ノードを追加", "tab-install": "ノードを追加",
@ -885,5 +887,10 @@
"unexpected": "予期しないエラーが発生しました", "unexpected": "予期しないエラーが発生しました",
"code": "コード" "code": "コード"
} }
},
"editor-tab": {
"properties": "プロパティ",
"description": "説明",
"appearance": "外観"
} }
} }

View File

@ -1372,8 +1372,8 @@ RED.editor = (function() {
var nodePropertiesTab = { var nodePropertiesTab = {
id: "editor-tab-properties", id: "editor-tab-properties",
label: "Properties", label: RED._("editor-tab.properties"),
name: "Properties", name: RED._("editor-tab.properties"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-cog" iconClass: "fa fa-cog"
}; };
@ -1383,8 +1383,8 @@ RED.editor = (function() {
if (!node._def.defaults || !node._def.defaults.hasOwnProperty('info')) { if (!node._def.defaults || !node._def.defaults.hasOwnProperty('info')) {
var descriptionTab = { var descriptionTab = {
id: "editor-tab-description", id: "editor-tab-description",
label: "Description", label: RED._("editor-tab.description"),
name: "Description", name: RED._("editor-tab.description"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-file-text-o", iconClass: "fa fa-file-text-o",
onchange: function() { onchange: function() {
@ -1397,8 +1397,8 @@ RED.editor = (function() {
var appearanceTab = { var appearanceTab = {
id: "editor-tab-appearance", id: "editor-tab-appearance",
label: "Appearance", label: RED._("editor-tab.appearance"),
name: "Appearance", name: RED._("editor-tab.appearance"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-object-group", iconClass: "fa fa-object-group",
onchange: function() { onchange: function() {
@ -1538,8 +1538,8 @@ RED.editor = (function() {
var nodePropertiesTab = { var nodePropertiesTab = {
id: "editor-tab-cproperties", id: "editor-tab-cproperties",
label: "Properties", label: RED._("editor-tab.properties"),
name: "Properties", name: RED._("editor-tab.properties"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-cog" iconClass: "fa fa-cog"
}; };
@ -1549,8 +1549,8 @@ RED.editor = (function() {
if (!node_def.defaults || !node_def.defaults.hasOwnProperty('info')) { if (!node_def.defaults || !node_def.defaults.hasOwnProperty('info')) {
var descriptionTab = { var descriptionTab = {
id: "editor-tab-description", id: "editor-tab-description",
label: "Description", label: RED._("editor-tab.description"),
name: "Description", name: RED._("editor-tab.description"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-file-text-o", iconClass: "fa fa-file-text-o",
onchange: function() { onchange: function() {
@ -2062,8 +2062,8 @@ RED.editor = (function() {
var nodePropertiesTab = { var nodePropertiesTab = {
id: "editor-tab-properties", id: "editor-tab-properties",
label: "Properties", label: RED._("editor-tab.properties"),
name: "Properties", name: RED._("editor-tab.properties"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-cog" iconClass: "fa fa-cog"
}; };
@ -2072,8 +2072,8 @@ RED.editor = (function() {
var descriptionTab = { var descriptionTab = {
id: "editor-tab-description", id: "editor-tab-description",
label: "Description", label: RED._("editor-tab.description"),
name: "Description", name: RED._("editor-tab.description"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-file-text-o", iconClass: "fa fa-file-text-o",
onchange: function() { onchange: function() {
@ -2085,8 +2085,8 @@ RED.editor = (function() {
var appearanceTab = { var appearanceTab = {
id: "editor-tab-appearance", id: "editor-tab-appearance",
label: "Appearance", label: RED._("editor-tab.appearance"),
name: "Appearance", name: RED._("editor-tab.appearance"),
content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(), content: $('<div>', {class:"editor-tray-content"}).appendTo(editorContent).hide(),
iconClass: "fa fa-object-group", iconClass: "fa fa-object-group",
onchange: function() { onchange: function() {