Bug 375168 - kajongg uses kde4 translation catalogs and kde4 method to load lib catalog
Summary: kajongg uses kde4 translation catalogs and kde4 method to load lib catalog
Status: RESOLVED FIXED
Alias: None
Product: kajongg
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Wolfgang Rohdewald
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 06:16 UTC by Burkhard Lück
Modified: 2017-01-21 00:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burkhard Lück 2017-01-17 06:16:41 UTC
kajongg master checkout:

src/kdestub.py
src/kdestub.py:759:                     'share/locale-kdelibs4',
src/kdestub.py:1054:                    for context in ('kajongg', 'libkmahjongg', 'kdelibs4', 'libphonon', 'kio4', 'kdeqt', 'libc'):

kf5 has no catalogs kdelibs4 kio4 kdeqt libphonon

src/tileset.py:64:            KGlobal.locale().insertCatalog("libkmahjongglib")
src/background.py:55:            KGlobal.locale().insertCatalog("libkmahjongglib")

afaik insertCatalog is from kde4, C++ libraries have to use TRANSLATION_DOMAIN in the library, see https://api.kde.org/frameworks/ki18n/html/prg_guide.html