Skip to content

interactiveconsole: set domain for i18n

Domain was not set, as evidenced by the output when run from console:

kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "&Execute" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Plasma" msgid_plural: "" msgctxt: "Toolbar Button to switch to Plasma Scripting Mode"
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "KWin" msgid_plural: "" msgctxt: "Toolbar Button to switch to KWin Scripting Mode"
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Templates" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Desktop Shell Scripting Console" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Editor" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Load" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Use" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Output" msgid_plural: "" msgctxt: ""
kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on X11
kf.windowsystem: static void KX11Extras::setOnDesktop(WId, int) may only be used on X11
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Executing script at %1" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Domain is not set for this string, translation will not work. Please see https://api.kde.org/frameworks/ki18n/html/prg_guide.html msgid: "Runtime: %1ms" msgid_plural: "" msgctxt: ""

Setting the domain enables translations, and cleans up the output from the console.

Merge request reports