mirror of https://github.com/CrimsonTome/tldr.git
build-pdf: add special language cases
parent
2397113710
commit
e215cdbc18
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue