[Differential] [Changed Subscribers] D4606: don't show 0% when no battery

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Feb 14 13:20:22 UTC 2017


broulik added inline comments.

INLINE COMMENTS

> CompactRepresentation.qml:74
>                      anchors.fill: batteryIcon
> -                    text: i18nc("battery percentage below battery icon", "%1%", percent)
> +                    text: batteryContainer.hasBattery ? i18nc("battery percentage below battery icon", "%1%", percent) : "-"
>                      icon: batteryIcon

Please use a – instead of a - and perhaps i18nc so it can be translated to another special character if needed

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D4606

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma
Cc: broulik, davidedmundson, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170214/325b84a0/attachment-0001.html>


More information about the Plasma-devel mailing list