summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-05-22 20:47:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-05-22 20:47:21 +0000
commit4df8531289667f738b7bf225c7c5d909def5d16e (patch)
tree4fa83ab6249d8dbdbb393a43da3fc49cc86cb58d /gtk2_ardour
parent2761f899c583c10e443c9fc9d52108d372502d50 (diff)
another translation fix for silly gendered-noun languages :)
git-svn-id: svn://localhost/ardour2/branches/3.0@9568 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/ardour_ui.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 40e88c6986..3864a2b583 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -883,15 +883,14 @@ ARDOUR_UI::ask_about_saving_session (const vector<string>& actions)
noquit_button.set_name ("EditorGTKButton");
string prompt;
- string type;
if (_session->snap_name() == _session->name()) {
- type = _("session");
+ prompt = string_compose(_("The session \"%1\"\nhas not been saved.\n\nAny changes made this time\nwill be lost unless you save it.\n\nWhat do you want to do?"),
+ _session->snap_name());
} else {
- type = _("snapshot");
+ prompt = string_compose(_("The snapshot \"%1\"\nhas not been saved.\n\nAny changes made this time\nwill be lost unless you save it.\n\nWhat do you want to do?"),
+ _session->snap_name());
}
- prompt = string_compose(_("The %1 \"%2\"\nhas not been saved.\n\nAny changes made this time\nwill be lost unless you save it.\n\nWhat do you want to do?"),
- type, _session->snap_name());
prompt_label.set_text (prompt);
prompt_label.set_name (X_("PrompterLabel"));