Commit a703a5d8 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix mit den neuen Hinweisen

Erste Sprachdatei eingefügt
parent 16a569cd
...@@ -152,6 +152,7 @@ class LanguageController extends Controller ...@@ -152,6 +152,7 @@ class LanguageController extends Controller
private function createHints($t, $to) private function createHints($t, $to)
{ {
foreach ($t as $key => $langTexts) { foreach ($t as $key => $langTexts) {
if ($langTexts !== "") {
foreach ($langTexts as $lang => $text) { foreach ($langTexts as $lang => $text) {
if ($lang !== $to) { if ($lang !== $to) {
if (preg_match("/\s:\S+/si", $text)) { if (preg_match("/\s:\S+/si", $text)) {
...@@ -162,6 +163,7 @@ class LanguageController extends Controller ...@@ -162,6 +163,7 @@ class LanguageController extends Controller
} }
} }
} }
}
return $t; return $t;
} }
......
<?php
return [
"failed" => "Die eingegebenen Zugangsdaten sind uns nicht bekannt.",
"throttle" => "Zu viele Loginversuche. Versuchen Sie es in :seconds noch einmal.",
];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment