i18n fixes from alexander prokoudine (#5016)
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 17 Jul 2012 13:11:15 +0000 (13:11 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 17 Jul 2012 13:11:15 +0000 (13:11 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13050 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/export_file_notebook.cc
gtk2_ardour/tempo_dialog.cc
libs/ardour/export_profile_manager.cc

index 2d13da32ba108264b92f3d6351cbae6fbaad8e5e..54c0f628c7cf6fabad1d95bce3175aaa0310c088 100644 (file)
@@ -252,7 +252,7 @@ ExportFileNotebook::FilePage::get_format_name () const
        if (format_state && format_state->format) {
                return format_state->format->name();
        }
-       return "No format!";
+       return _("No format!");
 }
 
 void
@@ -264,7 +264,7 @@ ExportFileNotebook::FilePage::save_format_to_manager (FormatPtr format)
 void
 ExportFileNotebook::FilePage::update_tab_label ()
 {
-       tab_label.set_text (string_compose ("Format %1: %2", tab_number, get_format_name()));
+       tab_label.set_text (string_compose (_("Format %1: %2"), tab_number, get_format_name()));
 }
 
 void
index 3557727394daddc6595ed3fa5829126644d4cffa..b601734beeae4ee4a442d547ad63d287f3e72e0e 100644 (file)
@@ -52,7 +52,7 @@ TempoDialog::TempoDialog (TempoMap& map, framepos_t frame, const string&)
 }
 
 TempoDialog::TempoDialog (TempoSection& section, const string&)
-       : ArdourDialog ("Edit Tempo")
+       : ArdourDialog (_("Edit Tempo"))
        , bpm_adjustment (60.0, 1.0, 999.9, 0.1, 1.0)
        , bpm_spinner (bpm_adjustment)
        , when_bar_label (_("bar:"), ALIGN_LEFT, ALIGN_CENTER)
@@ -252,7 +252,7 @@ TempoDialog::pulse_change ()
 
 
 MeterDialog::MeterDialog (TempoMap& map, framepos_t frame, const string&)
-       : ArdourDialog ("New Meter")
+       : ArdourDialog (_("New Meter"))
 {
        Timecode::BBT_Time when;
        frame = map.round_to_bar(frame,0);
@@ -263,7 +263,7 @@ MeterDialog::MeterDialog (TempoMap& map, framepos_t frame, const string&)
 }
 
 MeterDialog::MeterDialog (MeterSection& section, const string&)
-       : ArdourDialog ("Edit Meter")
+       : ArdourDialog (_("Edit Meter"))
 {
        init (section.start(), section.divisions_per_bar(), section.note_divisor(), section.movable());
 }
index 6c4f829bb89fca383e02a54fc106cd93fac7a9ec..4d9413cbce1329f3fa02627e9bdcc2e7e2fc3e7c 100644 (file)
@@ -613,7 +613,7 @@ ExportProfileManager::get_new_format (ExportFormatSpecPtr original)
                format.reset (new ExportFormatSpecification (*original));
        } else {
                format = handler->add_format();
-               format->set_name ("empty format");
+               format->set_name (_("empty format"));
        }
 
        std::string path = save_format_to_disk (format);