Summary: | [Digital] 'Compact date' doesn't respect localized date divider | ||
---|---|---|---|
Product: | [Translations] i18n | Reporter: | markuss <kamikazow> |
Component: | de | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hessijames, jnelson-kde, kevin.kofler, kheyfboris, missive, nucleo, orion, rdieter, stephan.diestelhorst |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.0 | |
Sentry Crash Report: |
Description
markuss
2011-07-03 12:36:40 UTC
Same here, using Kubuntu's 4.7.0 builds. Changing from "compact date" to "short date" seems to display in proper setting. The actual bug would then be that the date format chooser itself is not localised in the settings screen. 4.7.0 on openSUSE has a related problem - in the US the month is before the day, but I see '4/08' (which is weird) not '8/4' or '08/04' -- some consistency and better locale use here would be nice. This is using the 'compact' date display. EASY TO REPRODUCE. Same here with Fedora 16 and 4.7.2 It seems there is a system-wide configuration panel that allows for very fine control in setting up "Long date format" and "Short date format" but there is no corresponding line for the "Compact date format". It's not a systemsettings bug. kde-workspace/plasma/generic/applets/digital-clock/clock.cpp:470 if (m_dateStyle == 1) { //compact date dateString = i18nc("@label Compact date: " "%1 day in the month, %2 month number", "%1/%2", day, month); } So in the end the displayed format depends on the translation and is not configurable by the user. yes, and this is the same for other "non-configurable" formats such as iso... Well, then: 1. there's a bug in the German translation if it doesn't translate "%1/%2" to "%1.%2." in this context ('/'-separated dates are definitely NOT customary in German; if you think Plasma doesn't need to be changed, then we should reassign this to the German l10n team rather than closing it) and 2. I have to wonder whether there really isn't a way to reuse the locale settings here rather than requiring this to be "translated" separately. SVN commit 1267071 by markuss: BUG:277003 M +2 -1 plasma_applet_dig_clock.po WebSVN link: http://websvn.kde.org/?view=rev&revision=1267071 SVN commit 1267073 by markuss: BUG:277003 M +2 -1 plasma_applet_dig_clock.po WebSVN link: http://websvn.kde.org/?view=rev&revision=1267073 OK, I reassigned the bug to i18n-de and fixed it myself. If http://techbase.kde.org/Schedules/KDE4/4.7_Release_Schedule#Thursday.2C_December_1.2C_2011:_KDE_4.7.4_tagging isn't wrong, it's too late for 4.7.4, though. I fixed it in the stable branch anyway but most users will pick the fix up only when they upgrade to 4.8. Thanks Daniel for revealing that it's a translation issue. I'd rather have a compact date configured separatly of short date. E.g. I'd like to see 20-Mon in compact date, and 20-Feb-2014 in short date. |