mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-16 15:41:11 +02:00
Two typo fixes for translated strings.
The extra logic causes the new string to be used, if the old one is untranslated.
This commit is contained in:
@@ -77,8 +77,10 @@
|
||||
|
||||
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").Format( n ); }
|
||||
inline TranslatableString n_kbps( int n ) { return
|
||||
((XO("%d kpbs").Translation()=="%d kpbs")?XO("%d kbps"):XO("%d kpbs")).Format( n ); }
|
||||
|
||||
const TranslatableStrings BitRateNames {
|
||||
n_kbps(16),
|
||||
|
Reference in New Issue
Block a user