Prechádzať zdrojové kódy

VLCMovieViewController: Update sleep timer strings

Signed-off-by: Carola Nitz <nitz.carola@googlemail.com>
Soomin Lee 7 rokov pred
rodič
commit
6185958755

+ 2 - 0
Resources/en.lproj/Localizable.strings

@@ -65,6 +65,8 @@
 "BUTTON_LEARN_MORE" = "Learn More";
 "BUTTON_LOGOUT" = "Logout";
 "BUTTON_CONTINUE" = "Continue";
+"BUTTON_SET" = "Set";
+"BUTTON_RESET" = "Reset";
 "PRIVATE_PLAYBACK_TOGGLE" = "Private Playback";
 "SCAN_SUBTITLE_TOGGLE" = "Scan for Subtitles (http-only)";
 

+ 2 - 2
Sources/VLCMovieViewController.m

@@ -571,7 +571,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
 
     UIButton *cancelSleepTimer = [[UIButton alloc] initWithFrame:CGRectMake(0., 162., 150., 48.)];
     cancelSleepTimer.backgroundColor = [UIColor clearColor];
-    [cancelSleepTimer setTitle:NSLocalizedString(@"BUTTON_CANCEL", nil) forState:UIControlStateNormal];
+    [cancelSleepTimer setTitle:NSLocalizedString(@"BUTTON_RESET", nil) forState:UIControlStateNormal];
     [cancelSleepTimer setTintColor:[UIColor VLCLightTextColor]];
     [cancelSleepTimer setTitleColor:[UIColor VLCDarkTextShadowColor] forState:UIControlStateHighlighted];
     [cancelSleepTimer addTarget:self action:@selector(sleepTimerCancel:) forControlEvents:UIControlEventTouchDown];
@@ -580,7 +580,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
 
     UIButton *confirmSleepTimer = [[UIButton alloc] initWithFrame:CGRectMake(150., 162., 150., 48.)];
     confirmSleepTimer.backgroundColor = [UIColor clearColor];
-    [confirmSleepTimer setTitle:NSLocalizedString(@"BUTTON_DONE", nil) forState:UIControlStateNormal];
+    [confirmSleepTimer setTitle:NSLocalizedString(@"BUTTON_SET", nil) forState:UIControlStateNormal];
     [confirmSleepTimer setTintColor:[UIColor VLCLightTextColor]];
     [confirmSleepTimer setTitleColor:[UIColor VLCDarkTextShadowColor] forState:UIControlStateHighlighted];
     [confirmSleepTimer addTarget:self action:@selector(sleepTimerAction:) forControlEvents:UIControlEventTouchDown];