1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-30 11:05:57 +02:00

TranslatableString for titles, and spin control and combo prompts

This commit is contained in:
Paul Licameli
2019-12-22 18:14:40 -05:00
parent 707a069712
commit acd1158e1b
19 changed files with 103 additions and 88 deletions

View File

@@ -1051,13 +1051,13 @@ int ExportFFmpeg::AskResample(int bitrate, int rate, int lowrate, int highrate,
{
S.AddTitle(
(bitrate == 0
? wxString::Format(
_("The project sample rate (%d) is not supported by the current output\nfile format. "),
rate)
: wxString::Format(
_("The project sample rate (%d) and bit rate (%d kbps) combination is not\nsupported by the current output file format. "),
rate, bitrate/1024))
+ _("You may resample to one of the rates below.")
? XO(
"The project sample rate (%d) is not supported by the current output\nfile format. ")
.Format( rate )
: XO(
"The project sample rate (%d) and bit rate (%d kbps) combination is not\nsupported by the current output file format. ")
.Format( rate, bitrate/1024))
+ XO("You may resample to one of the rates below.")
);
}
S.EndHorizontalLay();