From 4cb67f83a7cdac29f72c188971b090f14982d77e Mon Sep 17 00:00:00 2001 From: Olivier HUMBERT Date: Wed, 28 Dec 2022 15:54:13 +0100 Subject: [PATCH] Make some string translatable --- gtk2_ardour/audio_trigger_properties_box.cc | 2 +- gtk2_ardour/editor_ops.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/audio_trigger_properties_box.cc b/gtk2_ardour/audio_trigger_properties_box.cc index 67d2919c1d..1c1594d780 100644 --- a/gtk2_ardour/audio_trigger_properties_box.cc +++ b/gtk2_ardour/audio_trigger_properties_box.cc @@ -234,7 +234,7 @@ AudioTriggerPropertiesBox::on_trigger_changed (const PBD::PropertyChange& pc) sprintf(buf, "%3.2f", at->segment_tempo ()); _abpm_label.set_text (buf); - ArdourWidgets::set_tooltip (_abpm_label, string_compose ("Clip Tempo, used for stretching. Estimated tempo (from file) was: %1", trigger->estimated_tempo ())); + ArdourWidgets::set_tooltip (_abpm_label, string_compose (_("Clip Tempo, used for stretching. Estimated tempo (from file) was: %1"), trigger->estimated_tempo ())); int beats = round(at->segment_beatcnt()); diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 68392be790..764a05d8da 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -8252,7 +8252,7 @@ edit your ardour.rc file to set the\n\ } if (ntracks > 0) { - prompt += "\n" + string_compose ("(You may also lose the playlists associated with the %1)", trackstr) + "\n"; + prompt += "\n" + string_compose (_("You may also lose the playlists associated with the %1"), trackstr) + "\n"; } prompt += "\n" + string(_("This action cannot be undone, and the session file will be overwritten!"));