Bug 343936 - Tips in tip of the day window are not translated
Summary: Tips in tip of the day window are not translated
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kconfigwidgets
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 12:58 UTC by Lasse Liehu
Modified: 2016-05-28 07:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.