diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-09-27 11:33:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 11:33:07 +0200 |
| commit | 79ca8d36bb82acb9c31f5c0012aef6c17d53fc55 (patch) | |
| tree | e59b732728e1a480af3a99904aaf88cafe479512 | |
| parent | fcd13815d31f4b927e498fbbb4305fb29a959acf (diff) | |
prepare inx for messages.po (#1356)
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,9 +13,11 @@ inx: version locales python bin/generate-inx-files; \ .PHONY: messages.po -messages.po: +messages.po: inx rm -f messages.po xgettext inx/*.inx --its=its/inx.its -o messages-inx.po + # There seems to be no propper way to set the charset to utf-8 + 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 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' . |
