Commit 7739f3ab authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

use translation string for clipboard pasting prompt

parent 0b6f60c5
......@@ -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() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment