newmail plugin strings
[squirrelmail.git] / locale / mergepo
1 #!/bin/sh
2
3 # **
4 # ** This script merges global PO to locale PO files.
5 # ** It creates a squirrelmail.po.new that have to
6 # ** be renamed to squirrelmail.po once before to
7 # ** compile the file.
8 # **
9 # ** Usage: mergepo <locale id>
10 # ** Example: mergepo es
11 # **
12 # ** Philipe Mingo <mingo@rotedic.com>
13 # **
14 # ** $Id$
15
16 mv $1/LC_MESSAGES/squirrelmail.po $1/LC_MESSAGES/squirrelmail.po.bak
17 msgmerge $1/LC_MESSAGES/squirrelmail.po.bak ../po/squirrelmail.po > $1/LC_MESSAGES/squirrelmail.po
18 echo "Old po file renamed to squirrelmail.po.bak "