i18n fixes from alexander prokoudine (#5016)

git-svn-id: svn://localhost/ardour2/branches/3.0@13050 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-07-17 13:11:15 +00:00
parent e8978c6fde
commit e6610e6ad8
3 changed files with 6 additions and 6 deletions

View file

@ -252,7 +252,7 @@ ExportFileNotebook::FilePage::get_format_name () const
if (format_state && format_state->format) { if (format_state && format_state->format) {
return format_state->format->name(); return format_state->format->name();
} }
return "No format!"; return _("No format!");
} }
void void
@ -264,7 +264,7 @@ ExportFileNotebook::FilePage::save_format_to_manager (FormatPtr format)
void void
ExportFileNotebook::FilePage::update_tab_label () 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 void

View file

@ -52,7 +52,7 @@ TempoDialog::TempoDialog (TempoMap& map, framepos_t frame, const string&)
} }
TempoDialog::TempoDialog (TempoSection& section, 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_adjustment (60.0, 1.0, 999.9, 0.1, 1.0)
, bpm_spinner (bpm_adjustment) , bpm_spinner (bpm_adjustment)
, when_bar_label (_("bar:"), ALIGN_LEFT, ALIGN_CENTER) , when_bar_label (_("bar:"), ALIGN_LEFT, ALIGN_CENTER)
@ -252,7 +252,7 @@ TempoDialog::pulse_change ()
MeterDialog::MeterDialog (TempoMap& map, framepos_t frame, const string&) MeterDialog::MeterDialog (TempoMap& map, framepos_t frame, const string&)
: ArdourDialog ("New Meter") : ArdourDialog (_("New Meter"))
{ {
Timecode::BBT_Time when; Timecode::BBT_Time when;
frame = map.round_to_bar(frame,0); 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&) MeterDialog::MeterDialog (MeterSection& section, const string&)
: ArdourDialog ("Edit Meter") : ArdourDialog (_("Edit Meter"))
{ {
init (section.start(), section.divisions_per_bar(), section.note_divisor(), section.movable()); init (section.start(), section.divisions_per_bar(), section.note_divisor(), section.movable());
} }

View file

@ -613,7 +613,7 @@ ExportProfileManager::get_new_format (ExportFormatSpecPtr original)
format.reset (new ExportFormatSpecification (*original)); format.reset (new ExportFormatSpecification (*original));
} else { } else {
format = handler->add_format(); format = handler->add_format();
format->set_name ("empty format"); format->set_name (_("empty format"));
} }
std::string path = save_format_to_disk (format); std::string path = save_format_to_disk (format);