mirror of
https://git.selfprivacy.org/SelfPrivacy/docs.selfprivacy.org.git
synced 2024-11-13 23:53:16 +00:00
22 lines
348 B
Bash
Executable file
22 lines
348 B
Bash
Executable file
export ruInputFiles=$(ls src/ru/src)
|
|
|
|
for inputFile in ${ruInputFiles}
|
|
do
|
|
python3.9 ${1} --file src/ru/src/${inputFile} --output src/en/src/${inputFile}
|
|
done
|
|
|
|
buildEnglishTranslation()
|
|
{
|
|
cd src/en/
|
|
mdbook build
|
|
}
|
|
|
|
buildRussianTranslations()
|
|
{
|
|
cd src/ru/
|
|
mdbook build
|
|
}
|
|
|
|
buildEnglishTranslation
|
|
cd ../../
|
|
buildRussianTranslations |