Diffusion Krita 1148ad2c0995

BUG:374928 Fix loading the translations that fit the system locale

Authored by rempt on Jan 27 2017, 9:40 AM.

Description

BUG:374928 Fix loading the translations that fit the system locale

It is supremely important NOT to use i18n before the application
is created. If i18n is called too early, like when creating a static
KoID, the translation system is initialized before we've had a chance
to add the path to the translations to the XDG_DATA_DIRS variable. Then
the translation system only sees the globally available translations,
and Krita stays untranslated.

Always use ki18n when initializing a static object with a translation.

CCMAIL:kimageshop@kde.org

Details

Committed
remptJan 27 2017, 9:44 AM
Parents
R37:e237bd837013: Remove the static Vc capabilities reporter
Branches
Unknown
Tags
Unknown