1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 00:29:41 +02:00

Fix two typos for translated strings, now that strings are unfrozen...

... See commit 97fba037a43ef57ecedc89ac24846a639caaca98.
This commit is contained in:
Paul Licameli 2020-04-19 16:09:44 -04:00
parent 24f27da9b7
commit d22b650e6a
2 changed files with 2 additions and 8 deletions

View File

@ -261,11 +261,7 @@ void LV2EffectSettingsDialog::PopulateOrExchange(ShuttleGui &S)
{
wxTextCtrl *t;
t = S.TieNumericTextBox(
// Typo fix of extra ) to be removed after 2.4.0
((XO("&Buffer Size (8 to %d) samples):").Translation()==
"&Buffer Size (8 to %d) samples):")?
XO("&Buffer Size (8 to %d samples):"):
XO("&Buffer Size (8 to %d) samples):"))
XO("&Buffer Size (8 to %d) samples:")
.Format( DEFAULT_BLOCKSIZE ),
mBufferSize,
12);

View File

@ -77,10 +77,8 @@
namespace {
// Typo fix of kpbs to be removed after 2.4.0
// i18n-hint kbps abbreviates "thousands of bits per second"
inline TranslatableString n_kbps( int n ) { return
((XO("%d kpbs").Translation()=="%d kpbs")?XO("%d kbps"):XO("%d kpbs")).Format( n ); }
inline TranslatableString n_kbps( int n ) { return XO("%d kbps").Format( n ); }
const TranslatableStrings BitRateNames {
n_kbps(16),