mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Rename macro wxPLURAL as XP (brief, and eliminates mention of "wx")
This commit is contained in:
@@ -1044,9 +1044,9 @@ TranslatableString ProjectManager::GetHoursMinsString(int iMinutes)
|
||||
int iHours = iMinutes / 60;
|
||||
int iMins = iMinutes % 60;
|
||||
|
||||
auto sHours = wxPLURAL( "%d hour", "%d hours", 0 )( iHours );
|
||||
auto sHours = XP( "%d hour", "%d hours", 0 )( iHours );
|
||||
|
||||
auto sMins = wxPLURAL( "%d minute", "%d minutes", 0 )( iMins );
|
||||
auto sMins = XP( "%d minute", "%d minutes", 0 )( iMins );
|
||||
|
||||
/* i18n-hint: A time in hours and minutes. Only translate the "and". */
|
||||
return XO("%s and %s.").Format( sHours, sMins );
|
||||
|
||||
Reference in New Issue
Block a user