From 6c8fc4846b5d4c710168d158a85ca9b8ee6774c3 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Wed, 11 Jul 2018 15:33:25 +0900 Subject: [PATCH] Fix i18n bugs in projects --- editor/js/ui/projects/projects.js | 2 +- nodes/core/locales/ja/messages.json | 5 ++--- red/api/editor/locales/en-US/editor.json | 3 +-- red/api/editor/locales/ja/editor.json | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/editor/js/ui/projects/projects.js b/editor/js/ui/projects/projects.js index 9a98ed05a..e35cfb4b6 100644 --- a/editor/js/ui/projects/projects.js +++ b/editor/js/ui/projects/projects.js @@ -622,7 +622,7 @@ RED.projects = (function() { }, 400: { 'project_exists': function(error) { - console.log(RED._("projects.clone-project.already-exists")); + console.log(RED._("projects.clone-project.already-exists2")); }, 'git_error': function(error) { console.log(RED._("projects.clone-project.git-error"),error); diff --git a/nodes/core/locales/ja/messages.json b/nodes/core/locales/ja/messages.json index 921314ea8..e1781d2ef 100644 --- a/nodes/core/locales/ja/messages.json +++ b/nodes/core/locales/ja/messages.json @@ -543,8 +543,7 @@ "port-notset": "udp: ポートが設定されていません", "port-invalid": "udp: ポート番号が不正です", "alreadyused": "udp: 既に__port__番ポートが使用されています", - "ifnotfound": "udp: インターフェイス __iface__ がありません", - "alreadyused": "udp: 既にポートが使用されています" + "ifnotfound": "udp: インターフェイス __iface__ がありません" } }, "switch": { @@ -670,7 +669,7 @@ "label": { "select": "抽出する要素", "output": "出力", - "in": "対象:" + "in": "対象:" }, "output": { "html": "要素内のHTML", diff --git a/red/api/editor/locales/en-US/editor.json b/red/api/editor/locales/en-US/editor.json index 53acebd51..ce18bf6df 100644 --- a/red/api/editor/locales/en-US/editor.json +++ b/red/api/editor/locales/en-US/editor.json @@ -483,7 +483,6 @@ "install": "install", "removeFromProject": "remove from project", "addToProject": "add to project", - "none": "None", "files": "Files", "flow": "Flow", "credentials": "Credentials", @@ -705,7 +704,7 @@ "ssh-key-add": "Add an ssh key", "credential-key": "Credentials encryption key", "cant-get-ssh-key": "Error! Can't get selected SSH key path.", - "already-exists": "already exists", + "already-exists2": "already exists", "git-error": "git error", "connection-failed": "Connection failed", "not-git-repo": "Not a git repository", diff --git a/red/api/editor/locales/ja/editor.json b/red/api/editor/locales/ja/editor.json index e884ec842..ab715bace 100644 --- a/red/api/editor/locales/ja/editor.json +++ b/red/api/editor/locales/ja/editor.json @@ -691,7 +691,7 @@ "ssh-key-add": "SSHキーの追加", "credential-key": "認証情報の暗号化キー", "cant-get-ssh-key": "エラー! 選択したSSHキーのパスを取得できません。", - "already-exists": "既に存在します", + "already-exists2": "既に存在します", "git-error": "Gitエラー", "connection-failed": "接続に失敗しました", "not-git-repo": "Gitリポジトリではありません",