D23119: Fix dates being on the wrong locale when setting an application language individually
Yuri Chornoivan
noreply at phabricator.kde.org
Fri Aug 23 09:34:40 BST 2019
yurchor added inline comments.
INLINE COMMENTS
> asemke wrote in kxmlgui_unittest.cpp:1089
> there is no declension in Russian for the nominative case. The name of the month is январь and not января, but it is первого января (on January 1st) and not первого январь.
>
> https://doc.qt.io/qt-5/qlocale.html#monthName - QLocale must return the name of the month, meaning the nominative case and not one of its declensions.
AFAIK this is broken on Qt level. Cf. calendar widget in KOrganizer (Ukrainian)
F7273188: cal.png <https://phabricator.kde.org/F7273188>
https://bugs.kde.org/show_bug.cgi?id=256952
There are new specifiers for the primary and alternative month names in glibc but Qt does not implement them (must be something like "LLLL YYYY" instead of "MMMM YYYY" in formatting). Rafal Luzynski (the author of the glibc patch) in a private message (2018-01-25) promised me to send the patch for Qt but this has not happened yet.
REPOSITORY
R263 KXmlGui
REVISION DETAIL
https://phabricator.kde.org/D23119
To: aacid
Cc: yurchor, apol, kde-frameworks-devel, asemke, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190823/f70bb6ed/attachment.html>
More information about the Kde-frameworks-devel
mailing list