| Summary: | Different contexts for the same string in the report configuration dialog | ||
|---|---|---|---|
| Product: | [Applications] kmymoney | Reporter: | Cristian Oneț <onet.cristian> |
| Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | SVN | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SVN commit 1174446 by conet: BUG: 250968 Avoid the possibility to have two different translations of the same entity while using that entity as a key. Use the chart type as a real ID. M +3 -9 dialogs/kreportconfigurationfilterdlg.cpp M +52 -78 widgets/kmymoneyreportconfigtabchartdecl.ui M +7 -0 widgets/kmymoneyreportconfigtabimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1174446 SVN commit 1174448 by conet: BUG: 250968 Avoid the possibility to have two different translations of the same entity while using that entity as a key. Use the chart type as a real ID. Backport to the stable branch. M +3 -9 dialogs/kreportconfigurationfilterdlg.cpp M +52 -78 widgets/kmymoneyreportconfigtabchartdecl.ui M +7 -0 widgets/kmymoneyreportconfigtabimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1174448 |
Version: SVN trunk (using KDE 4.5.1) OS: Linux kreportconfigurationfilterdlg:422 m_tabChart->m_comboType->setCurrentItem(i18nc("type of graphic chart", "Line"), false); will fail if "type of graphic chart", "Line" is translated differently then "Line", "@item type of chart" which comes from the UI file. Since the two strings have different contexts is is possible to translated them differently thus obtaining the following behaviour: 1. The user configures a report to be a char of type line 2. He reopens the report configuration dialog 3. The chart type will be blang if the two translated values differ Reproducible: Always