Fixed umlauts in translation function

This commit is contained in:
Frank Schubert
2024-01-18 15:13:09 +01:00
parent d6477a9452
commit e9f52190e0
+1 -1
View File
@@ -286,7 +286,7 @@ function __($_string, $prefix = null) {
global $last_translation_failed; global $last_translation_failed;
$last_translation_failed = false; $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) { if(!$lang) {