Skip to content

Commit

Permalink
fixed language tranlsation
Browse files Browse the repository at this point in the history
  • Loading branch information
munzili committed May 14, 2022
1 parent 50b0b62 commit 502fa71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions templates/lang/language_de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ CONNECTION="Prüfe Verbindung zu Wechselrichter"
SENSOR="Prüfe ob Informationen über Wechselrichter Sensoren geholt werden kann"
DATA="Prüfe ob aktuelle Daten vom Wechselrichter geholt werden kann"
SCAN="Scanne nach Wechselrichtern (optional)"
RESULT_OK="Verbindung OK!"
RESULT_ERROR="Verbindung fehlerhaft!"

[LOGFILES]
HEAD="Goodwe Log"
Expand Down
2 changes: 2 additions & 0 deletions templates/lang/language_en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ CONNECTION="Checking connection to the inverter"
SENSOR="Checking if informations about the sensors can be pulled"
DATA="Checkinf if informations about the data can be pulled"
SCAN="Scanning for inverters (optional)"
RESULT_OK="Connection OK!"
RESULT_ERROR="Connection failed!"

[LOGFILES]
HEAD="Goodwe Log"
Expand Down
4 changes: 2 additions & 2 deletions webfrontend/htmlauth/testConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ function runCmd($command, &$output, &$error)
echo "<br/>";

if($gotError)
echo "<p><b style='color:red'>Verbindung fehlerhaft!</b></p>";
echo "<p><b style='color:red'>{$L['TEST.RESULT_ERROR']}</b></p>";
else
echo "<p><b style='color:green'>Verbindung OK!</b></p>";
echo "<p><b style='color:green'>{$L['TEST.RESULT_OK']}</b></p>";

0 comments on commit 502fa71

Please sign in to comment.