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

            Bug ID: 372643
           Summary: kcachegrind in kf5 has untranslated gui messages from
                    catalog kcachegrind_qt.po
           Product: kcachegrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: josef.weidendor...@gmx.de
          Reporter: lu...@hube-lueck.de
  Target Milestone: ---

The messages from subdirs libcore + libviews are extracted using Qt translation
system ( tr() calls ) into the catalog kcachegrind_qt, but this catalog is not
loaded into kcachgrind nor into qcachegrind.
In KF5 a translation catalog named *_qt.po by default is installed as qm
translation catalog and can not be used by a kf5 app any more, such a catalog
has to be loaded using the Qt Translator.

Solutions for this issue:

1) use a function loadTranslation(..) as in
https://cgit.kde.org/marble.git/tree/src/apps/marble-kde/kdemain.cpp to load
the Qt catalog translations into kcachgrind

2) use xgettext for the subdirs libcore + libviews to extract all messages into
one single catalog kcachegrind and merge the existinhg translations in the
catalog kcachegrind_qt into the catalog kcachegrind

>From my pov no 1) is completely useless because there is no application loading
the translation from the catalog kcachegrind_qt not even qcachegrind.

@Josef: what is the preferred solution for the maintainer?

I can file a review request for solution 2) but not for 1) until I see code in
qcachegrind that loads translations from a qm catalog.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to