diff --git a/templates/lang/language_de.ini b/templates/lang/language_de.ini index 9e80fe2..8feea1c 100644 --- a/templates/lang/language_de.ini +++ b/templates/lang/language_de.ini @@ -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" diff --git a/templates/lang/language_en.ini b/templates/lang/language_en.ini index cadf232..cb9de85 100644 --- a/templates/lang/language_en.ini +++ b/templates/lang/language_en.ini @@ -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" diff --git a/webfrontend/htmlauth/testConnection.php b/webfrontend/htmlauth/testConnection.php index 14a03d0..eeb4fe6 100644 --- a/webfrontend/htmlauth/testConnection.php +++ b/webfrontend/htmlauth/testConnection.php @@ -150,6 +150,6 @@ function runCmd($command, &$output, &$error) echo "
"; if($gotError) - echo "

Verbindung fehlerhaft!

"; + echo "

{$L['TEST.RESULT_ERROR']}

"; else - echo "

Verbindung OK!

"; \ No newline at end of file + echo "

{$L['TEST.RESULT_OK']}

"; \ No newline at end of file