mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Merge pull request #5525 from annando/issue-5486
Issue 5486: Fix for non translated notifications
This commit is contained in:
commit
6d39cecc5d
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@ use Friendica\App;
|
|||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Core\L10n;
|
||||
|
||||
// Get options
|
||||
$shortopts = 'sn';
|
||||
|
@ -33,6 +34,9 @@ $a = new App(dirname(__DIR__));
|
|||
|
||||
Config::load();
|
||||
|
||||
$lang = L10n::getBrowserLanguage();
|
||||
L10n::loadTranslationTable($lang);
|
||||
|
||||
// Check the database structure and possibly fixes it
|
||||
check_db(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue