Skip to content

Commit

Permalink
Merge pull request #3946 from node-red-hitachi/i18n-item-url-copy-not…
Browse files Browse the repository at this point in the history
…ification

i18n item URL copy notification & add Japanese message
  • Loading branch information
knolleary committed Nov 7, 2022
2 parents 8a3ad33 + b95df6d commit 3390134
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@
"empty": "",
"globalConfig": "グローバル設定ノード",
"triggerAction": "アクションを実行",
"find": "ワークスペース内を検索"
"find": "ワークスペース内を検索",
"copyURL2Clipboard": "URLをクリップボードにコピーしました"
},
"help": {
"name": "ヘルプ",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,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 })
}
}
}
Expand Down

0 comments on commit 3390134

Please sign in to comment.