build-pdf: add special language cases

pull/23/head
Sebastiaan Speck 2023-12-19 17:44:56 +01:00 committed by K.B.Dharun Krishna
parent 2397113710
commit e215cdbc18
1 changed files with 8 additions and 1 deletions

View File

@ -32,11 +32,18 @@ function main {
fi
else
case $languageId in
"all")
all)
pageDirs=(../../pages*)
;;
bn | ja | ko | ml | ta | th | zh | zh_TW)
echo "${languageId} is not supported to build a PDF"
;;
en)
pageDirs=("pages")
;;
*)
pageDirs=("pages.${languageId}")
;;
esac
fi