Add override for etc/translation.vars

This commit is contained in:
str4d
2017-05-16 12:26:51 +00:00
parent f58667664d
commit 98ec943dc4
5 changed files with 10 additions and 0 deletions

View File

@ -44,6 +44,12 @@ If you want to mirror the I2P website, thanks! Here is a checklist:
(look in `etc/update.vars` for the filename, your webserver should restart
WSGI when the timestamp of this file changes).
## Configuration
Configuration files for the various scripts are in `etc/`. Environment variables
in `etc/translation.vars` can be overridden by creating the file
`etc/translation.vars.custom` and re-defining the environment variables there.
## Updating translations
1. Pull new and updated translations from Transifex:

View File

@ -1,5 +1,6 @@
#!/bin/sh
. ./etc/translation.vars
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
export TZ=UTC

View File

@ -1,5 +1,6 @@
#!/bin/sh
. ./etc/translation.vars
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
export TZ=UTC

View File

@ -1,5 +1,6 @@
#!/bin/sh
. ./etc/translation.vars
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
export TZ=UTC

View File

@ -1,5 +1,6 @@
#!/bin/sh
. ./etc/translation.vars
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
export TZ=UTC
if [ $# -ge 1 ]