Fix for not loading the translation / some more notice removed (#5569)

This commit is contained in:
Michael Vogel
2018-08-06 12:11:17 +02:00
committed by Tobias Diekershoff
parent ef1c73fb6b
commit 5e61caa34f
2 changed files with 8 additions and 0 deletions

View File

@@ -180,6 +180,8 @@ class L10n extends BaseObject
*/
public static function tt($singular, $plural, $count)
{
$a = self::getApp();
$lang = Config::get('system', 'language');
if (!empty($a->strings[$singular])) {