anki/qt/po/BUILD.bazel
Damien Elmes 8d4df820cc update i18n scripts
- export updated .po files for consumption
- add a script to pull and push translations
2020-11-11 21:08:06 +10:00

18 lines
369 B
Python

load(":gettext.bzl", "build_template", "update_all_po_files")
build_template(
name = "pot",
srcs = [
"//pylib/anki:py_source_files",
"//qt/aqt:py_source_files",
"//qt/aqt/forms",
],
pot_file = "anki.pot",
)
update_all_po_files(
name = "po_files",
pot_file = "anki.pot",
visibility = ["//qt/aqt:__subpackages__"],
)