aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/po-compile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/po-compile.sh b/tools/po-compile.sh
index 0a470c1..a29d8cb 100644
--- a/tools/po-compile.sh
+++ b/tools/po-compile.sh
@@ -2,7 +2,14 @@
set -e
+if test "$1" = "-h" -o "$1" = "--help"; then
+ echo "Use: $0 [<language>]"
+ echo "Run without arguments to compile all translation files."
+ exit 0
+fi
+
cd "$(readlink -f "$(dirname "$0")/..")"
+
update_mo(){
echo $1
language="$(basename "$1")"