diff --git a/XBMC Remote/ShowInfoViewController.m b/XBMC Remote/ShowInfoViewController.m index ea02af96e..d2a56b621 100644 --- a/XBMC Remote/ShowInfoViewController.m +++ b/XBMC Remote/ShowInfoViewController.m @@ -388,6 +388,7 @@ - (void)showActionSheet { } - (void)actionSheetHandler:(NSString*)actiontitle { + NSString *resumeKey = [LOCALIZED_STR(@"Resume from %@") stringByReplacingOccurrencesOfString:@"%@" withString:@""]; if ([actiontitle isEqualToString:LOCALIZED_STR(@"Queue after current")]) { [self addQueueAfterCurrent:YES]; } @@ -401,7 +402,7 @@ - (void)actionSheetHandler:(NSString*)actiontitle { [actiontitle isEqualToString:LOCALIZED_STR(@"Stop Recording")]) { [self recordChannel]; } - else if ([actiontitle rangeOfString:LOCALIZED_STR(@"Resume from")].location != NSNotFound) { + else if ([actiontitle rangeOfString:resumeKey].location != NSNotFound) { [self resumePlayback]; } else if ([actiontitle isEqualToString:LOCALIZED_STR(@"Play Trailer")]) { diff --git a/XBMC Remote/en.lproj/Localizable.strings b/XBMC Remote/en.lproj/Localizable.strings index 7a85c90d4..4bbc53b7e 100644 --- a/XBMC Remote/en.lproj/Localizable.strings +++ b/XBMC Remote/en.lproj/Localizable.strings @@ -98,7 +98,6 @@ "OK" = "OK"; "Cancel" = "Cancel"; "Resume from %@" = "Resume from %@"; -"Resume from" = "Resume from"; "First aired on %@" = "First aired on %@"; "Episodes: %@" = "Episodes: %@"; "1 result" = "1 result";