summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_audio_import.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-23 01:26:33 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-23 01:26:33 +0000
commitdefa1fad942e9a33b8fe3f56b26427af069a1b73 (patch)
treeee04bf6eac6afd01ac0c036cd81a0ac1ae7892cf /gtk2_ardour/editor_audio_import.cc
parentbe8a2e20dcacfc980c8de0341165b0be67ce35fd (diff)
Give titles to Gtkmm2ext::Choice prompts, and do some minor cleanups to prompt text.
git-svn-id: svn://localhost/ardour2/branches/3.0@6394 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_audio_import.cc')
-rw-r--r--gtk2_ardour/editor_audio_import.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_audio_import.cc b/gtk2_ardour/editor_audio_import.cc
index 108dcde7d3..de275f8738 100644
--- a/gtk2_ardour/editor_audio_import.cc
+++ b/gtk2_ardour/editor_audio_import.cc
@@ -596,9 +596,11 @@ Editor::embed_sndfiles (vector<Glib::ustring> paths, bool multifile,
choices.push_back (_("Embed all without questions"));
Gtkmm2ext::Choice rate_choice (
+ _("Sample rate"),
string_compose (_("%1\nThis audiofile's sample rate doesn't match the session sample rate!"),
short_path (path, 40)),
- choices, false);
+ choices, false
+ );
int resx = rate_choice.run ();
@@ -623,8 +625,10 @@ Editor::embed_sndfiles (vector<Glib::ustring> paths, bool multifile,
choices.push_back (_("Embed it anyway"));
Gtkmm2ext::Choice rate_choice (
+ _("Sample rate"),
string_compose (_("%1\nThis audiofile's sample rate doesn't match the session sample rate!"), path),
- choices, false);
+ choices, false
+ );
int resx = rate_choice.run ();