Skip to content
Snippets Groups Projects
Commit 7739f3ab authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

use translation string for clipboard pasting prompt

parent 0b6f60c5
No related branches found
No related tags found
No related merge requests found
......@@ -243,6 +243,7 @@
"devtools_tt": "Show the DevTools window (for debugging)"
},
"canvas": {
"paste_clipboard_prompt": "Warning: you are about to paste Pd code that came from somewhere outside of Pd. Do you want to continue?",
"save_dialog": {
"yes": "Yes",
"yes_tt": "Write the changes to file before closing the patch",
......
......@@ -64,7 +64,7 @@ function might_be_a_pd_file(stuff_from_clipboard) {
}
function permission_to_paste_from_external_clipboard() {
return global.confirm("Warning: you are about to paste Pd code that came from somewhere outside of Pd. Do you want to continue?");
return global.confirm(l("canvas.paste_clipboard_prompt"));
}
function nw_window_focus_callback() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment