Issue 5486: Fix for non translated notifications

This commit is contained in:
Michael 2018-07-30 01:01:26 +00:00
parent 02d4b1098e
commit d244290d1f

View file

@ -9,6 +9,7 @@ use Friendica\App;
use Friendica\Core\Addon; use Friendica\Core\Addon;
use Friendica\Core\Config; use Friendica\Core\Config;
use Friendica\Core\Worker; use Friendica\Core\Worker;
use Friendica\Core\L10n;
// Get options // Get options
$shortopts = 'sn'; $shortopts = 'sn';
@ -33,6 +34,9 @@ $a = new App(dirname(__DIR__));
Config::load(); Config::load();
$lang = L10n::getBrowserLanguage();
L10n::loadTranslationTable($lang);
// Check the database structure and possibly fixes it // Check the database structure and possibly fixes it
check_db(true); check_db(true);