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
Showing
- krita/main.cc 6 additions, 6 deletionskrita/main.cc
- libs/image/brushengine/kis_standard_uniform_properties_factory.cpp 81 additions, 76 deletions...e/brushengine/kis_standard_uniform_properties_factory.cpp
- libs/image/brushengine/kis_standard_uniform_properties_factory.h 14 additions, 13 deletions...age/brushengine/kis_standard_uniform_properties_factory.h
- libs/ui/kis_composite_ops_model.cc 1 addition, 1 deletionlibs/ui/kis_composite_ops_model.cc
Loading
Please register or sign in to comment