This commit is contained in:
2026-05-15 20:23:25 +02:00
parent c980004309
commit bc5cae7e82
74 changed files with 563 additions and 130 deletions

View File

@@ -22,7 +22,7 @@ class Dictionary {
$langs = Router::$arrayLang;
//$langs = array_filter($langs, create_function('$x', 'return $x != "' . $lang . '";'));
$langs = array_filter($langs, function($x) {return $x != "' ".self::$lang.'"';});
$langs = array_filter($langs, function($x) {return $x != self::$lang;});
foreach ($langs as $lang) {
self::$allLangs[$lang] = MfDictionaryDAL::GetAllVariables($lang, 0, $location);
}
@@ -44,6 +44,9 @@ class Dictionary {
}
public static function CheckAndAdd($keyword, $location) {
if (Core::GetAppSafeMode()) {
return;
}
// $lang = 'pl';
$lang = Router::$curLang;