1
0
Fork 0
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:
dkanada 2020-06-28 16:36:00 +09:00
parent 7f87c4671d
commit c0c66dea57
3 changed files with 18 additions and 19 deletions

View file

@ -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>';
}