mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Cleanup of localization file generation logic.
This commit is contained in:
parent
ed7bb31f07
commit
2988f1b2f8
3 changed files with 3 additions and 10138 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,9 +12,11 @@
|
||||||
/images
|
/images
|
||||||
/locale/*
|
/locale/*
|
||||||
/po/de.po
|
/po/de.po
|
||||||
|
/po/fr.po
|
||||||
/po/it.po
|
/po/it.po
|
||||||
/po/pl.po
|
/po/pl.po
|
||||||
/po/ru.po
|
/po/ru.po
|
||||||
|
/po/pt_BR.po
|
||||||
/tests/individually-importing/*.py
|
/tests/individually-importing/*.py
|
||||||
/tests/unit-generated/*.py
|
/tests/unit-generated/*.py
|
||||||
PySolFC-Cardsets--Minimal-2.0.*
|
PySolFC-Cardsets--Minimal-2.0.*
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ pot:
|
||||||
|
|
||||||
mo:
|
mo:
|
||||||
set -e; \
|
set -e; \
|
||||||
for lang in ru de pl it pt_BR; do \
|
for lang in de fr pl it ru pt_BR; do \
|
||||||
mkdir -p locale/$${lang}/LC_MESSAGES; \
|
mkdir -p locale/$${lang}/LC_MESSAGES; \
|
||||||
msgcat --use-first po/$${lang}_games.po po/$${lang}_pysol.po > po/$${lang}.po; \
|
msgcat --use-first po/$${lang}_games.po po/$${lang}_pysol.po > po/$${lang}.po; \
|
||||||
msgfmt --check -o locale/$${lang}/LC_MESSAGES/pysol.mo po/$${lang}.po; \
|
msgfmt --check -o locale/$${lang}/LC_MESSAGES/pysol.mo po/$${lang}.po; \
|
||||||
|
|
10137
po/pt_BR.po
10137
po/pt_BR.po
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue