Commit 135016bb authored by Hugo Posnic's avatar Hugo Posnic

Improve translations managing

parent c2f7e8da
# Use it just for local tests
rm -rf locale
mkdir locale
cd po
for lang in $(ls -1 | sed -e 's/\..*$//')
do
if [ $lang != "manjaro-hello" ]
then
mkdir -p ../locale/$lang/LC_MESSAGES
msgfmt -c -o ../locale/$lang/LC_MESSAGES/manjaro-hello.mo $lang.po
fi
done
cd ../src
python manjaro-hello.py
......@@ -37,7 +37,7 @@ class ManjaroHello():
self.desktop_path = "/usr/share/applications/" + self.app + ".desktop"
else:
self.data_path = "../data/"
self.locale_path = "locale/"
self.locale_path = "../locale/"
self.ui_path = "../ui/"
self.desktop_path = self.current_folder[:-4] + self.app + ".desktop"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment