]> git.mxchange.org Git - friendica.git/blobdiff - src/App.php
Merge pull request #11480 from annando/gotosocial
[friendica.git] / src / App.php
index e046a0ec576cd2ef1be6e70553cee0132f9feb03..f7c929820d308640f7b3156d684b58d997417d70 100644 (file)
@@ -580,7 +580,7 @@ class App
                try {
                        // Missing DB connection: ERROR
                        if ($this->mode->has(App\Mode::LOCALCONFIGPRESENT) && !$this->mode->has(App\Mode::DBAVAILABLE)) {
-                               throw new HTTPException\InternalServerErrorException('Apologies but the website is unavailable at the moment.');
+                               throw new HTTPException\InternalServerErrorException($this->l10n->t('Apologies but the website is unavailable at the moment.'));
                        }
 
                        if (!$this->mode->isInstall()) {