[applets/weather] Use unit description from KUnitConversion

Authored by iasensio on Oct 27 2019, 9:17 PM.

Description

[applets/weather] Use unit description from KUnitConversion

Summary:
Use unit description directly from KUnitConversion instead of making a new string.
This avoids duplicating translation strings and improves consistency.
The units name is now description (symbol) also for consistency with krunner

Test Plan:
No behavior changes within the applet
Configure -> Units shows translated description (symbol) for every unit

Reviewers: Plasma, ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D24953

Details

Committed
ngrahamOct 27 2019, 9:17 PM
Reviewer
ngraham
Differential Revision
D24953: [applets/weather] Use unit description from KUnitConversion
Parents
R114:4092da9d1116: Add mmHg to pressure options in weather applet
Branches
Unknown
Tags
Unknown