refactor: Align existing string to Android app

This commit is contained in:
Andrea Busi
2021-04-15 07:31:06 +02:00
parent 71f4331551
commit cd169696be
6 changed files with 187 additions and 201 deletions
@@ -92,8 +92,9 @@
{
NSDate *now = [NSDate date];
NSTimeInterval difference = MAX([self.userSeismicTimestamp timeIntervalSinceDate:now], 0);
NSInteger seconds = (int)lround(difference);
self.waveLabel.text = [NSString stringWithFormat:@"%@ %.0f %@", NSLocalizedString(@"alert_wave", @""), difference, NSLocalizedString(@"alert_seconds", @"")];
self.waveLabel.text = [NSString stringWithFormat:NSLocalizedString(@"alert_wave", @""), seconds];
if (difference <= 0) {
// stop the countdown