forked from I2P_Developers/i2p.www
Add override for etc/translation.vars
This commit is contained in:
@ -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
|
(look in `etc/update.vars` for the filename, your webserver should restart
|
||||||
WSGI when the timestamp of this file changes).
|
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
|
## Updating translations
|
||||||
|
|
||||||
1. Pull new and updated translations from Transifex:
|
1. Pull new and updated translations from Transifex:
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./etc/translation.vars
|
. ./etc/translation.vars
|
||||||
|
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
|
||||||
|
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./etc/translation.vars
|
. ./etc/translation.vars
|
||||||
|
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
|
||||||
|
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./etc/translation.vars
|
. ./etc/translation.vars
|
||||||
|
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
|
||||||
|
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./etc/translation.vars
|
. ./etc/translation.vars
|
||||||
|
[ -f ./etc/translation.vars.custom ] && . ./etc/translation.vars.custom
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
|
|
||||||
if [ $# -ge 1 ]
|
if [ $# -ge 1 ]
|
||||||
|
Reference in New Issue
Block a user