mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
code style changes
This commit is contained in:
parent
7f87c4671d
commit
c0c66dea57
3 changed files with 18 additions and 19 deletions
|
@ -1,18 +1,16 @@
|
|||
import globalize from 'globalize';
|
||||
|
||||
/**
|
||||
* Helper for handling settings
|
||||
* Helper for handling settings.
|
||||
* @module components/settingsHelper
|
||||
*/
|
||||
export function populateLanguages(select, languages) {
|
||||
|
||||
export function populateLanguages(select, languages) {
|
||||
let html = '';
|
||||
|
||||
html += "<option value=''>" + globalize.translate('AnyLanguage') + '</option>';
|
||||
|
||||
for (let i = 0, length = languages.length; i < length; i++) {
|
||||
|
||||
const culture = languages[i];
|
||||
|
||||
html += "<option value='" + culture.ThreeLetterISOLanguageName + "'>" + culture.DisplayName + '</option>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue