blob: 5a1fddd2c6c413db6e859452ec9b4aa06df4e038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# Reverts local changes in POT files.
# Translators are normally not supposed to commit any changes to POT
# files after they've run update_pot.
POTDIR="./po/pot"
[ -d $POTDIR ] || exit 1
echo "Reverting modified POT files (if any)..."
git checkout -- $POTDIR/*.pot
echo "done."
|