Browse Source

Merge pull request #1447 from OskarsPakers/develop

feat: #1405 Latvian language support
pull/1449/head
Raju Udava 3 years ago committed by GitHub
parent
commit
58089f7de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/nc-gui/components/utils/language.vue
  2. 1
      packages/nc-gui/plugins/i18n.js
  3. 1
      packages/noco-i18n/src/components/Landing.vue
  4. 25
      scripts/cypress/integration/common/6d_language_validation.js

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

@ -49,6 +49,7 @@ export default {
it_IT: 'Italiano',
ja: '日本語',
ko: '한국인',
lv: 'Latviešu',
nl: 'Nederlandse',
ru: 'Pусский',
zh_CN: '大陆简体',

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

@ -29,6 +29,7 @@ export default ({ app, store }) => {
id: require("~/lang/id.json"),
it_IT: require("~/lang/it_IT.json"),
ko: require("~/lang/ko.json"),
lv: require('~/lang/lv.json'),
nl: require("~/lang/nl.json"),
ru: require("~/lang/ru.json"),
sv: require("~/lang/sv.json"),

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

@ -33,6 +33,7 @@
<option value="nl">Nederlandse</option>
<option value="ja">日本語</option>
<option value="ko">한국인</option>
<option value="lv">Latviešu</option>
<option value="ru">Pусский</option>
<option value="id">Bahasa Indonesia</option>
<option value="zh_CN">大陆简体</option>

25
scripts/cypress/integration/common/6d_language_validation.js

@ -56,18 +56,19 @@ export const genTest = (apiType, dbType) => {
langVerification(9, "iw.json");
langVerification(10, "ja.json");
langVerification(11, "ko.json");
langVerification(12, "nl.json");
langVerification(13, "no.json");
langVerification(14, "pt_BR.json");
langVerification(15, "ru.json");
langVerification(16, "sl.json");
langVerification(17, "sv.json");
langVerification(18, "th.json");
langVerification(19, "uk.json");
langVerification(20, "vi.json");
langVerification(21, "zh_CN.json");
langVerification(22, "zh_HK.json");
langVerification(23, "zh_TW.json");
langVerification(12, "lv.json");
langVerification(13, "nl.json");
langVerification(14, "no.json");
langVerification(15, "pt_BR.json");
langVerification(16, "ru.json");
langVerification(17, "sl.json");
langVerification(18, "sv.json");
langVerification(19, "th.json");
langVerification(20, "uk.json");
langVerification(21, "vi.json");
langVerification(22, "zh_CN.json");
langVerification(23, "zh_HK.json");
langVerification(24, "zh_TW.json");
});
};

Loading…
Cancel
Save