mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 15:29:20 -05:00
Translations: trim key and value in language files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user