manjaro-hello/launch.sh

13 lines
318 B
Bash
Raw Permalink Normal View History

2016-12-17 19:11:20 +01:00
#!/bin/sh
2016-12-18 19:57:16 +01:00
# Script to generate mo files in a temp locale folder
# Use it only for testing purpose
2016-12-17 13:47:07 +01:00
rm -rf locale
mkdir locale
cd po
2016-12-18 22:55:41 +01:00
for lang in $(ls *.po); do
mkdir -p ../locale/${lang::-3}/LC_MESSAGES
msgfmt -c -o ../locale/${lang::-3}/LC_MESSAGES/manjaro-hello.mo $lang
2016-12-17 13:47:07 +01:00
done
2016-12-17 19:14:39 +01:00
cd ..
2016-12-18 00:55:34 +01:00
python src/manjaro_hello.py