summaryrefslogtreecommitdiff
path: root/resources/locale/gen-po.sh
blob: cecc4c968eb42945dbb8165aedce47b6f4f24d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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