i18n & JP message for node config tab

This commit is contained in:
Hiroyasu Nishiyama 2018-11-13 23:29:14 +09:00
parent bfd98f3767
commit 0e902a7e71
3 changed files with 26 additions and 16 deletions

View File

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

View File

@ -881,5 +881,10 @@
"unexpected": "予期しないエラーが発生しました",
"code": "コード"
}
},
"editor-tab": {
"properties": "プロパティ",
"description": "説明",
"appearance": "外観"
}
}

View File

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