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

OSO: add missing l10n

parent 645bb15a
......@@ -40,7 +40,7 @@
NSString *selectedLocale = [defaults stringForKey:kVLCSettingLastUsedSubtitlesSearchLanguage];
if (!selectedLocale) {
NSString *preferredLanguage = [[NSLocale preferredLanguages] firstObject];
/* we may receive 'en_GB' so strip that to 'en' */
/* we may receive 'en-GB' so strip that to 'en' */
if ([preferredLanguage containsString:@"-"]) {
preferredLanguage = [[preferredLanguage componentsSeparatedByString:@"-"] firstObject];
}
......@@ -167,7 +167,7 @@
if (section == 0)
return @"";
return @"Found items";
return NSLocalizedString(@"FOUND_SUBS", nil);
}
#pragma mark - table view delegate
......@@ -227,7 +227,6 @@
{
[_activityIndicatorView stopAnimating];
self.tableView.userInteractionEnabled = YES;
}
@end
......@@ -86,7 +86,7 @@
- (void)downloadMoreSPU
{
VLCPlaybackInfoSubtitlesFetcherViewController *targetViewController = [[VLCPlaybackInfoSubtitlesFetcherViewController alloc] initWithNibName:nil bundle:nil];
targetViewController.title = @"Download subtitles from OpenSubtitles.org...";;
targetViewController.title = NSLocalizedString(@"DOWNLOAD_SUBS_FROM_OSO", nil);
[self presentViewController:targetViewController
animated:YES
completion:nil];
......
......@@ -308,6 +308,8 @@
"HTTP_SERVER_OFF"="Enable Remote Playback";
"CACHED_MEDIA"="Cached Media";
"CACHED_MEDIA_LONG"="Media shown here is stored locally on your Apple TV. Note that contents can be removed by the operating system without prior notice anytime when VLC is not running in case your device runs out of storage.";
"DOWNLOAD_SUBS_FROM_OSO"="Download subtitles from OpenSubtitles.org...";
"FOUND_SUBS"="Found subtitles";
// Local Network Service Names
"UPNP_LONG"="Universal Plug'n'Play (UPnP)";
......
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