diff options
author | Daniel Schadt <kingdread@gmx.de> | 2024-02-10 18:16:19 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2024-02-10 18:16:19 +0100 |
commit | 0bb7203e74a2a7cbc9106ae272d6dfeea611d494 (patch) | |
tree | 357ad583909b72567accfc41ea6c5a6ae512617a /justfile | |
parent | e226f6c95811275c1f34161d285ce038fb72b86b (diff) | |
download | fietsboek-0bb7203e74a2a7cbc9106ae272d6dfeea611d494.tar.gz fietsboek-0bb7203e74a2a7cbc9106ae272d6dfeea611d494.tar.bz2 fietsboek-0bb7203e74a2a7cbc9106ae272d6dfeea611d494.zip |
add DISPLAY_NAME to justfile
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: |