make erromessages translateable

This commit is contained in:
Jakobus Schürz 2023-03-11 17:26:00 +01:00
parent 7daecf6741
commit 9140914a24
3 changed files with 18 additions and 2 deletions

View file

@ -253,6 +253,12 @@ 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)'),
]) . $this->page['htmlhead'];
}