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

Add Japanese translations for Node-RED v1.3

This commit is contained in:
Kazuhito Yokoi 2021-04-08 20:06:35 +09:00
parent 41a0147938
commit a157580b22
6 changed files with 8 additions and 4 deletions

View File

@ -44,7 +44,8 @@
"loadNodes": "Loading Nodes __count__",
"loadFlows": "Loading Flows",
"importFlows": "Adding Flows to workspace",
"importError": "<p>Error adding flows</p><p>__message__</p>"
"importError": "<p>Error adding flows</p><p>__message__</p>",
"loadingProject": "Loading project"
},
"workspace": {
"defaultName": "Flow __number__",

View File

@ -44,7 +44,8 @@
"loadNodes": "ノードを読み込み中 __count__",
"loadFlows": "フローを読み込み中",
"importFlows": "ワークスペースにフローを追加中",
"importError": "<p>フロー追加エラー</p><p>__message__</p>"
"importError": "<p>フロー追加エラー</p><p>__message__</p>",
"loadingProject": "プロジェクトを読み込み中"
},
"workspace": {
"defaultName": "フロー __number__",

View File

@ -281,7 +281,7 @@ var RED = (function() {
return;
}
if (notificationId === "project-update") {
loader.start("Loading project",0)
loader.start(RED._("event.loadingProject"), 0);
RED.nodes.clear();
RED.history.clear();
RED.view.redraw(true);

View File

@ -98,7 +98,7 @@ module.exports = function(RED) {
node.libs = n.libs || [];
if (RED.settings.functionExternalModules !== true && node.libs.length > 0) {
throw new Error("Function node not allowed to load external modules");
throw new Error(RED._("function.error.externalModuleNotAllowed"));
}
var handleNodeDoneCall = true;

View File

@ -225,6 +225,7 @@
"module": "module"
},
"error": {
"externalModuleNotAllowed": "Function node not allowed to load external modules",
"moduleNotAllowed": "Module __module__ not allowed",
"moduleLoadError": "Failed to load module __module__: __error__",
"moduleNameError": "Invalid module variable name: __name__",

View File

@ -225,6 +225,7 @@
"module": "モジュール"
},
"error": {
"externalModuleNotAllowed": "Functionのードは、外部モジュールを読み込みできません",
"moduleNotAllowed": "モジュール __module__ は利用できません",
"moduleLoadError": "モジュール __module__ の読み込みに失敗しました: __error__",
"moduleNameError": "モジュール変数名が不正です: __name__",