1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 19:21:59 +01:00

Fixed more internationalisation hints.

This commit is contained in:
james.k.crook@gmail.com
2012-03-20 15:36:02 +00:00
parent 4403da58ff
commit 69476e785c
21 changed files with 178 additions and 27 deletions

View File

@@ -150,12 +150,15 @@ wxString Internat::FormatSize(double size)
if (size < 1024.0)
sizeStr = ToDisplayString(size) + wxT(" ") + _("bytes");
else if (size < 1024.0 * 1024.0) {
/* i18n-hint: Abbreviation for Kilo bytes */
sizeStr = ToDisplayString(size / 1024.0, 1) + wxT(" ") + _("KB");
}
else if (size < 1024.0 * 1024.0 * 1024.0) {
/* i18n-hint: Abbreviation for Mega bytes */
sizeStr = ToDisplayString(size / (1024.0 * 1024.0), 1) + wxT(" ") + _("MB");
}
else {
/* i18n-hint: Abbreviation for Giga bytes */
sizeStr = ToDisplayString(size / (1024.0 * 1024.0 * 1024.0), 1) + wxT(" ") + _("GB");
}
}