Skip to content

Modules/energy: Fix percentage localization

Ismael Asensio requested to merge work/iasensio/fix-percentages-i18n into master

We cannot localize the percentages when declaring the data model as we still don't have the actual values, so make the "%" unit a special case and delay the localization until they are available.

This fixes the battery details not showing up while keeping the intended functionallity

Merge request reports