diff options
Diffstat (limited to 'justfile')
-rw-r--r-- | justfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,8 +24,9 @@ create-language-pack locale: } >> pyproject.toml mkdir -p "fietsboek_i18n_{{ locale }}/locale" touch "fietsboek_i18n_{{ locale }}/__init__.py" - cp -r "$FB_PATH/fietsboek/locale/en/html" "fietsboek_i18n_{{ locale }}/locale/" + cp -r "$FB_PATH/fietsboek/locale/en/html" "fietsboek_i18n_{{ locale }}/locale/{{ locale }}/" pybabel init -d "fietsboek_i18n_{{ locale }}/locale" -l {{ locale }} -i "$FB_PATH/fietsboek/locale/fietslog.pot" + echo "{{ locale }}" > fietsboek_i18n_{{ locale }}/locale/{{ locale }}/DISPLAY_NAME # Compile the messages of an existing language pack compile-language-pack locale: @@ -46,6 +47,7 @@ update-language-pack locale: init-language locale: pybabel init -d fietsboek/locale -l {{ locale }} -i fietsboek/locale/fietslog.pot cp -r fietsboek/locale/en/html fietsboek/locale/{{ locale }}/ + echo "{{ locale }}" > fietsboek/locale/{{ locale }}/DISPLAY_NAME # Update the built-in message catalogue update-language locale: |