13
0

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) {
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

View 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());
}

View 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);