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

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", "unexpected": "An unexpected error occurred",
"code": "code" "code": "code"
} }
},
"editor-tab": {
"properties": "@Properties",
"description": "@Description",
"appearance": "@Appearance"
} }
} }

View File

@ -881,5 +881,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() {
@ -2061,8 +2061,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"
}; };
@ -2071,8 +2071,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() {
@ -2084,8 +2084,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() {