Merge branch 'fronkdev' into 'master'
Fixed umlauts in translation function See merge request fronk/thetool!178
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user