Commit cee7085f authored by Felix Paul Kühne's avatar Felix Paul Kühne

Deduplicate strings

parent aa7675ae
B"CHOOSE_AUDIO_TRACK"="Choose Audio Track";
......
......@@ -282,7 +282,7 @@
NSString *scheme = url.scheme;
if ([scheme isEqualToString:@"http"] || [scheme isEqualToString:@"https"] || [scheme isEqualToString:@"ftp"]) {
VLCAlertView *alert = [[VLCAlertView alloc] initWithTitle:NSLocalizedString(@"OPEN_STREAM_OR_DOWNLOAD", nil) message:url.absoluteString cancelButtonTitle:NSLocalizedString(@"BUTTON_DOWNLOAD", nil) otherButtonTitles:@[NSLocalizedString(@"BUTTON_PLAY", nil)]];
VLCAlertView *alert = [[VLCAlertView alloc] initWithTitle:NSLocalizedString(@"OPEN_STREAM_OR_DOWNLOAD", nil) message:url.absoluteString cancelButtonTitle:NSLocalizedString(@"BUTTON_DOWNLOAD", nil) otherButtonTitles:@[NSLocalizedString(@"PLAY_BUTTON", nil)]];
alert.completion = ^(BOOL cancelled, NSInteger buttonIndex) {
if (cancelled)
[self downloadMovieFromURL:url fileNameOfMedia:nil];
......
......@@ -27,7 +27,7 @@
self.repeatLabel.text = NSLocalizedString(@"FIRST_STEPS_REPEAT", nil);
self.subtitlesLabel.text = NSLocalizedString(@"FIRST_STEPS_SUBTITLES", nil);
self.audioLabel.text = NSLocalizedString(@"FIRST_STEPS_AUDIO", nil);
self.volumeLabel.text = NSLocalizedString(@"FIRST_STEPS_VOLUME", nil);
self.volumeLabel.text = NSLocalizedString(@"VOLUME", nil);
self.positionLabel.text = NSLocalizedString(@"FIRST_STEPS_POSITION", nil);
self.effectsLabel.text = NSLocalizedString(@"VIDEO_FILTER", nil);
}
......
......@@ -472,7 +472,7 @@
NSString *message = [NSString stringWithFormat:@"%@ (%@)\naudio(%@) video(%@)", mediaSize, durationInSeconds, audioCodec, videoCodec];
NSString *summary = [NSString stringWithFormat:@"%@", [[ObjList objectAtIndex:0] objectForKey:@"summary"]];
VLCAlertView *alertView = [[VLCAlertView alloc] initWithTitle:title message:message cancelButtonTitle:NSLocalizedString(@"BUTTON_CANCEL", nil) otherButtonTitles:@[NSLocalizedString(@"BUTTON_PLAY", nil), NSLocalizedString(@"BUTTON_DOWNLOAD", nil)]];
VLCAlertView *alertView = [[VLCAlertView alloc] initWithTitle:title message:message cancelButtonTitle:NSLocalizedString(@"BUTTON_CANCEL", nil) otherButtonTitles:@[NSLocalizedString(@"PLAY_BUTTON", nil), NSLocalizedString(@"BUTTON_DOWNLOAD", nil)]];
if (![summary isEqualToString:@""]) {
UITextView *textView = [[UITextView alloc] initWithFrame:alertView.bounds];
textView.text = summary;
......
......@@ -27,8 +27,8 @@
[super awakeWithContext:context];
self.title = NSLocalizedString(@"DETAIL", nil);
self.playNowButton.accessibilityLabel = NSLocalizedString(@"PLAY_NOW", nil);
self.titleLabel.accessibilityLabel = NSLocalizedString(@"TITLE_LABEL", nil);
self.durationLabel.accessibilityLabel = NSLocalizedString(@"DURATION_LABEL", nil);
self.titleLabel.accessibilityLabel = NSLocalizedString(@"TITLE", nil);
self.durationLabel.accessibilityLabel = NSLocalizedString(@"DURATION", nil);
[self addNowPlayingMenu];
[self configureWithFile:context];
......
......@@ -44,9 +44,9 @@
[self setTitle:NSLocalizedString(@"PLAYING", nil)];
self.skipBackwardButton.accessibilityLabel = NSLocalizedString(@"BWD_BUTTON", nil);
self.skipForwardButton.accessibilityLabel = NSLocalizedString(@"FWD_BUTTON", nil);
self.volumeSlider.accessibilityLabel = NSLocalizedString(@"VOLUME_SLIDER", nil);
self.durationLabel.accessibilityLabel = NSLocalizedString(@"DURATION_LABEL", nil);
self.titleLabel.accessibilityLabel = NSLocalizedString(@"TITLE_LABEL", nil);
self.volumeSlider.accessibilityLabel = NSLocalizedString(@"VOLUME", nil);
self.durationLabel.accessibilityLabel = NSLocalizedString(@"DURATION", nil);
self.titleLabel.accessibilityLabel = NSLocalizedString(@"TITLE", nil);
[self setPlaying:YES];
......
......@@ -13,9 +13,9 @@
"PLAY_BUTTON"="Play";
"PAUSE_BUTTON"="Pause";
"VOLUME_SLIDER"="Volume";
"DURATION_LABEL"="Duration";
"TITLE_LABEL"="Title";
"VOLUME"="Volume";
"DURATION"="Duration";
"TITLE"="Title";
// accessibility labels for the playlist
"OBJECT_TYPE_SHOW"="Show";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment