Licensing
This commit is contained in:
parent
9f342d4aa6
commit
e214720f13
|
@ -1,4 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#SPDX-FileCopyrightText: 2023 HackerNCoder
|
||||||
|
#SPDX-License-Identifier: MIT-0
|
||||||
|
|
||||||
declare -A langnames=( ["es_419"]="spanish" ["pt_BR"]="brazilian_portuguese" ["ru"]="russian" ["pl"]="polish" )
|
declare -A langnames=( ["es_419"]="spanish" ["pt_BR"]="brazilian_portuguese" ["ru"]="russian" ["pl"]="polish" )
|
||||||
|
|
||||||
|
@ -28,8 +30,8 @@ for file in ./translations-*.po; do
|
||||||
|
|
||||||
echo -e "\x1B[36mBUILDING $file \x1B[0m"
|
echo -e "\x1B[36mBUILDING $file \x1B[0m"
|
||||||
msgfmt "$file" -o game.mo
|
msgfmt "$file" -o game.mo
|
||||||
echo "\t$(PATH=$(pwd)/renpy:${PATH} RENPY_DIR=$(pwd)/renpy python3 rttk-queerscriptors/mo2tl.py $(pwd)/game-source game.mo ${lang})"
|
PATH=$(pwd)/renpy:${PATH} RENPY_DIR=$(pwd)/renpy python3 rttk-queerscriptors/mo2tl.py $(pwd)/game-source game.mo ${lang}
|
||||||
echo "\t$(zip "${lang}.zip" game-source/game/tl/${lang}/*)"
|
zip "${lang}.zip" game-source/game/tl/${lang}/*
|
||||||
mv "${lang}.zip" "/var/www/queer/build/${CI_REPO_NAME}/${lang}.zip"
|
mv "${lang}.zip" "/var/www/queer/build/${CI_REPO_NAME}/${lang}.zip"
|
||||||
echo -e "\e[32mFINISHED $file\e[0m"
|
echo -e "\e[32mFINISHED $file\e[0m"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue