1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Substitute, don't concatenate, when composing localized strings...

... Avoid English syntax bias.
This commit is contained in:
Paul Licameli
2018-01-03 20:47:56 -05:00
parent fa7f1a455b
commit def1d52505
20 changed files with 127 additions and 87 deletions

View File

@@ -603,7 +603,8 @@ void LabelDialog::OnImport(wxCommandEvent & WXUNUSED(event))
// Get at the data
f.Open(fileName);
if (!f.IsOpened()) {
AudacityMessageBox(_("Could not open file: ") + fileName);
AudacityMessageBox(
wxString::Format( _("Could not open file: %s"), fileName ));
}
else {
// Create a temporary label track and load the labels
@@ -671,7 +672,8 @@ void LabelDialog::OnExport(wxCommandEvent & WXUNUSED(event))
#endif
f.Open();
if (!f.IsOpened()) {
AudacityMessageBox(_("Couldn't write to file: ") + fName);
AudacityMessageBox(
wxString::Format( _("Couldn't write to file: %s"), fName ) );
return;
}