make errormessages modular and better

This commit is contained in:
Jakobus Schürz 2023-03-11 19:23:48 +01:00
parent 88f21c5892
commit f8018f8dfe
3 changed files with 15 additions and 16 deletions

View file

@ -253,12 +253,11 @@ class Page implements ArrayAccess
'$touch_icon' => $touch_icon,
'$block_public' => intval($config->get('system', 'block_public')),
'$stylesheets' => $this->stylesheets,
'$likeNetError' => $l10n->t('Like not successfull (Network error)'),
'$dislikeNetError' => $l10n->t('Dislike not successfull (Network error)'),
'$annonNetError' => $l10n->t('Sharing not successfull (Network error)'),
'$likeSrvError' => $l10n->t('Like not successfull (Backend error)'),
'$dislikeSrvError' => $l10n->t('Dislike not successfull (Backend error)'),
'$annonSrvError' => $l10n->t('Sharing not successfull (Backend error)'),
'$likeError' => $l10n->t('Like not successfull'),
'$dislikeError' => $l10n->t('Dislike not successfull'),
'$announceError' => $l10n->t('Sharing not successfull'),
'$srvError' => $l10n->t('Backend error'),
'$netError' => $l10n->t('Network error'),
]) . $this->page['htmlhead'];
}