summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authortv <tv@also>2011-07-31 03:22:00 +0200
committertv <tv@also>2011-07-31 03:22:00 +0200
commitdaab99a065a1a9eea3881b5a68b731be542a3405 (patch)
tree72c9a3e3385373215cddaaf6483b8fa04801f1a1 /util
parente9b7a359179a73013dce2f3a5fe14e772d88bcdb (diff)
translate.google: add all the submodules
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/translate.google10
1 files changed, 9 insertions, 1 deletions
diff --git a/util/bin/translate.google b/util/bin/translate.google
index 56cd7ee0..943675f4 100755
--- a/util/bin/translate.google
+++ b/util/bin/translate.google
@@ -6,6 +6,15 @@ url=http://translate.google.com/
pwd="$(dirname "$(readlink -f "$0")")"
+for x in \
+ "$pwd/../../submodules/github/tmpvar" \
+ "$pwd/../../submodules/github/mikeal" \
+ "$pwd/../../submodules/github/NV" \
+ "$pwd/../../submodules/github/tautologistics" \
+; do
+ export NODE_PATH="`readlink -f "$x"`${NODE_PATH+:$NODE_PATH}"
+done
+
# ensure query is ready
(cd "$pwd/../.." && git submodule update --init)
@@ -22,7 +31,6 @@ pwd="$(dirname "$(readlink -f "$0")")"
-d "js=\${js-n}" \\
-d "prev=\${prev-_t}" \\
-d "hl=\${hl-en}" \\
- -d "ie=\${ie-UTF-8}" \\
-d "layout=\${layout-2}" \\
-d "eotf=\${eotf-1}" \\
-d "sl=\${sl-auto}" \\