mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Set build.sh to build docs for all locales, and enable English, Spanish, and Ukranian
This commit is contained in:
parent
3bb0b2be79
commit
128052b8b7
195 changed files with 28616 additions and 287 deletions
|
@ -3,8 +3,7 @@
|
|||
VERSION=`cat ../share/version.txt`
|
||||
|
||||
# Supported locales
|
||||
#LOCALES="ar ca zh_CN zh_TW da nl en fr de el is ga it ja nb fa pl pt_BR pt_PT ro ru sr@latin es sv te tr uk"
|
||||
LOCALES="en es"
|
||||
LOCALES="ar ca zh_CN zh_TW da nl en fr de el is ga it ja nb fa pl pt_BR pt_PT ro ru sr@latin es sv te tr uk"
|
||||
|
||||
# Generate English .po files
|
||||
make gettext
|
||||
|
@ -32,4 +31,4 @@ done
|
|||
echo '<html><head><meta http-equiv="refresh" content="0; url=en/" /><script>document.location="en/"</script></head></html>' > build/docs/$VERSION/index.html
|
||||
|
||||
# Redirect to latest version
|
||||
echo '<html><head><meta http-equiv="refresh" content="0; url='$VERSION'/en/" /><script>document.location="'$VERSION'/en/"</script></head></html>' > build/docs/index.html
|
||||
echo '<html><head><meta http-equiv="refresh" content="0; url='$VERSION'/en/" /><script>document.location="'$VERSION'/en/"</script></head></html>' > build/docs/index.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue