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

make new library folder interface i18n ready

This commit is contained in:
Hiroyasu Nishiyama 2019-05-27 13:34:47 +09:00
parent c514d988df
commit 12ce719213
3 changed files with 3 additions and 1 deletions

View File

@ -365,6 +365,7 @@
"savedNodes": "Saved nodes", "savedNodes": "Saved nodes",
"savedType": "Saved __type__", "savedType": "Saved __type__",
"saveFailed": "Save failed: __message__", "saveFailed": "Save failed: __message__",
"newFolder": "New folder",
"types": { "types": {
"local": "Local", "local": "Local",
"examples": "Examples" "examples": "Examples"

View File

@ -356,6 +356,7 @@
"savedNodes": "フローを保存しました", "savedNodes": "フローを保存しました",
"savedType": "__type__ を保存しました", "savedType": "__type__ を保存しました",
"saveFailed": "保存に失敗しました: __message__", "saveFailed": "保存に失敗しました: __message__",
"newFolder": "新規フォルダ",
"types": { "types": {
"examples": "サンプル" "examples": "サンプル"
} }

View File

@ -325,7 +325,7 @@ RED.library = (function() {
var menuOptionMenu = RED.menu.init({id:"red-ui-library-browser-menu", var menuOptionMenu = RED.menu.init({id:"red-ui-library-browser-menu",
options: [ options: [
{id:"red-ui-library-browser-menu-addFolder",label:"New folder", onselect: function() { {id:"red-ui-library-browser-menu-addFolder",label:RED._("library.newFolder"), onselect: function() {
var defaultFolderName = "new-folder"; var defaultFolderName = "new-folder";
var defaultFolderNameMatches = {}; var defaultFolderNameMatches = {};