Skip to content
  • Daniel Vrátil's avatar
    Load translation catalog and fix use of i18n in global scope · ae56f6c1
    Daniel Vrátil authored
    In order for KLocale to work, i18n() must not be used
    in global static variables, because these are initialised
    before KLocale. Use I18N_NOOP instead to mark the string
    for translation and use i18n to perform the actual
    lookup of the translated string only before displaying
    the string to user.
    
    Reviewed-By: David Edmundson
    BUG: 318190
    FIXED-IN: 0.6.1
    ae56f6c1