diff --git a/include/class.ticket.php b/include/class.ticket.php index b2a225194708ff9bb1b43efe72f1dd9840885679..13a0feb087adce1bc6cf7e328697c897be340ec3 100644 --- a/include/class.ticket.php +++ b/include/class.ticket.php @@ -216,7 +216,13 @@ EOF; } static function getSources() { - return self::$sources; + static $translated = false; + if (!$translated) { + foreach (static::$sources as $k=>$v) + static::$sources[$k] = __($v); + } + + return static::$sources; } }