Fixed line breaks that didn't allow xgetpo to work
[squirrelmail.git] / locale / mergepo
CommitLineData
5cb1ee53 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$
63f31913 15
b8a1fc07 16mv $1/LC_MESSAGES/squirrelmail.po $1/LC_MESSAGES/squirrelmail.po.bak
17msgmerge $1/LC_MESSAGES/squirrelmail.po.bak ../po/squirrelmail.po > $1/LC_MESSAGES/squirrelmail.po
63f31913 18echo "Old po file renamed to squirrelmail.po.bak "