summaryrefslogtreecommitdiff
path: root/resources/locale/gen-po.sh
diff options
context:
space:
mode:
Diffstat (limited to 'resources/locale/gen-po.sh')
-rwxr-xr-xresources/locale/gen-po.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/locale/gen-po.sh b/resources/locale/gen-po.sh
index cecc4c9..3de72bd 100755
--- a/resources/locale/gen-po.sh
+++ b/resources/locale/gen-po.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+# get directory of script and cd to it
+DIR="$( cd "$( dirname "$0" )" && pwd )"
+cd $DIR
+
echo "Insert your locale:";
read locale;