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

i18n item URL copy notification & add Japanese message

This commit is contained in:
Hiroyasu Nishiyama 2022-11-07 15:47:19 +09:00 committed by Nick O'Leary
parent 8af81280d9
commit 5b0be986c6
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
3 changed files with 5 additions and 3 deletions

View File

@ -690,7 +690,8 @@
"globalConfig": "Global Configuration Nodes",
"triggerAction": "Trigger action",
"find": "Find in workspace",
"copyItemUrl": "Copy item url"
"copyItemUrl": "Copy item url",
"copyURL2Clipboard": "Copied url to clipboard"
},
"help": {
"name": "Help",

View File

@ -683,7 +683,8 @@
"empty": "空",
"globalConfig": "グローバル設定ノード",
"triggerAction": "アクションを実行",
"find": "ワークスペース内を検索"
"find": "ワークスペース内を検索",
"copyURL2Clipboard": "URLをクリップボードにコピーしました"
},
"help": {
"name": "ヘルプ",

View File

@ -1242,7 +1242,7 @@ RED.view.tools = (function() {
url += '/edit'
}
if (RED.clipboard.copyText(url)) {
RED.notify('Copied url to clipboard', { timeout: 2000 })
RED.notify(RED._("sidebar.info.copyURL2Clipboard"), { timeout: 2000 })
}
}
}