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