Skip to content

Commit

Permalink
fixed another translation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
munzili committed May 14, 2022
1 parent 502fa71 commit 2369527
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions templates/lang/language_de.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ DATA="Prüfe ob aktuelle Daten vom Wechselrichter geholt werden kann"
SCAN="Scanne nach Wechselrichtern (optional)"
RESULT_OK="Verbindung OK!"
RESULT_ERROR="Verbindung fehlerhaft!"
OUTPUT_RESULT="Ausgabe"
OUTPUT_ERROR="Fehler"

[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 @@ -35,6 +35,8 @@ DATA="Checkinf if informations about the data can be pulled"
SCAN="Scanning for inverters (optional)"
RESULT_OK="Connection OK!"
RESULT_ERROR="Connection failed!"
OUTPUT_RESULT="Output"
OUTPUT_ERROR="Error"

[LOGFILES]
HEAD="Goodwe Log"
Expand Down
2 changes: 1 addition & 1 deletion webfrontend/htmlauth/testConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function TestError($output, $error)

if($debug)
{
echo "<div style='padding-left:40pt'><b>Fehler</b><br/><pre>" . htmlspecialchars($error) . "</pre><br/><b>Ausgabe</b><pre>" . htmlspecialchars($output) . "</pre></div><br/>";
echo "<div style='padding-left:40pt'><b>{$L['TEST.OUTPUT_ERROR']}</b><br/><pre>" . htmlspecialchars($error) . "</pre><br/><b>{$L['TEST.OUTPUT_RESULT']}</b><pre>" . htmlspecialchars($output) . "</pre></div><br/>";
}
}

Expand Down

0 comments on commit 2369527

Please sign in to comment.