Merge branch 'master' of ssh://houllier/home/carl/git/dvdomatic
[dcpomatic.git] / run / dvdomatic
index 125fd9d27223f324de4899e2f1e15bc0537cba78..147c001cdf3c8fc8e4be4fe0ff8f8f2b0d65e35f 100755 (executable)
@@ -3,10 +3,13 @@
 export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH
 if [ "$1" == "--debug" ]; then
     shift
-    gdb --args build/src/tools/dvdomatic "$1"
+    gdb --args build/src/tools/dvdomatic "$*"
 elif [ "$1" == "--valgrind" ]; then
     shift
-    valgrind --tool="memcheck" build/src/tools/dvdomatic "$1"
+    valgrind --tool="memcheck" build/src/tools/dvdomatic $*
+elif [ "$1" == "--i18n" ]; then
+    shift
+    LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 build/src/tools/dvdomatic "$*"
 else
-    build/src/tools/dvdomatic "$1"
+    build/src/tools/dvdomatic "$*"
 fi