1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3452 from thornbill/update-other-library-label

Update mixed library label
This commit is contained in:
Bill Thornton 2022-02-23 11:03:13 -05:00 committed by GitHub
commit a2cd79745f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -87,12 +87,11 @@ import template from './mediaLibraryCreator.template.html';
if (index != -1) {
const name = this.options[index].innerHTML.replace('*', '').replace('&', '&');
$('#txtValue', dlg).val(name);
const folderOption = collectionTypeOptions.filter(i => {
return i.value == value;
})[0];
$('.collectionTypeFieldDescription', dlg).html(folderOption.message || '');
}
}
const folderOption = collectionTypeOptions.find(i => i.value === value);
$('.collectionTypeFieldDescription', dlg).html(folderOption?.message || '');
});
page.querySelector('.btnAddFolder').addEventListener('click', onAddButtonClick);
page.querySelector('.btnSubmit').addEventListener('click', onAddLibrary);

View file

@ -242,7 +242,7 @@ import cardBuilder from '../../components/cardbuilder/cardBuilder';
name: globalize.translate('MusicVideos'),
value: 'musicvideos'
}, {
name: globalize.translate('Other'),
name: globalize.translate('MixedMoviesShows'),
value: 'mixed',
message: globalize.translate('MessageUnsetContentHelp')
}];

View file

@ -1095,6 +1095,7 @@
"MillisecondsUnit": "ms",
"MinutesAfter": "minutes after",
"MinutesBefore": "minutes before",
"MixedMoviesShows": "Mixed Movies and Shows",
"Mixer": "Mixer",
"Mobile": "Mobile",
"Monday": "Monday",