This commit is contained in:
Mayel de Borniol 2022-06-01 13:04:22 +12:00
parent 2acd1078b0
commit 5a233b74d7
12 changed files with 3 additions and 1 deletions

View file

@ -498,6 +498,7 @@ licenses:
# Extract strings to-be-localised from the app and installed extensions
localise-extract:
@just mix "bonfire.localise.extract"
cd priv/localisation/ && for f in *.pot; do mv -- "$f" "${f%.pot}.po"; done
assets-prepare:
@cp lib/*/*/overlay/* rel/overlays/ 2> /dev/null || true

View file

@ -2,7 +2,8 @@ git:
filters:
- filter_type: dir
file_format: PO
source_file_extension: pot
source_file_extension: po
source_language: en
source_file_dir: priv/localisation/
translation_files_expression: 'priv/localisation/<lang>/LC_MESSAGES/'
pr_branch_name: localisation