mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add OriginalLanguage as option to PreferredAudioLanguage
This commit is contained in:
parent
d9b15af124
commit
430044ac91
6 changed files with 7 additions and 0 deletions
|
@ -96,6 +96,7 @@
|
||||||
- [K. Kyle Puchkov](https://github.com/kepper104)
|
- [K. Kyle Puchkov](https://github.com/kepper104)
|
||||||
- [ItsAllAboutTheCode](https://github.com/ItsAllAboutTheCode)
|
- [ItsAllAboutTheCode](https://github.com/ItsAllAboutTheCode)
|
||||||
- [Jxiced](https://github.com/Jxiced)
|
- [Jxiced](https://github.com/Jxiced)
|
||||||
|
- [Lampan-git](https://github.com/Lampan-git)
|
||||||
|
|
||||||
## Emby Contributors
|
## Emby Contributors
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ function populateLanguages(select, languages) {
|
||||||
let html = '';
|
let html = '';
|
||||||
|
|
||||||
html += `<option value=''>${globalize.translate('AnyLanguage')}</option>`;
|
html += `<option value=''>${globalize.translate('AnyLanguage')}</option>`;
|
||||||
|
html += `<option value='OriginalLanguage'>${globalize.translate('OriginalLanguage')}</option>`;
|
||||||
|
|
||||||
for (let i = 0, length = languages.length; i < length; i++) {
|
for (let i = 0, length = languages.length; i < length; i++) {
|
||||||
const culture = languages[i];
|
const culture = languages[i];
|
||||||
|
|
|
@ -9,6 +9,8 @@ export function populateLanguages(select, languages) {
|
||||||
let html = '';
|
let html = '';
|
||||||
|
|
||||||
html += "<option value=''>" + globalize.translate('AnyLanguage') + '</option>';
|
html += "<option value=''>" + globalize.translate('AnyLanguage') + '</option>';
|
||||||
|
html += `<option value=''>${globalize.translate('OriginalLanguage')}</option>`;
|
||||||
|
|
||||||
for (let i = 0, length = languages.length; i < length; i++) {
|
for (let i = 0, length = languages.length; i < length; i++) {
|
||||||
const culture = languages[i];
|
const culture = languages[i];
|
||||||
html += "<option value='" + culture.ThreeLetterISOLanguageName + "'>" + culture.DisplayName + '</option>';
|
html += "<option value='" + culture.ThreeLetterISOLanguageName + "'>" + culture.DisplayName + '</option>';
|
||||||
|
|
|
@ -565,6 +565,7 @@
|
||||||
"OptionAllowAudioPlaybackTranscoding": "Allow audio playback that requires transcoding",
|
"OptionAllowAudioPlaybackTranscoding": "Allow audio playback that requires transcoding",
|
||||||
"OptionAllUsers": "All users",
|
"OptionAllUsers": "All users",
|
||||||
"Option3D": "3D",
|
"Option3D": "3D",
|
||||||
|
"OriginalLanguage": "Original Language",
|
||||||
"OnlyImageFormats": "Only Image Formats (VobSub, PGS, SUB)",
|
"OnlyImageFormats": "Only Image Formats (VobSub, PGS, SUB)",
|
||||||
"OnlyForcedSubtitlesHelp": "Only subtitles marked as forced will be loaded.",
|
"OnlyForcedSubtitlesHelp": "Only subtitles marked as forced will be loaded.",
|
||||||
"Normal": "Normal",
|
"Normal": "Normal",
|
||||||
|
|
|
@ -1305,6 +1305,7 @@
|
||||||
"OptionWeekly": "Weekly",
|
"OptionWeekly": "Weekly",
|
||||||
"OriginalAirDate": "Original Air Date",
|
"OriginalAirDate": "Original Air Date",
|
||||||
"OriginalAirDateValue": "Original air date: {0}",
|
"OriginalAirDateValue": "Original air date: {0}",
|
||||||
|
"OriginalLanguage": "Original Language",
|
||||||
"Other": "Other",
|
"Other": "Other",
|
||||||
"OtherArtist": "Other Artist",
|
"OtherArtist": "Other Artist",
|
||||||
"Overview": "Overview",
|
"Overview": "Overview",
|
||||||
|
|
|
@ -882,6 +882,7 @@
|
||||||
"OptionWeekends": "Helger",
|
"OptionWeekends": "Helger",
|
||||||
"OptionWeekly": "Varje vecka",
|
"OptionWeekly": "Varje vecka",
|
||||||
"OriginalAirDateValue": "Ursprungligt sändningsdatum: {0}",
|
"OriginalAirDateValue": "Ursprungligt sändningsdatum: {0}",
|
||||||
|
"OriginalLanguage": "Orignalspråk",
|
||||||
"Overview": "Översikt",
|
"Overview": "Översikt",
|
||||||
"PackageInstallCancelled": "Installationen av {0} (version {1}) avbröts.",
|
"PackageInstallCancelled": "Installationen av {0} (version {1}) avbröts.",
|
||||||
"PackageInstallCompleted": "Installationen av {0} (version {1}) slutfördes.",
|
"PackageInstallCompleted": "Installationen av {0} (version {1}) slutfördes.",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue