diff options
| author | Lex Neva <github.com@lexneva.name> | 2023-02-18 22:24:58 -0500 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2023-02-20 15:27:56 -0500 |
| commit | d278f6a54a2a316e70271ad04bd206e49a93fa5f (patch) | |
| tree | 4c8058cbebec6fa21b49cfad97f4f186ff71ffd8 /Makefile | |
| parent | 315866de9ade249cab8db81d880d255f33f851f3 (diff) | |
add tiles json and internationalization
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,11 +19,12 @@ messages.po: inx sed -i 's/charset=CHARSET/charset=UTF-8/g' messages-inx.po bin/pyembroidery-gettext > pyembroidery-format-descriptions.py bin/inkstitch-fonts-gettext > inkstitch-fonts-metadata.py + bin/inkstitch-tiles-gettext > inkstitch-tiles-metadata.py # After the inx files are finished building, we don't need the src/ folder anymore. # We don't want babel to grab possible translation strings from that folder, so let's remove it rm -rf src/ pybabel extract -o messages-babel.po -F babel.conf --add-location=full --add-comments=l10n,L10n,L10N --sort-by-file --strip-comments -k N_ -k '$$gettext' . - rm pyembroidery-format-descriptions.py inkstitch-fonts-metadata.py + rm pyembroidery-format-descriptions.py inkstitch-fonts-metadata.py inkstitch-tiles-metadata.py cd electron && yarn --link-duplicates --pure-lockfile find electron/src -name '*.html' -o -name '*.js' -o -name '*.vue' | xargs electron/node_modules/.bin/gettext-extract --quiet --attribute v-translate --output messages-vue.po msgcat -o messages.po messages-babel.po messages-vue.po messages-inx.po |
