Skip to content
Snippets Groups Projects
Commit fd35556e authored by Peter Rotich's avatar Peter Rotich
Browse files

i18n: Translate ticket sources

parent 0c294774
No related branches found
No related tags found
No related merge requests found
...@@ -216,7 +216,13 @@ EOF; ...@@ -216,7 +216,13 @@ EOF;
} }
static function getSources() { static function getSources() {
return self::$sources; static $translated = false;
if (!$translated) {
foreach (static::$sources as $k=>$v)
static::$sources[$k] = __($v);
}
return static::$sources;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment