Merge branch 'fronkdev' into 'master'

Fixed umlauts in translation function

See merge request fronk/thetool!178
This commit is contained in:
Frank Schubert
2024-01-18 14:13:42 +00:00

View File

@@ -286,7 +286,7 @@ function __($_string, $prefix = null) {
global $last_translation_failed;
$last_translation_failed = false;
$string = str_replace(["Ä","Ö","Ü","ß","ä","ö","ü","ss"], ["ae","oe","ue"], strtolower($_string));
$string = str_replace(["Ä","Ö","Ü","ß","ä","ö","ü","ß"], ["ae","oe","ue","ss","ae","oe","ue", "ss"], strtolower($_string));
if(!$lang) {