[SOLVED] how to change the text of a virtual counter?

Moderator: leecollings

Post Reply
EricT
Posts: 30
Joined: Tuesday 01 May 2018 8:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9440
Location: Rijen, The Netherlands
Contact:

[SOLVED] how to change the text of a virtual counter?

Post by EricT »

Hi all,

I want to change the text "Verbruik" and "Last seen" of my virtual counter (See attachment). Can anyone tell me where to edit it?

Thanks,

Eric
Attachments
verbruik en last seen.png
verbruik en last seen.png (14.65 KiB) Viewed 931 times
Last edited by EricT on Tuesday 05 June 2018 8:42, edited 1 time in total.
if it was easy everybody would do it
EricT
Posts: 30
Joined: Tuesday 01 May 2018 8:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9440
Location: Rijen, The Netherlands
Contact:

Re: how to change the text of a virtual counter?

Post by EricT »

I have located the "Last seen" in the file domoticz/www/css/legacy.css thus I have that fixed. If someone can tell me where "Verbruik" is located it will be very helpfull.
if it was easy everybody would do it
EricT
Posts: 30
Joined: Tuesday 01 May 2018 8:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9440
Location: Rijen, The Netherlands
Contact:

Re: [SOLVED] how to change the text of a virtual counter?

Post by EricT »

I have located "Verbruik" in the compressed file: domoticz/www.i18n/domoticz-nl.sjon.gz. I have replaced "Verbruik" (line 312 in the compressed file) by "Aantal vandaag" by using a json editor and replaced the original file by the modified file (see attached file for the result).
Attachments
Aantal vandaag - Laatst gezien.png
Aantal vandaag - Laatst gezien.png (9.61 KiB) Viewed 872 times
if it was easy everybody would do it
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest