Bug 165612 - Improve fuzzy clock localization strings
Summary: Improve fuzzy clock localization strings
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-fuzzyclock (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-03 08:19 UTC by Viesturs Zarins
Modified: 2014-09-22 18:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viesturs Zarins 2008-07-03 08:19:13 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

Hi!

I have a problem translating the fuzzy clock to Latvian.

The .pot file contains strings for each hour (from one to twelve).
These strings are used in three  ways:
"MIN past HOUR"
"MIN to HOUR"
"HOUR o'clock"

In Latvian the translation of HOUR has different case in the last variant.

Plase add two versions of each hour string - one for "past" and "to" and one for "o'clock".
Comment 1 Aaron J. Seigo 2008-07-03 12:53:03 UTC
these same kinds of problems were in the kde3 fuzzy clock and were never addressed. in part this was because of the stupid number of strings it would take to satisfy every language variant.

i really think that the fuzzy clock should be scripted and let people write something for different language groups.

in any case, i wouldn't hold my breath on this one as the kicker applet sat for years like this. =/
Comment 2 Kai Uwe Broulik 2014-09-22 18:22:27 UTC
Git commit baf01118a50d88cb61b1720b35ccb304f13f46c7 by Kai Uwe Broulik.
Committed on 22/09/2014 at 18:17.
Pushed by broulik into branch 'master'.

Use a massive list for every time used

This enables the translators to give a precise translation for the colloquial time,
no need for scripting KLocalizedString anymore.

Also use proper typographical apostrophe for o'clock.

FIXED-IN: 5.1
Related: bug 335094

M  +149  -37   applets/fuzzy-clock/package/contents/ui/FuzzyClock.qml

http://commits.kde.org/kdeplasma-addons/baf01118a50d88cb61b1720b35ccb304f13f46c7