X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdvdomatic;h=147c001cdf3c8fc8e4be4fe0ff8f8f2b0d65e35f;hb=9d0306c425800a7ccd1450f2fe984e2ea61b4499;hp=125fd9d27223f324de4899e2f1e15bc0537cba78;hpb=13511ed2fcc23f4d5f9c507c775c3c5cfd82d155;p=dcpomatic.git diff --git a/run/dvdomatic b/run/dvdomatic index 125fd9d27..147c001cd 100755 --- a/run/dvdomatic +++ b/run/dvdomatic @@ -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