mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
Unit.pm: fix pct unit format
git-svn-id: https://svn.fhem.de/fhem/trunk@12997 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
157b3d2b07
commit
bb0c44871c
@ -1423,11 +1423,13 @@ my $rtypes = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
pct => {
|
pct => {
|
||||||
ref_base => 25,
|
ref_base => 25,
|
||||||
format => '%i',
|
format => '%i',
|
||||||
symbol => chr(0x0025),
|
symbol => chr(0x0025),
|
||||||
suffix => 'pct',
|
suffix => 'pct',
|
||||||
txt => {
|
tmpl => '%value%' . chr(0x202F) . '%symbol%',
|
||||||
|
tmpl_long => '%value% %txt%',
|
||||||
|
txt => {
|
||||||
de => 'Prozent',
|
de => 'Prozent',
|
||||||
en => 'percent',
|
en => 'percent',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user