Closed Bug 299820 Opened 19 years ago Closed 18 years ago

Translate Toolkit confused by some DTDs

Categories

(Mozilla Localizations :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ogi, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; bg; rv:1.8b2) Gecko/20050704 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; bg; rv:1.8b2) Gecko/20050704 Firefox/1.0+

The following files of Mozilla Thunderbird nightly build makes problems to
Translate Toolkit tools for converting to PO files:

mail/locales/en-US/chrome/messenger/msgAccountCentral.dtd:

<!ENTITY accountsSectionHdr.label     "Accounts"> <!ENTITY
subscribeImapFolders.label   "Manage folder subscriptions">

(In one line.)

mozilla/mail/locales/en-US/chrome/messenger/subscribe.dtd:

<!-- commenting out until bug 38906 is fixed
<!ENTITY messagesHeader.label         "Messages"> -->

(Better: <!-- <!ENTITY ... "..."> -->)

Please, although Translate Toolkit is not "official" tool of Mozilla, fix these
issues.

Reproducible: Always

Steps to Reproduce:



Expected Results:  
Small changes to DTDs better be made.
Unfortunately, "<!-- <!ENTITY" doesn't help.  Something like "<! ENTITY" should
be used.
The first condition ie that <!ENTITY > tags start on the same line as the previous is still present in the toolkit.  It is unlikely that we will solve this corner case as the source DTD should be corrected.  I've raised this bug http://bugs.wordforge.org/show_bug.cgi?id=225 which tracks that issue.

The second case of respecting XML comments is fixed in the latest Toolkit (I only tested against head)

Thanks for the report, I stumbled across this, please report future bugs against the toolkit at http://bugs.wordforge.org
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.