mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:55:34 +02:00
build-pdf: add special language cases
This commit is contained in:
parent
2397113710
commit
e215cdbc18
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue