summaryrefslogtreecommitdiff
path: root/resources/locale/update-po.sh
blob: 15c15f54d334274f1fe2b243265e397db7974625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

echo "Insert the locale which you want to update:";
read locale;

if [ "$locale" == "" ]
then
    echo "No locale inserted! Aborting...";
    exit 1
fi

msgmerge -U $locale/LC_MESSAGES/$locale.po gnomepie.pot