mirror of
https://github.com/unraid/webgui.git
synced 2026-02-17 22:48:53 -06: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