Translations: trim key and value in language files

This commit is contained in:
bergware
2023-08-08 04:31:47 +02:00
parent 8149104647
commit e9060412b6

View File

@@ -27,6 +27,7 @@ if (file_exists($session)) {
function _($text, $do=-1) {
// PHP translation function _
global $language;
$text = trim($text);
if (!$text) return '';
switch ($do) {
case 0: // date translation