diff --git a/compile-messages.sh b/compile-messages.sh index 18b88163e8c6c216c79652d0fa05dd16e4fb65ee..bc2e8b7b852149464dc3f2ba1e8c5e1b64814acb 100755 --- a/compile-messages.sh +++ b/compile-messages.sh @@ -1,5 +1,5 @@ #!/bin/sh -. ./translation.vars +. ./etc/translation.vars if [ $# -ge 1 ] then diff --git a/babel.cfg/about b/etc/babel.cfg/about similarity index 100% rename from babel.cfg/about rename to etc/babel.cfg/about diff --git a/babel.cfg/blog b/etc/babel.cfg/blog similarity index 100% rename from babel.cfg/blog rename to etc/babel.cfg/blog diff --git a/babel.cfg/comparison b/etc/babel.cfg/comparison similarity index 100% rename from babel.cfg/comparison rename to etc/babel.cfg/comparison diff --git a/babel.cfg/docs b/etc/babel.cfg/docs similarity index 100% rename from babel.cfg/docs rename to etc/babel.cfg/docs diff --git a/babel.cfg/get-involved b/etc/babel.cfg/get-involved similarity index 100% rename from babel.cfg/get-involved rename to etc/babel.cfg/get-involved diff --git a/babel.cfg/misc b/etc/babel.cfg/misc similarity index 100% rename from babel.cfg/misc rename to etc/babel.cfg/misc diff --git a/babel.cfg/priority b/etc/babel.cfg/priority similarity index 100% rename from babel.cfg/priority rename to etc/babel.cfg/priority diff --git a/babel.cfg/research b/etc/babel.cfg/research similarity index 100% rename from babel.cfg/research rename to etc/babel.cfg/research diff --git a/multi-domain.patch b/etc/multi-domain.patch similarity index 100% rename from multi-domain.patch rename to etc/multi-domain.patch diff --git a/project.vars b/etc/project.vars similarity index 100% rename from project.vars rename to etc/project.vars diff --git a/reqs.txt b/etc/reqs.txt similarity index 100% rename from reqs.txt rename to etc/reqs.txt diff --git a/translation.vars b/etc/translation.vars similarity index 79% rename from translation.vars rename to etc/translation.vars index 46ccc9eaa7631bb28731cc4ddf91dee8e27dbdac..b892c1db9ea2281eacd0c69ed21ec9ce23244412 100644 --- a/translation.vars +++ b/etc/translation.vars @@ -1,6 +1,6 @@ PROJECT=I2P VERSION=website -BABELCFG=babel.cfg +BABELCFG=etc/babel.cfg POTDIR=pots PROJDIR=i2p2www TRANSDIR=$PROJDIR/translations diff --git a/extract-messages.sh b/extract-messages.sh index bfedfc2755c3b590abb7b87305db2106578d8c90..fb7250d988abe9712853964e6a3889d2f70c0f5a 100755 --- a/extract-messages.sh +++ b/extract-messages.sh @@ -1,5 +1,5 @@ #!/bin/sh -. ./translation.vars +. ./etc/translation.vars if [ ! -e $POTDIR ]; then mkdir $POTDIR diff --git a/init-new-po.sh b/init-new-po.sh index 71a50008cb36179803eba4ad72af22b40b2d88ef..5a021c419cdac48ed625f7bdb08933596f4d792b 100755 --- a/init-new-po.sh +++ b/init-new-po.sh @@ -1,5 +1,5 @@ #!/bin/sh -. ./translation.vars +. ./etc/translation.vars if [ $# -ge 1 ] then diff --git a/setup_venv.sh b/setup_venv.sh index 79d46ba29a1fa446313434c0ed52dc2d64bebab7..e9ed695bc4e5ad1a51a3846c686f9392b1147cda 100755 --- a/setup_venv.sh +++ b/setup_venv.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -. ./project.vars +. ./etc/project.vars if [ ! $venv ]; then echo "ERROR: virtualenv not found!" >&2 @@ -10,7 +10,7 @@ else fi . $venv_dir/bin/activate - pip install -r reqs.txt + pip install -r etc/reqs.txt # Apply multi-domain patch to Flask-Babel - patch -p0 <multi-domain.patch + patch -p0 <etc/multi-domain.patch fi diff --git a/update-existing-po.sh b/update-existing-po.sh index 52888732af37d2659851b13d4e3320e0f6243dc2..d423360deb44a46cd7de12edf7feb7aa83ffedbd 100755 --- a/update-existing-po.sh +++ b/update-existing-po.sh @@ -1,5 +1,5 @@ #!/bin/sh -. ./translation.vars +. ./etc/translation.vars if [ $# -ge 1 ] then