projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6bed6
)
Making one string translatable
author
Olivier Humbert
<trebmuh@users.noreply.github.com>
Fri, 2 Dec 2016 19:18:02 +0000
(20:18 +0100)
committer
GitHub
<noreply@github.com>
Fri, 2 Dec 2016 19:18:02 +0000
(20:18 +0100)
It should allow this dialog window to be translatable : http://pix.toile-libre.org/upload/original/
1480706219
.png
I hope this is the correct way to do so. Please double-check what I've done before merging.
gtk2_ardour/ardour_ui_dependents.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_ui_dependents.cc
b/gtk2_ardour/ardour_ui_dependents.cc
index 8490643487ccf6753c35b6909b7baf8f6c26a895..b8d8ad8bfc1b78bb8bf03df0f5fcf021ecfe1de3 100644
(file)
--- a/
gtk2_ardour/ardour_ui_dependents.cc
+++ b/
gtk2_ardour/ardour_ui_dependents.cc
@@
-187,7
+187,7
@@
ARDOUR_UI::idle_ask_about_quit ()
} else {
/* no session or session not dirty, but still ask anyway */
- Gtk::MessageDialog msg (string_compose (
"Quit %1?"
, PROGRAM_NAME),
+ Gtk::MessageDialog msg (string_compose (
_("Quit %1?")
, PROGRAM_NAME),
false, /* no markup */
Gtk::MESSAGE_INFO,
Gtk::BUTTONS_YES_NO,