Add:Croatian language #1103

This commit is contained in:
advplyr 2022-11-12 16:55:42 -06:00
parent ef622108c9
commit cbc2f64e2e
2 changed files with 3 additions and 2 deletions

View File

@ -74,12 +74,12 @@
<div class="py-2">
<p class="px-1 text-sm font-semibold">{{ $strings.LabelSettingsDateFormat }}</p>
<ui-dropdown v-model="newServerSettings.dateFormat" :items="dateFormats" small class="max-w-48" @input="(val) => updateSettingsKey('dateFormat', val)" />
<ui-dropdown v-model="newServerSettings.dateFormat" :items="dateFormats" small class="max-w-52" @input="(val) => updateSettingsKey('dateFormat', val)" />
</div>
<div class="py-2">
<p class="px-1 text-sm font-semibold">{{ $strings.LabelLanguageDefaultServer }}</p>
<ui-dropdown ref="langDropdown" v-model="newServerSettings.language" :items="$languageCodeOptions" small class="max-w-48" @input="updateServerLanguage" />
<ui-dropdown ref="langDropdown" v-model="newServerSettings.language" :items="$languageCodeOptions" small class="max-w-52" @input="updateServerLanguage" />
</div>
</div>

View File

@ -8,6 +8,7 @@ const languageCodeMap = {
'de': 'Deutsch',
'en-us': 'English',
// 'es': 'Español',
'hr': 'Hrvatski',
'it': 'Italiano',
// 'pl': 'Polski',
'zh-cn': '简体中文 (Simplified Chinese)'