Bug 347492 - Title is not translated
Summary: Title is not translated
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: timer (show other bugs)
Version: 5.3.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-09 23:25 UTC by André Marcelo Alvarenga
Modified: 2022-08-05 15:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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