Fix the charging time estimate to say “minutes” after the number of minutes, just like the battery time estimate does.
authorPeter Hosey
Tue May 05 01:18:18 2009 -0700 (2009-05-05)
changeset 420762367bdaaf88
parent 4206 3d99d21e344a
child 4208 10d1c49d4df1
child 4220 c2f6adaf90b7
Fix the charging time estimate to say “minutes” after the number of minutes, just like the battery time estimate does.
Extras/HardwareGrowler/AppController.m
Extras/HardwareGrowler/English.lproj/Localizable.strings
Extras/HardwareGrowler/fr.lproj/Localizable.strings
Extras/HardwareGrowler/nl.lproj/Localizable.strings
Extras/HardwareGrowler/pt_BR.lproj/Localizable.strings
Extras/HardwareGrowler/ru.lproj/Localizable.strings
Extras/HardwareGrowler/sv.lproj/Localizable.strings
     1.1 --- a/Extras/HardwareGrowler/AppController.m	Tue May 05 01:07:59 2009 -0700
     1.2 +++ b/Extras/HardwareGrowler/AppController.m	Tue May 05 01:18:18 2009 -0700
     1.3 @@ -548,7 +548,7 @@
     1.4  		if (isCharging == kCFBooleanTrue) {
     1.5  			[description appendString:NSLocalizedString(@"Battery charging...", nil)];
     1.6  			if (haveBatteryTime || haveBatteryPercentage) [description appendString:@"\n"];
     1.7 -			if (haveBatteryTime) [description appendFormat:NSLocalizedString(@"Time to charge: %i", nil), batteryTime];
     1.8 +			if (haveBatteryTime) [description appendFormat:NSLocalizedString(@"Time to charge: %i minutes", nil), batteryTime];
     1.9  			if (haveBatteryTime && haveBatteryPercentage) [description appendString:@"\n"];
    1.10  			if (haveBatteryPercentage) [description appendFormat:NSLocalizedString(@"Current charge: %d%%", nil), batteryPercentage];
    1.11  			imageData = powerACChargingIcon();
     2.1 --- a/Extras/HardwareGrowler/English.lproj/Localizable.strings	Tue May 05 01:07:59 2009 -0700
     2.2 +++ b/Extras/HardwareGrowler/English.lproj/Localizable.strings	Tue May 05 01:18:18 2009 -0700
     2.3 @@ -134,7 +134,7 @@
     2.4  "Time remaining: %i minutes" = "Time remaining: %i minutes";
     2.5  
     2.6  /* No comment provided by engineer. */
     2.7 -"Time to charge: %i" = "Time to charge: %i";
     2.8 +"Time to charge: %i minutes" = "Time to charge: %i minutes";
     2.9  
    2.10  /* No comment provided by engineer. */
    2.11  "Unnamed FireWire Device" = "Unnamed FireWire Device";
     3.1 --- a/Extras/HardwareGrowler/fr.lproj/Localizable.strings	Tue May 05 01:07:59 2009 -0700
     3.2 +++ b/Extras/HardwareGrowler/fr.lproj/Localizable.strings	Tue May 05 01:18:18 2009 -0700
     3.3 @@ -134,7 +134,7 @@
     3.4  "Time remaining: %i minutes" = "Temps restant : %i minutes";
     3.5  
     3.6  /* No comment provided by engineer. */
     3.7 -"Time to charge: %i" = "Temps de recharge : %i minutes";
     3.8 +"Time to charge: %i minutes" = "Temps de recharge : %i minutes";
     3.9  
    3.10  /* No comment provided by engineer. */
    3.11  "Unnamed FireWire Device" = "Périphérique FireWire inconnu";
     4.1 --- a/Extras/HardwareGrowler/nl.lproj/Localizable.strings	Tue May 05 01:07:59 2009 -0700
     4.2 +++ b/Extras/HardwareGrowler/nl.lproj/Localizable.strings	Tue May 05 01:18:18 2009 -0700
     4.3 @@ -131,7 +131,7 @@
     4.4  "Time remaining: %i minutes" = "Resterende tijd: %i minuten";
     4.5  
     4.6  /* No comment provided by engineer. */
     4.7 -"Time to charge: %i" = "Resterende oplaadtijd: %i";
     4.8 +"Time to charge: %i minutes" = "Resterende oplaadtijd: %i";
     4.9  
    4.10  /* No comment provided by engineer. */
    4.11  "Unnamed FireWire Device" = "Naamloos FireWire-apparaat";
     5.1 --- a/Extras/HardwareGrowler/pt_BR.lproj/Localizable.strings	Tue May 05 01:07:59 2009 -0700
     5.2 +++ b/Extras/HardwareGrowler/pt_BR.lproj/Localizable.strings	Tue May 05 01:18:18 2009 -0700
     5.3 @@ -134,7 +134,7 @@
     5.4  "Time remaining: %i minutes" = "Tempo restante: %i minutos";
     5.5  
     5.6  /* No comment provided by engineer. */
     5.7 -"Time to charge: %i" = "Tempo para recarregar: %i";
     5.8 +"Time to charge: %i minutes" = "Tempo para recarregar: %i";
     5.9  
    5.10  /* No comment provided by engineer. */
    5.11  "Unnamed FireWire Device" = "Dispositivo FireWire Sem nome";
     6.1 --- a/Extras/HardwareGrowler/ru.lproj/Localizable.strings	Tue May 05 01:07:59 2009 -0700
     6.2 +++ b/Extras/HardwareGrowler/ru.lproj/Localizable.strings	Tue May 05 01:18:18 2009 -0700
     6.3 @@ -134,7 +134,7 @@
     6.4  "Time remaining: %i minutes" = "Осталось: %i мин.";
     6.5  
     6.6  /* No comment provided by engineer. */
     6.7 -"Time to charge: %i" = "До зарядки: %i";
     6.8 +"Time to charge: %i minutes" = "До зарядки: %i";
     6.9  
    6.10  /* No comment provided by engineer. */
    6.11  "Unnamed FireWire Device" = "Безымянное устройство firewire";
     7.1 --- a/Extras/HardwareGrowler/sv.lproj/Localizable.strings	Tue May 05 01:07:59 2009 -0700
     7.2 +++ b/Extras/HardwareGrowler/sv.lproj/Localizable.strings	Tue May 05 01:18:18 2009 -0700
     7.3 @@ -131,7 +131,7 @@
     7.4  "Time remaining: %i minutes" = "Tid kvar: %i minuter";
     7.5  
     7.6  /* No comment provided by engineer. */
     7.7 -"Time to charge: %i" = "Laddningstid: %i";
     7.8 +"Time to charge: %i minutes" = "Laddningstid: %i";
     7.9  
    7.10  /* No comment provided by engineer. */
    7.11  "Unnamed FireWire Device" = "Namnlös FireWire-enhet";