kcms/energy: Make graph vertical labels translatable
Some languages place the % sign before the value, so a fixed translated yUnit property doesn't work.
Instead, we can pass a closure/lambda that compose the translated string to the graph
Join us at Akademy to celebrate KDE's 30th anniversary! Travel support requests are open till May 31st. Register now.
Some languages place the % sign before the value, so a fixed translated yUnit property doesn't work.
Instead, we can pass a closure/lambda that compose the translated string to the graph