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
9 # ** Usage: mergepo <locale id>
10 # ** Example: mergepo es
12 # ** Philipe Mingo <mingo@rotedic.com>
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 "