Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Prateek Mishra
purr-data
Commits
7739f3ab
Commit
7739f3ab
authored
9 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Patches
Plain Diff
use translation string for clipboard pasting prompt
parent
0b6f60c5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pd/nw/locales/en/translation.json
+1
-0
1 addition, 0 deletions
pd/nw/locales/en/translation.json
pd/nw/pd_canvas.js
+1
-1
1 addition, 1 deletion
pd/nw/pd_canvas.js
with
2 additions
and
1 deletion
pd/nw/locales/en/translation.json
+
1
−
0
View file @
7739f3ab
...
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
pd/nw/pd_canvas.js
+
1
−
1
View file @
7739f3ab
...
...
@@ -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
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment