diff options
Diffstat (limited to 'resources/locale/gen-po.sh')
-rwxr-xr-x | resources/locale/gen-po.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/resources/locale/gen-po.sh b/resources/locale/gen-po.sh new file mode 100755 index 0000000..cecc4c9 --- /dev/null +++ b/resources/locale/gen-po.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +echo "Insert your locale:"; +read locale; + +if [ "$locale" == "" ] +then + echo "No locale inserted! Aborting..."; + exit 1 +fi + +mkdir -p $locale/LC_MESSAGES +msginit --locale=$locale --input=gnomepie.pot --output=$locale/LC_MESSAGES/$locale.po |