1
0
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:
Paul Licameli
2020-05-20 12:38:44 -04:00
parent 6286772049
commit f8a070dde7
7 changed files with 13 additions and 12 deletions

View File

@@ -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 );