This commit is contained in:
1 parent
e6de684f28
commit
9ca290c8ac
1 file changed
+3
@@ -27,3 +27,6 @@ if (!function_exists('tr')) {
|
|||||||
return $GLOBALS['translations'][$key] ?? $key;
|
return $GLOBALS['translations'][$key] ?? $key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Export pour le client (header.php → window.I18N) : pachaConfirm, modules JS, etc.
|
||||||
|
$current_translations_array = $GLOBALS['translations'] ?? [];
|
||||||
Reference in new issue
Block a user