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

Merge pull request #2177 from node-red-hitachi/i18n-library-ui

Update I18n support for library ui
This commit is contained in:
Nick O'Leary 2019-05-27 22:18:00 +01:00 committed by GitHub
commit 1a9d759002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 = {};