summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-17 13:11:15 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-17 13:11:15 +0000
commite6610e6ad83b29a349fb2383a6f2f789a372f7b0 (patch)
treee810d8d43ef824054711b34efbf9d5931aef3732
parente8978c6fdedd12c385eb8486794e14286d751d5d (diff)
i18n fixes from alexander prokoudine (#5016)
git-svn-id: svn://localhost/ardour2/branches/3.0@13050 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/export_file_notebook.cc4
-rw-r--r--gtk2_ardour/tempo_dialog.cc6
-rw-r--r--libs/ardour/export_profile_manager.cc2
3 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/export_file_notebook.cc b/gtk2_ardour/export_file_notebook.cc
index 2d13da32ba..54c0f628c7 100644
--- a/gtk2_ardour/export_file_notebook.cc
+++ b/gtk2_ardour/export_file_notebook.cc
@@ -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
diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc
index 3557727394..b601734bee 100644
--- a/gtk2_ardour/tempo_dialog.cc
+++ b/gtk2_ardour/tempo_dialog.cc
@@ -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());
}
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc
index 6c4f829bb8..4d9413cbce 100644
--- a/libs/ardour/export_profile_manager.cc
+++ b/libs/ardour/export_profile_manager.cc
@@ -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);