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

Merge branch 'dev' into dev

This commit is contained in:
Nick O'Leary 2022-11-07 23:16:14 +00:00 committed by GitHub
commit 3b27fb2aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

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

View File

@ -684,7 +684,8 @@
"globalConfig": "グローバル設定ノード", "globalConfig": "グローバル設定ノード",
"triggerAction": "アクションを実行", "triggerAction": "アクションを実行",
"find": "ワークスペース内を検索", "find": "ワークスペース内を検索",
"copyItemUrl": "要素のURLをコピー" "copyItemUrl": "要素のURLをコピー",
"copyURL2Clipboard": "URLをクリップボードにコピーしました"
}, },
"help": { "help": {
"name": "ヘルプ", "name": "ヘルプ",
@ -1348,6 +1349,8 @@
"show-project-settings": "プロジェクト設定を表示", "show-project-settings": "プロジェクト設定を表示",
"show-version-control-tab": "バージョンコントロールタブを表示", "show-version-control-tab": "バージョンコントロールタブを表示",
"start-flows": "フローを開始", "start-flows": "フローを開始",
"stop-flows": "フローを停止" "stop-flows": "フローを停止",
"copy-item-url": "要素のURLをコピー",
"copy-item-edit-url": "要素の編集URLをコピー"
} }
} }

View File

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