mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Mark error message as translatable
This commit is contained in:
parent
322b7c856c
commit
e698ebf359
2 changed files with 89 additions and 85 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue