1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 08:06:32 +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

@@ -245,10 +245,11 @@ void ScreenshotCommand::Capture(const wxString &filename,
// Save the final image
wxImage image = part.ConvertToImage();
if (image.SaveFile(filename)) {
mOutput->Status(_("Saved ") + filename);
mOutput->Status( wxString::Format( _("Saved %s"), filename ) );
}
else {
mOutput->Error(_("Error trying to save file: ") + filename);
mOutput->Error(
wxString::Format( _("Error trying to save file: %s"), filename ) );
}
::wxBell();