Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

truncating strings ending with &apos #157

Closed
transl8bzimport opened this issue Nov 14, 2005 · 2 comments
Closed

truncating strings ending with &apos #157

transl8bzimport opened this issue Nov 14, 2005 · 2 comments

Comments

@transl8bzimport
Copy link

Version: 0.8rc2

Originally posted by David Farning:

running - moz2po 0.8rc4.20051109
against -
firefox 1.0.7 af-ZA.xpi

in chrome/locale/global/mozilla.dtd

<!ENTITY mozilla.quote ‘En so uiteidelik het die dier geval en die ongelowiges het gejubbel.Maar alles is nie
verlore nie, want uit die as styg 'n groot voël op.Die
voël het neergekyk op die ongelowiges en het vuurand
donderblitse op hulle neergewerp. Dus was die dier
herskape met sy krag vernieu, en die volgelinge van
Mammon het in verskrikking gebeef.’>
<!ENTITY mozilla.from “van Die Boek van Mozilla, 7:15”>

Has it first ENTITY truncated to
in chrome/local/global.mozilla.dtd.po

msgstr “En so uiteidelik het die dier ”f\“>geval en die
ongelowiges het gejubbel.Maar alles is nie verlore nie, want uit die as
styg ’”

It looks like the &apos is read as a terminating signal.

Please see http://www.rtklib.org/roundtriptests/ff_1.0.7_xpi/af-ZA.diff
for a full report.

thanks
-dtf

@davidfraser
Copy link

Have added test to test_dtd2po.py
This happens because ' gets converted to a ’

@davidfraser
Copy link

Fixed in CVS, by moving the apostrophe conversion to dtd2po.py

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@davidfraser @transl8bzimport and others