Skip to content

Commit

Permalink
Add:Croatian language #1103
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Nov 12, 2022
1 parent ef62210 commit cbc2f64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/pages/config/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
1 change: 1 addition & 0 deletions client/plugins/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const languageCodeMap = {
'de': 'Deutsch',
'en-us': 'English',
// 'es': 'Español',
'hr': 'Hrvatski',
'it': 'Italiano',
// 'pl': 'Polski',
'zh-cn': '简体中文 (Simplified Chinese)'
Expand Down

0 comments on commit cbc2f64

Please sign in to comment.