From 4ae84aa9e276f246a3aa349e47f4cd2c7b384a73 Mon Sep 17 00:00:00 2001 From: str4d Date: Thu, 15 Aug 2013 08:30:01 +0000 Subject: [PATCH] Moved setup, translation config files into subdir --- compile-messages.sh | 2 +- {babel.cfg => etc/babel.cfg}/about | 0 {babel.cfg => etc/babel.cfg}/blog | 0 {babel.cfg => etc/babel.cfg}/comparison | 0 {babel.cfg => etc/babel.cfg}/docs | 0 {babel.cfg => etc/babel.cfg}/get-involved | 0 {babel.cfg => etc/babel.cfg}/misc | 0 {babel.cfg => etc/babel.cfg}/priority | 0 {babel.cfg => etc/babel.cfg}/research | 0 multi-domain.patch => etc/multi-domain.patch | 0 project.vars => etc/project.vars | 0 reqs.txt => etc/reqs.txt | 0 translation.vars => etc/translation.vars | 2 +- extract-messages.sh | 2 +- init-new-po.sh | 2 +- setup_venv.sh | 6 +++--- update-existing-po.sh | 2 +- 17 files changed, 8 insertions(+), 8 deletions(-) rename {babel.cfg => etc/babel.cfg}/about (100%) rename {babel.cfg => etc/babel.cfg}/blog (100%) rename {babel.cfg => etc/babel.cfg}/comparison (100%) rename {babel.cfg => etc/babel.cfg}/docs (100%) rename {babel.cfg => etc/babel.cfg}/get-involved (100%) rename {babel.cfg => etc/babel.cfg}/misc (100%) rename {babel.cfg => etc/babel.cfg}/priority (100%) rename {babel.cfg => etc/babel.cfg}/research (100%) rename multi-domain.patch => etc/multi-domain.patch (100%) rename project.vars => etc/project.vars (100%) rename reqs.txt => etc/reqs.txt (100%) rename translation.vars => etc/translation.vars (79%) diff --git a/compile-messages.sh b/compile-messages.sh index 18b88163..bc2e8b7b 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 46ccc9ea..b892c1db 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 bfedfc27..fb7250d9 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 71a50008..5a021c41 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 79d46ba2..e9ed695b 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