Browse Source

Add lines to enable Slovenščina. Also update language names in i18n translation tool form.

Signed-off-by: Simon Bohlin <simon.bohlin@tretton37.com>
pull/658/head
Simon Bohlin 3 years ago
parent
commit
9d3ebb5bae
  1. 1
      packages/nc-gui/components/utils/language.vue
  2. 1
      packages/nc-gui/plugins/i18n.js
  3. 5
      packages/noco-i18n/src/components/Landing.vue

1
packages/nc-gui/components/utils/language.vue

@ -60,6 +60,7 @@ export default {
uk: 'Українська', uk: 'Українська',
hr: 'Hrvatski', hr: 'Hrvatski',
th: 'ไทย', th: 'ไทย',
sl: 'Slovenščina',
pt_BR: 'Português (Brasil)' pt_BR: 'Português (Brasil)'
} }
}), }),

1
packages/nc-gui/plugins/i18n.js

@ -40,6 +40,7 @@ export default ({ app, store }) => {
uk: require('~/lang/uk.json'), uk: require('~/lang/uk.json'),
hr: require('~/lang/hr.json'), hr: require('~/lang/hr.json'),
th: require('~/lang/th.json'), th: require('~/lang/th.json'),
sl: require('~/lang/sl.json'),
pt_BR: require('~/lang/pt_BR.json') pt_BR: require('~/lang/pt_BR.json')
} }
}) })

5
packages/noco-i18n/src/components/Landing.vue

@ -28,7 +28,7 @@
<option value="fr">Français</option> <option value="fr">Français</option>
<option value="de">Deutsch</option> <option value="de">Deutsch</option>
<option value="es">Española</option> <option value="es">Española</option>
<option value="pt">Portuguese</option> <option value="pt">Português</option>
<option value="it_IT">Italiano</option> <option value="it_IT">Italiano</option>
<option value="nl">Nederlandse</option> <option value="nl">Nederlandse</option>
<option value="ja">日本語</option> <option value="ja">日本語</option>
@ -47,7 +47,8 @@
<option value="no">Українська</option> <option value="no">Українська</option>
<option value="th">Hrvatski</option> <option value="th">Hrvatski</option>
<option value="uk">ไทย</option> <option value="uk">ไทย</option>
<option value="pl">Polish</option> <option value="pl">Polskie</option>
<option value="sl">Slovenščina</option>
</select> </select>
</div> </div>

Loading…
Cancel
Save