diff options
author | Yifei Ding <dingyifeiair@gmail.com> | 2022-02-14 11:13:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 14:13:12 -0500 |
commit | 646bb0235510eb235c71b983658698fe8dd495a1 (patch) | |
tree | 70bad2b3fc2422daae23501ec1d7d3e65d3e7c41 /docs/_klipper3d | |
parent | c78676ff5fd99ef92ee4bb713aace28e1be09ece (diff) | |
download | kutter-646bb0235510eb235c71b983658698fe8dd495a1.tar.gz kutter-646bb0235510eb235c71b983658698fe8dd495a1.tar.xz kutter-646bb0235510eb235c71b983658698fe8dd495a1.zip |
docs: Fix Translation Support Script (#5263)
Signed-off-by: Yifei Ding <yifeiding@protonmail.com>
Diffstat (limited to 'docs/_klipper3d')
-rwxr-xr-x | docs/_klipper3d/fetch-translations.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_klipper3d/fetch-translations.sh b/docs/_klipper3d/fetch-translations.sh index 14519a23..e7e36580 100755 --- a/docs/_klipper3d/fetch-translations.sh +++ b/docs/_klipper3d/fetch-translations.sh @@ -3,7 +3,7 @@ # This is a make shift script before the current structure of # Klipper-translations can be directly utilized by mkdocs -#git clone --depth 1 https://github.com/Klipper3d/klipper-translations +git clone --depth 1 https://github.com/Klipper3d/klipper-translations while IFS="," read dirname langname langdesc note; do # move and rename markdown files @@ -26,4 +26,4 @@ while IFS="," read dirname langname langdesc note; do # add to translations.yml echo " ${langname}: ${langdesc}" >> ./docs/_klipper3d/translations.yml -done < <(egrep -v '^ *(#|$)' ./klipper-translations/active_translations | tail -n +2) +done < <(egrep -v '^ *(#|$)' ./klipper-translations/active_translations) |