Skip to content

Commit

Permalink
test #6
Browse files Browse the repository at this point in the history
  • Loading branch information
lowtower committed Jan 14, 2022
1 parent f1cbad7 commit 3716b72
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ test:

.PHONY: extract-messages
extract-messages:
xgettext --keyword="translate" -d gpxposter -o locales/gpxposter.pot gpxtrackposter/*.py
msgmerge --update locales/de_DE/LC_MESSAGES/gpxposter.po locales/gpxposter.pot
msgmerge --update locales/fi_FI/LC_MESSAGES/gpxposter.po locales/gpxposter.pot
msgmerge --update locales/fr_FR/LC_MESSAGES/gpxposter.po locales/gpxposter.pot
msgmerge --update locales/ru_RU/LC_MESSAGES/gpxposter.po locales/gpxposter.pot
msgmerge --update locales/zh_CN/LC_MESSAGES/gpxposter.po locales/gpxposter.pot
xgettext --keyword="translate" -d gpxposter -o xxloloxx/gpxposter.pot gpxtrackposter/*.py
msgmerge --update xxloloxx/de_DE/LC_MESSAGES/gpxposter.po xxloloxx/gpxposter.pot
msgmerge --update xxloloxx/fi_FI/LC_MESSAGES/gpxposter.po xxloloxx/gpxposter.pot
msgmerge --update xxloloxx/fr_FR/LC_MESSAGES/gpxposter.po xxloloxx/gpxposter.pot
msgmerge --update xxloloxx/ru_RU/LC_MESSAGES/gpxposter.po xxloloxx/gpxposter.pot
msgmerge --update xxloloxx/zh_CN/LC_MESSAGES/gpxposter.po xxloloxx/gpxposter.pot

.PHONY: compile-messages
compile-messages:
msgfmt -o locales/de_DE/LC_MESSAGES/gpxposter.mo locales/de_DE/LC_MESSAGES/gpxposter
msgfmt -o locales/fi_FI/LC_MESSAGES/gpxposter.mo locales/fi_FI/LC_MESSAGES/gpxposter
msgfmt -o locales/fr_FR/LC_MESSAGES/gpxposter.mo locales/fr_FR/LC_MESSAGES/gpxposter
msgfmt -o locales/ru_RU/LC_MESSAGES/gpxposter.mo locales/ru_RU/LC_MESSAGES/gpxposter
msgfmt -o locales/zh_CN/LC_MESSAGES/gpxposter.mo locales/zh_CN/LC_MESSAGES/gpxposter
msgfmt -o xxloloxx/de_DE/LC_MESSAGES/gpxposter.mo xxloloxx/de_DE/LC_MESSAGES/gpxposter
msgfmt -o xxloloxx/fi_FI/LC_MESSAGES/gpxposter.mo xxloloxx/fi_FI/LC_MESSAGES/gpxposter
msgfmt -o xxloloxx/fr_FR/LC_MESSAGES/gpxposter.mo xxloloxx/fr_FR/LC_MESSAGES/gpxposter
msgfmt -o xxloloxx/ru_RU/LC_MESSAGES/gpxposter.mo xxloloxx/ru_RU/LC_MESSAGES/gpxposter
msgfmt -o xxloloxx/zh_CN/LC_MESSAGES/gpxposter.mo xxloloxx/zh_CN/LC_MESSAGES/gpxposter
42 changes: 21 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ def _read_reqs(relpath):
tests_require=_read_reqs("requirements-dev.txt"),
data_files=[
(".", ["requirements.txt", "requirements-dev.txt"]),
("share/locale/de_DE/LC_MESSAGES", ["locales/de_DE/LC_MESSAGES/gpxposter.mo"]),
("share/locale/fi_FI/LC_MESSAGES", ["locales/fi_FI/LC_MESSAGES/gpxposter.mo"]),
("share/locale/fr_FR/LC_MESSAGES", ["locales/fr_FR/LC_MESSAGES/gpxposter.mo"]),
("share/locale/ru_RU/LC_MESSAGES", ["locales/ru_RU/LC_MESSAGES/gpxposter.mo"]),
("share/locale/zh_CN/LC_MESSAGES", ["locales/zh_CN/LC_MESSAGES/gpxposter.mo"]),
("share/locale/de_DE/LC_MESSAGES", ["xxloloxx/de_DE/LC_MESSAGES/gpxposter.mo"]),
("share/locale/fi_FI/LC_MESSAGES", ["xxloloxx/fi_FI/LC_MESSAGES/gpxposter.mo"]),
("share/locale/fr_FR/LC_MESSAGES", ["xxloloxx/fr_FR/LC_MESSAGES/gpxposter.mo"]),
("share/locale/ru_RU/LC_MESSAGES", ["xxloloxx/ru_RU/LC_MESSAGES/gpxposter.mo"]),
("share/locale/zh_CN/LC_MESSAGES", ["xxloloxx/zh_CN/LC_MESSAGES/gpxposter.mo"]),
],
packages=setuptools.find_packages(),
entry_points={
Expand All @@ -40,22 +40,22 @@ def _read_reqs(relpath):
},
)
data_files = [
("share/locale/ar/LC_MESSAGES", ["locales/ar/LC_MESSAGES/hatta.mo"]),
("share/locale/cs/LC_MESSAGES", ["locales/cs/LC_MESSAGES/hatta.mo"]),
("share/locale/da/LC_MESSAGES", ["locales/da/LC_MESSAGES/hatta.mo"]),
("share/locale/de/LC_MESSAGES", ["locales/de/LC_MESSAGES/hatta.mo"]),
("share/locale/el/LC_MESSAGES", ["locales/el/LC_MESSAGES/hatta.mo"]),
("share/locale/es/LC_MESSAGES", ["locales/es/LC_MESSAGES/hatta.mo"]),
("share/locale/et/LC_MESSAGES", ["locales/et/LC_MESSAGES/hatta.mo"]),
("share/locale/fi/LC_MESSAGES", ["locales/fi/LC_MESSAGES/hatta.mo"]),
("share/locale/fr/LC_MESSAGES", ["locales/fr/LC_MESSAGES/hatta.mo"]),
("share/locale/hu/LC_MESSAGES", ["locales/hu/LC_MESSAGES/hatta.mo"]),
("share/locale/ja/LC_MESSAGES", ["locales/ja/LC_MESSAGES/hatta.mo"]),
("share/locale/lt/LC_MESSAGES", ["locales/lt/LC_MESSAGES/hatta.mo"]),
("share/locale/pl/LC_MESSAGES", ["locales/pl/LC_MESSAGES/hatta.mo"]),
("share/locale/ru/LC_MESSAGES", ["locales/ru/LC_MESSAGES/hatta.mo"]),
("share/locale/sv/LC_MESSAGES", ["locales/sv/LC_MESSAGES/hatta.mo"]),
("share/locale/vi/LC_MESSAGES", ["locales/vi/LC_MESSAGES/hatta.mo"]),
("share/locale/ar/LC_MESSAGES", ["xxloloxx/ar/LC_MESSAGES/hatta.mo"]),
("share/locale/cs/LC_MESSAGES", ["xxloloxx/cs/LC_MESSAGES/hatta.mo"]),
("share/locale/da/LC_MESSAGES", ["xxloloxx/da/LC_MESSAGES/hatta.mo"]),
("share/locale/de/LC_MESSAGES", ["xxloloxx/de/LC_MESSAGES/hatta.mo"]),
("share/locale/el/LC_MESSAGES", ["xxloloxx/el/LC_MESSAGES/hatta.mo"]),
("share/locale/es/LC_MESSAGES", ["xxloloxx/es/LC_MESSAGES/hatta.mo"]),
("share/locale/et/LC_MESSAGES", ["xxloloxx/et/LC_MESSAGES/hatta.mo"]),
("share/locale/fi/LC_MESSAGES", ["xxloloxx/fi/LC_MESSAGES/hatta.mo"]),
("share/locale/fr/LC_MESSAGES", ["xxloloxx/fr/LC_MESSAGES/hatta.mo"]),
("share/locale/hu/LC_MESSAGES", ["xxloloxx/hu/LC_MESSAGES/hatta.mo"]),
("share/locale/ja/LC_MESSAGES", ["xxloloxx/ja/LC_MESSAGES/hatta.mo"]),
("share/locale/lt/LC_MESSAGES", ["xxloloxx/lt/LC_MESSAGES/hatta.mo"]),
("share/locale/pl/LC_MESSAGES", ["xxloloxx/pl/LC_MESSAGES/hatta.mo"]),
("share/locale/ru/LC_MESSAGES", ["xxloloxx/ru/LC_MESSAGES/hatta.mo"]),
("share/locale/sv/LC_MESSAGES", ["xxloloxx/sv/LC_MESSAGES/hatta.mo"]),
("share/locale/vi/LC_MESSAGES", ["xxloloxx/vi/LC_MESSAGES/hatta.mo"]),
(
"share/doc/hatta/examples",
["examples/hatta.fcgi", "examples/hatta.gzip.fcgi", "examples/hatta.wsgi", "examples/extend_parser.py"],
Expand Down

0 comments on commit 3716b72

Please sign in to comment.