Skip to content

Commit

Permalink
Merge pull request #9283 from radinamatic/add-ukrainian-locale
Browse files Browse the repository at this point in the history
Ukrainian locale and translations ready to fly! 🎉
  • Loading branch information
radinamatic committed Apr 12, 2022
2 parents 657b5ce + 4d58b3e commit 19fff9a
Show file tree
Hide file tree
Showing 81 changed files with 8,074 additions and 1,924 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ kolibrihome_test/

# Translations
kolibri/locale/**/LC_MESSAGES/*.csv
kolibri/locale/en/LC_MESSAGES/profiles/*

# Mr Developer
.mr.developer.cfg
Expand Down
6 changes: 6 additions & 0 deletions kolibri/core/assets/src/utils/intl-locale-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ module.exports = function(locale) {
resolve(() => require('intl/locale-data/jsonp/te.js'));
});
});
case 'uk':
return new Promise(function(resolve) {
require.ensure(['intl/locale-data/jsonp/uk.js'], function(require) {
resolve(() => require('intl/locale-data/jsonp/uk.js'));
});
});
case 'ur-pk':
return new Promise(function(resolve) {
require.ensure(['intl/locale-data/jsonp/ur-PK.js'], function(require) {
Expand Down
1 change: 1 addition & 0 deletions kolibri/core/assets/src/utils/vue-intl-locale-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = function() {
data.push(require('vue-intl/locale-data/pt.js'));
data.push(require('vue-intl/locale-data/sw.js'));
data.push(require('vue-intl/locale-data/te.js'));
data.push(require('vue-intl/locale-data/uk.js'));
data.push(require('vue-intl/locale-data/ur.js'));
data.push(require('vue-intl/locale-data/vi.js'));
data.push(require('vue-intl/locale-data/yo.js'));
Expand Down
3,831 changes: 1,976 additions & 1,855 deletions kolibri/core/static/assets/fonts/noto-common.css

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions kolibri/core/static/assets/fonts/noto-full.uk.basic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

/*
* This is an auto-generated file, so any manual edits will be overridden.
*
* To regenerate, see instructions here:
* https://kolibri-dev.readthedocs.io/en/develop/references/i18n.html
*
* This file was generated by build_tools/i18n/fonts.py
*/

@font-face {
font-family: 'noto-full';
src: url('noto-full.NotoSans.400.woff') format('woff');
font-style: normal;
font-weight: normal;
unicode-range: U+0,U+D,U+20-7E,U+A0-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3E1,U+3F0-52F,U+1AB0-1AC0,U+1C80-1C88,U+1D00-1DF9,U+1DFB-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-2064,U+2066-2071,U+2074-208E,U+2090-209C,U+20A0-20BF,U+20F0,U+2100-215F,U+2184,U+2189,U+25CC,U+2C60-2C7F,U+2DE0-2E52,U+A640-A69F,U+A700-A7BF,U+A7C2-A7CA,U+A7F5-A7FF,U+A92E,U+AB30-AB6B,U+FB00-FB06,U+FE00,U+FE20-FE2F,U+FEFF,U+FFFC-FFFD;
font-display: swap;
}

@font-face {
font-family: 'noto-full';
src: url('noto-full.NotoSans.700.woff') format('woff');
font-style: normal;
font-weight: bold;
unicode-range: U+0,U+D,U+20-7E,U+A0-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3E1,U+3F0-52F,U+1AB0-1AC0,U+1C80-1C88,U+1D00-1DF9,U+1DFB-1F15,U+1F18-1F1D,U+1F20-1F45,U+1F48-1F4D,U+1F50-1F57,U+1F59,U+1F5B,U+1F5D,U+1F5F-1F7D,U+1F80-1FB4,U+1FB6-1FC4,U+1FC6-1FD3,U+1FD6-1FDB,U+1FDD-1FEF,U+1FF2-1FF4,U+1FF6-1FFE,U+2000-2064,U+2066-2071,U+2074-208E,U+2090-209C,U+20A0-20BF,U+20F0,U+2100-215F,U+2184,U+2189,U+25CC,U+2C60-2C7F,U+2DE0-2E52,U+A640-A69F,U+A700-A7BF,U+A7C2-A7CA,U+A7F5-A7FF,U+A92E,U+AB30-AB6B,U+FB00-FB06,U+FE00,U+FE20-FE2F,U+FEFF,U+FFFC-FFFD;
font-display: swap;
}

0 comments on commit 19fff9a

Please sign in to comment.