Mercurial > pidgin.yaz
annotate po/.cvsignore @ 9531:06fe6ed7f63a
[gaim-migrate @ 10358]
"How do you update your po files ("make update-po" or ./update.pl)?
update.pl
has some advantages. But update.pl has also a small bug. In rare cases
(double
msgid's etc.) update.pl kills your po-file. This can happen, if msgmerge
fails and if you have an old gettext version. The problem is here:
po/update.pl:149:
...
$d="mv $LANG.po $LANG.po.old && msgmerge $LANG.po.old $PACKAGE.pot
-o
+$LANG.po";
...
If msgmerge fails, the file $LANG.po will be overwritten. "make update-po"
has
not this problem, because it uses a temporary file:
...
if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \
mv -f $$lang.new.po $$lang.po; \
else \
echo "msgmerge for $$cat failed!"; \
rm -f $$lang.new.po; \
fi; \
...
I patched po/update.pl. Now it uses a temporary file. Also, update2.pl
lists
files in po/POTFILES.in which have no i18n strings as a warning." -- Bjoern
Voigt
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 14 Jul 2004 20:14:48 +0000 |
parents | 88e027814691 |
children | b8d8571877df |
rev | line source |
---|---|
347 | 1 Makefile |
2 Makefile.in | |
1863
bf2434d36e54
[gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
419
diff
changeset
|
3 Makefile.in.in |
bf2434d36e54
[gaim-migrate @ 1873]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
419
diff
changeset
|
4 ChangeLog |
5180
ea261ce36f0b
[gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
5179
diff
changeset
|
5 POTFILES |
5951 | 6 POTFILES.in.missing |
3388
83314a9985ef
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3264
diff
changeset
|
7 Rules-quot |
347 | 8 cat-id-tbl.c |
9 stamp-cat-id | |
3388
83314a9985ef
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3264
diff
changeset
|
10 *.gmo |
5951 | 11 *.mo |
12 *.pot | |
3388
83314a9985ef
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3264
diff
changeset
|
13 Makevars |
83314a9985ef
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3264
diff
changeset
|
14 *.sed |
83314a9985ef
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3264
diff
changeset
|
15 *.header |
83314a9985ef
[gaim-migrate @ 3407]
Christian Hammond <chipx86@chipx86.com>
parents:
3264
diff
changeset
|
16 *.sin |
3703 | 17 ChangeLog.save |