diff --git a/pd/nw/locales/en/translation.json b/pd/nw/locales/en/translation.json
index d842be70ba9d8a1a59f8b2c0eda04a83d89bf55d..c5bfcd4cd107399f693099e4429ede0838a41ae2 100644
--- a/pd/nw/locales/en/translation.json
+++ b/pd/nw/locales/en/translation.json
@@ -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",
diff --git a/pd/nw/pd_canvas.js b/pd/nw/pd_canvas.js
index 2437392cfea90f7343d1d0ba7b4eb1beced8b7d3..374d96eb66b7717feb24eff437b912fc9330bfa9 100644
--- a/pd/nw/pd_canvas.js
+++ b/pd/nw/pd_canvas.js
@@ -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() {