Mercurial > pidgin.yaz
view gaim.desktop @ 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 | 78f9641ad4e5 |
children | 595a2fb511b9 |
line wrap: on
line source
[Desktop Entry] Encoding=UTF-8 Name=Gaim Internet Messenger Name[de]=Gaim Internet Messenger Name[dk]=Gaim - kvikbeskeder Name[fr]=Gaim Messagerie Instantanée Name[it]=Gaim Internet Messenger Name[pl]=Komunikator Internetowy Gaim Name[pt]=Mensageiro Instantâneo Gaim GenericName=Internet Messenger GenericName[fr]=Messagerie instantanée GenericName[it]=Internet Messenger GenericName[pl]=Komunikator Internetowy GenericName[pt]=Mensageiro Instantâneo GenericName[pt_BR]=Mensageiro da Internet Gaim Comment=Multi-protocol Messaging Client Comment[da]=Multiprotokolsklient til at sende og modtage beskeder Comment[it]=Client multiprotocollo per messaggi immediati Comment[es]=Cliente de mensajería instantánea multiprotocolo Comment[fr]=Client de messagerie instantanée multiprotocole Comment[de]=Multi-Protokoll Instant Messenger Client Comment[ko]=다중 프로토콜 메신저 Comment[pl]=Komunikator internetowy obsługujący kilka protokołów Comment[pt]=Cliente de mensagens instantâneas multi-protocolo Comment[pt_BR]=Cliente multi-protocolo de mensagens Exec=gaim Icon=gaim.png Terminal=false Type=Application Categories=Application;Network; StartupNotify=true