Re: [poedit-users] Bug when updating from .pot file on Win XP

Lübbe Onken <[email protected]> Thu, 17 Jan 2008 12:51:02 +0100
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Vaclav,

I can reproduce the bug now when updating from a .pot file.

If you have svn or tortoisesvn installed, check out the folder
<http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/Languages/> from
the repostiory.

user: guest, no password

If not, just save Tortoise_de.po and Tortoise.pot to your local disk

Open Tortoise_de.po in poedit and update from tortoise.pot. You will see
one changed message and get a warning about "\r\n" sequences. After
merging the file, the changed message will neither appear in the
untranslated, nor in the fuzzy section.

It will show up in the translated section. If you take a close look,
you'll see that the msgstr is " " (a single blank) which is the msgstr
of the first line in the .po file, the file on which your cursor was
standing when you ran "update from .pot".

If you move your cursor once before running update from .pot, everything
works as expected.

This is exactly the behaviour that I observed so far. The msgid content
of the cursor line is copied to another line of the .po file. In this
case it's easy to see, because it is the one line that was changed by
the update.

Cheers
- - Lübbe

- --
~       ___
~  oo  // \\      "De Chelonian Mobile"
~ (_,\/ \_/ \     TortoiseSVN
~   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
~   /_/   \_\     http://tortoisesvn.nett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: GnuPT 2.9.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHj0Emm8gezyP1EasRAlXnAJ9ah2m1nsY85EJW0uN3fHZp3WD6vQCbBk6s
NVn+H8taCP1iYz2Im6Tkabg=
=qp+u
-----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/