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 fi
else else
case $languageId in case $languageId in
"all") all)
pageDirs=(../../pages*) 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}") pageDirs=("pages.${languageId}")
;;
esac esac
fi fi