« Return to Thread: Translatable string mystery

Re: Translatable string mystery

by Kummel62 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Den Monday 24 November 2008 17.49.58 skrev Peter Landgren:

> This is what I did:

> 1. Changed so that the two strings were on the same line

> Now new complete string shows up! OK

> 2. Did undo of the above.

> Only partial string is shown now.

> 3. Looked with hex editor and found that the file probably had been edited

> in Windows as there were CR+LF all over the file.

> 4. In the hexeditor replaced CR+LF with LF.

> Now new complete string shows up! OK

>

> So, the question is now:

> Does this happens in other files, which have CR+LF so that we might have

> other incomplete strings in the pot file?

I answer my own question. I found only one file src\Filters\Rules\Note\_MatchesRegexpOf.py

that used CR+LF. (There was also a CR+LF in a comment in one file.)

See

http://www.gramps-project.org/bugs/view.php?id=2515

I have only updated the s_MatchesRegexpOf.py, gramps.pot and sv.po.

but not the other *.po files.

Shall I do this too, or it might be better to note the translators about this?

/Peter


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gramps-devel mailing list
Gramps-devel@...
https://lists.sourceforge.net/lists/listinfo/gramps-devel

 « Return to Thread: Translatable string mystery