]> granicus.if.org Git - handbrake/commitdiff
MacGui: Use the 00:00:00 format for all the time strings.
authorDamiano Galassi <damiog@gmail.com>
Fri, 15 Feb 2019 07:48:48 +0000 (08:48 +0100)
committerDamiano Galassi <damiog@gmail.com>
Fri, 15 Feb 2019 07:48:48 +0000 (08:48 +0100)
macosx/HBStateFormatter.m

index 9d39d29b21d6d7e5cfef87b87498c93f79c02242..584be2537c3aad99077245330a7cb6a707752333 100644 (file)
@@ -37,7 +37,7 @@
 
             if (p.seconds > -1)
             {
-                [string appendFormat:HBKitLocalizedString(@" (ETA %02dh%02dm%02ds)", @"HBStateFormatter -> search time format"), p.hours, p.minutes, p.seconds];
+                [string appendFormat:HBKitLocalizedString(@" (ETA %02d:%02d:%02d)", @"HBStateFormatter -> search time format"), p.hours, p.minutes, p.seconds];
             }
 
             break;
                 if (p.rate_cur > 0.0)
                 {
                     [string appendFormat:
-                     HBKitLocalizedString(@" (%.2f fps, avg %.2f fps, ETA %02dh%02dm%02ds)", @"HBStateFormatter -> work time format"),
+                     HBKitLocalizedString(@" (%.2f fps, avg %.2f fps, ETA %02d:%02d:%02d)", @"HBStateFormatter -> work time format"),
                      p.rate_cur, p.rate_avg, p.hours, p.minutes, p.seconds];
                 }
                 else
                 {
                     [string appendFormat:
-                     HBKitLocalizedString(@" (ETA %02dh%02dm%02ds)", @"HBStateFormatter -> work time format"),
+                     HBKitLocalizedString(@" (ETA %02d:%02d:%02d)", @"HBStateFormatter -> work time format"),
                      p.hours, p.minutes, p.seconds];
                 }
             }