Commit e76ed74f authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix localization. Idea by Victor Ryzhykh.

parent b8ed517e
...@@ -39,7 +39,7 @@ Item { ...@@ -39,7 +39,7 @@ Item {
return PlasmaCore.Types.PassiveStatus; return PlasmaCore.Types.PassiveStatus;
} }
Plasmoid.toolTipMainText: i18n('Night Color Control') Plasmoid.toolTipMainText: i18n("Night Color Control")
Plasmoid.toolTipSubText: { Plasmoid.toolTipSubText: {
if (inhibitor.state == Inhibitor.Inhibited) { if (inhibitor.state == Inhibitor.Inhibited) {
return i18n("Night Color is inhibited"); return i18n("Night Color is inhibited");
...@@ -53,7 +53,7 @@ Item { ...@@ -53,7 +53,7 @@ Item {
if (!monitor.running) { if (!monitor.running) {
return i18n("Night Color is not running"); return i18n("Night Color is not running");
} }
return i18n('Night Color is active (%1K)', monitor.currentTemperature); return i18n("Night Color is active (%1K)", monitor.currentTemperature);
} }
Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment