Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
b12a70fe
Commit
b12a70fe
authored
Nov 26, 2015
by
Felix Paul Kühne
Browse files
OSO: show language code if the OS doesn't know what the language is called
parent
ca056a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Apple-TV/Playback/Playback Info/VLCPlaybackInfoSubtitlesFetcherViewController.m
View file @
b12a70fe
...
...
@@ -155,7 +155,8 @@
}
else
{
NSString
*
selectedLocale
=
[[
NSUserDefaults
standardUserDefaults
]
objectForKey
:
kVLCSettingLastUsedSubtitlesSearchLanguage
];
cell
.
textLabel
.
text
=
NSLocalizedString
(
@"LANGUAGE"
,
nil
);
cell
.
detailTextLabel
.
text
=
[[
selectedLocale
twoLetterLanguageKeyForThreeLetterCode
]
localizedLanguageNameForTwoLetterCode
];
NSString
*
detail
=
[[
selectedLocale
twoLetterLanguageKeyForThreeLetterCode
]
localizedLanguageNameForTwoLetterCode
];
cell
.
detailTextLabel
.
text
=
detail
?
detail
:
selectedLocale
;
cell
.
accessoryType
=
UITableViewCellAccessoryDisclosureIndicator
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment