https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d4b10
)
Issue 5486: Fix for non translated notifications
author
Michael
<heluecht@pirati.ca>
Mon, 30 Jul 2018 01:01:26 +0000
(
01:01
+0000)
committer
Michael
<heluecht@pirati.ca>
Mon, 30 Jul 2018 01:01:26 +0000
(
01:01
+0000)
bin/worker.php
patch
|
blob
|
history
diff --git
a/bin/worker.php
b/bin/worker.php
index
f8900f3
..
ceab479
100755
(executable)
--- a/
bin/worker.php
+++ b/
bin/worker.php
@@
-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);