Bug 343936

Summary: Tips in tip of the day window are not translated
Product: [Frameworks and Libraries] frameworks-kconfigwidgets Reporter: Lasse Liehu <lasse.liehu>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: lueck, simonandric5
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lasse Liehu 2015-02-08 12:58:15 UTC
In kconfigwidgets/src/ktipdialog.cpp the tips are translated using a tr call, but otherwise KConfigWidgets uses KI18n for internationalization. Also translation of tips doesn't currently work with at least some KF5-based applications that use KI18n. Examples are Kig and Parley.

Those two tr calls can be changed to i18n calls, but then the calls need to be connected to the correct catalog where the tips are translated.

Tested with kconfigwidgets from git master, updated today, 2014-02-08.

Reproducible: Always

Steps to Reproduce:
1. Use x-test as translation language.
2. Open a KF5-based application that uses Tip of the Day (for example Kig or Parley).
3. Open Tip of the Day window.

Actual Results:  
Tips appear in English.

Expected Results:  
Tips appear in x-test, that is, they have two x characters at the beginning and at the end.