mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
feat(i18n): Ukrainian
The panel in Ukrainian, the language of the project's founder: a full catalog of its 2610 messages, Ukrainian in the language list, and the CI catalog check, the catalog test and CONTRIBUTING with locale/uk. Unit symbols stay Latin (GiB, MiB/s), as the panel writes them in numbers next to these texts.
This commit is contained in:
parent
fe9ca0231d
commit
f2b6be5fa8
8 changed files with 13459 additions and 8 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -91,8 +91,8 @@ jobs:
|
|||
- name: Check Translation Catalogs
|
||||
if: matrix.python-version == '3.12' && matrix.database == 'sqlite'
|
||||
run: |
|
||||
python manage.py makemessages -l tr -l zh --no-obsolete --ignore=staticfiles -v0
|
||||
for dir in locale/tr/LC_MESSAGES locale/zh/LC_MESSAGES; do
|
||||
python manage.py makemessages -l tr -l zh -l uk --no-obsolete --ignore=staticfiles -v0
|
||||
for dir in locale/tr/LC_MESSAGES locale/zh/LC_MESSAGES locale/uk/LC_MESSAGES; do
|
||||
msgfmt --check -o /tmp/django.mo "$dir/django.po"
|
||||
missing=$(msgattrib --untranslated "$dir/django.po"; msgattrib --only-fuzzy "$dir/django.po")
|
||||
if [ -n "$missing" ]; then echo "$missing"; echo "::error file=$dir/django.po::untranslated or fuzzy messages"; exit 1; fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue