mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* Makevars: Add --no-location to msgmerge arguments.
* update.pl: Likewise. * update.sh: Likewise.
This commit is contained in:
parent
6b494ddd63
commit
2f70d699ad
@ -1,3 +1,9 @@
|
||||
2005-05-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* Makevars: Add --no-location to msgmerge arguments.
|
||||
* update.pl: Likewise.
|
||||
* update.sh: Likewise.
|
||||
|
||||
2005-05-19 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* de.po: Updated German translation.
|
||||
|
@ -39,3 +39,7 @@ MSGID_BUGS_ADDRESS = mc-devel@gnome.org
|
||||
# This is the list of locale categories, beyond LC_MESSAGES, for which the
|
||||
# message catalogs shall be used. It is usually empty.
|
||||
EXTRA_LOCALE_CATEGORIES =
|
||||
|
||||
# Suppress location information
|
||||
MSGMERGE = msgmerge --no-location
|
||||
MSGMERGE_UPDATE = msgmerge --update --no-location
|
||||
|
@ -146,7 +146,7 @@ elsif(-s "$LANG.po"){
|
||||
print "\nNow merging $LANG.po with $PACKAGE.pot, and creating an updated $LANG.po ...\n";
|
||||
|
||||
|
||||
$d="mv $LANG.po $LANG.po.old && msgmerge $LANG.po.old $PACKAGE.pot -o $LANG.po";
|
||||
$d="mv $LANG.po $LANG.po.old && msgmerge --no-location $LANG.po.old $PACKAGE.pot -o $LANG.po";
|
||||
|
||||
$f="msgfmt --statistics $LANG.po";
|
||||
|
||||
|
@ -60,7 +60,7 @@ xgettext --default-domain=$PACKAGE --directory=.. \
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..."
|
||||
|
||||
mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \
|
||||
mv $1.po $1.po.old && msgmerge --no-location $1.po.old $PACKAGE.pot -o $1.po \
|
||||
&& rm $1.po.old;
|
||||
|
||||
msgfmt --statistics $1.po
|
||||
|
Loading…
Reference in New Issue
Block a user