[frameworks-kholidays] [Bug 392274] New: The library picks the wrong data file for the de_DE locale

Tobias Leupold bugzilla_noreply at kde.org
Sat Mar 24 15:16:01 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=392274

            Bug ID: 392274
           Summary: The library picks the wrong data file for the de_DE
                    locale
           Product: frameworks-kholidays
           Version: git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: tobias.leupold at gmx.de
  Target Milestone: ---

The holidays displayed by the default calendar widget are apparently calculated
using resource files embedded into the kholidays library (why do we use
resouces for this btw?).

For my "de_DE" German locale, the library chooses the "holiday_de-by_de"
resource file and not the (exactly matching) "holiday_de_de" file (After all,
"de-by_de" should not be accessible at all, because I can't choose such a
locale).

I think the problem is located somewhere in HolidayRegion::defaultRegionCode(),
but I don't know (yet) how to debug this.

I'm trying to track this down on my own, but any help would be greatly
appreciated, as simply adding some qDebug() calls won't help here ...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list