Ankündigung

Einklappen
Keine Ankündigung bisher.

Translate zeitschaltuhr

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Translate zeitschaltuhr

    Hello,

    I'm using the "zeitschaltuhr" function in Edomi. However it's representing itself in German language in the visu.
    Would it be possible for me to manipulate the visu-elemente so I can translate it to either Swedish or english?

    It's not really a big deal, because I understand thoose words but it would be nice.
    Angehängte Dateien

    #2
    You can give it a try: The strings are hard coded into the VSE php scripts.

    Zeitschaltuhr: /usr/local/edomi/www/admin/vse/22_vse.php

    Code:
    [root@edomi-dev vse]# grep Abbrechen 22_vse.php
                                                            n+="<td><div class='controlButton' onClick='VSE_VSEID_ShowInfo(\"<?echo $json1['elementId'];?>\");'>Abbrechen</div></td>";
                                                            n+="<td><div class='controlButton' onClick='VSE_VSEID_ShowInfo(\"<?echo $json1['elementId'];?>\");'>Abbrechen</div></td>";
    [root@edomi-dev vse]# grep Uhr 22_vse.php
            [var2 = select,1,'Sortierung','0#ID|1#Wochentag/Uhrzeit']
                            //Sortierung: erstes Vorkommen eines Wochentages (und Uhrzeit)
                                            n+="<div style='word-break:break-all;'><?echo sprintf("%02d",$n['hour']);?>:<?echo sprintf("%02d",$n['minute']);?>&nbsp;Uhr</div>";
                            <li>Wochentag/Uhrzeit: die Schaltzeiten werden aufsteigend nach Wochentag und Uhrzeit angezeigt</li>
    ​
    I'm not sure, whether this is the only file you have to change, but maybe it's a good starting point.
    You should make a backup of all changed files, as a new installation will reset your changes

    Kommentar

    Lädt...
    X