Bug 347492

Summary: Title is not translated
Product: [Plasma] kdeplasma-addons Reporter: André Marcelo Alvarenga <alvarenga>
Component: timerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: friesoft, kde, simonandric5
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.26
Sentry Crash Report:

Description André Marcelo Alvarenga 2015-05-09 23:25:23 UTC
1) Open Timer Settings
2) Enable "Show title" option (Appearence page)
3) See untranslated title (Timer string) in Timer widget

Reproducible: Always
Comment 1 Bernhard Friedreich 2015-05-20 15:02:27 UTC
Thanks for the report. I can confirm the missing translation. The reason is that the config.xml file isn't translated and therefore the default value is shown.
Comment 2 David Edmundson 2015-05-22 15:54:29 UTC
Will this fix it?
https://git.reviewboard.kde.org/r/123872/
Comment 3 Bernhard Friedreich 2015-07-19 14:33:04 UTC
I've just posted this RR for this bug - sadly it doesn't work and I don't understand why :(
https://git.reviewboard.kde.org/r/124394/
Comment 4 André Marcelo Alvarenga 2015-09-03 02:18:00 UTC
I can get translated title changing default string: Timer.
However, the widget does not load the following translated default values in plasma_applet_org.kde.plasma.timer.po file:

Title: Timer
Text: Timer finished

Tested with Plasma 5.4
Comment 5 Fushan Wen 2022-08-05 15:53:24 UTC
Git commit ba011368af76abc1abbacab1ccce8075e45a6ae1 by Fushan Wen.
Committed on 05/08/2022 at 15:19.
Pushed by ngraham into branch 'master'.

applets/timer: add compact representation

The compact representation has 5 layout forms:

1. inPanel, Horizontal: [Icon][Column to show the title and the
   remaining time]
2. inPanel, Vertical: [Column to show the title and the remaining time
   in seconds]
3. Desktop, width is enough to contain the icon and the remaining time
   in a row: [Icon][Column]
4. Desktop, width is not enough: [Icon]
                                 [Column]
5. Desktop, both width and height are not enough: [Icon]

The added compact representation also enables tab focus in the applet.
Related: bug 301861, bug 304923, bug 360996, bug 395182, bug 399930, bug 430289, bug 452701
FIXED-IN: 5.26

A  +200  -0    applets/timer/package/contents/ui/CompactRepresentation.qml     [License: GPL(v3.0+)]
M  +9    -2    applets/timer/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/ba011368af76abc1abbacab1ccce8075e45a6ae1