[kde-doc-english] [Bug 247418] New: xml2pot does not extract date and releaseinfo for translation

Yuri Chornoivan yurchor at ukr.net
Wed Aug 11 20:45:22 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=247418

           Summary: xml2pot does not extract date and releaseinfo for
                    translation
           Product: docs
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-doc-english at kde.org
        ReportedBy: yurchor at ukr.net


Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

Most of KDE DocBooks contain information on date and release. For example
(taken from kdebase-runtime/khelpcenter)

<date>2010-07-18</date>
<releaseinfo>&kde; 4.5</releaseinfo>

As KDE translated in many languages, this information should be properly
localized. Regretfully, xml2pot does not extract corresponding strings for
translation if they are inside "bookinfo" or "articleinfo" tags. Examples:

Bookinfo case:
kdebase/runtime/doc/khelpcenter/index.docbook

Articleinfo case:
kdebase/runtime/doc/kcontrol/attica/index.docbook

Reproducible: Always

Steps to Reproduce:
Execute for the above-mentioned docbooks (poxml package should be installed
first):
xml2pot index.docbook > test.pot

Actual Results:  
Date and releaseinfo do not extracted in POT, thus are untranslatable.

Expected Results:  
Date and releaseinfo extracted for translation.

xml2pot is used in KDE translation workflow, so all official translated KDE
docs are shipped with untranslated date and release information.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the kde-doc-english mailing list