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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user