mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed bad references to common.i18n (#9402)
no issue - happened during refactoring (search+replace)
This commit is contained in:
parent
0121683fd8
commit
35fbba3bcb
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ _private.JSONErrorRenderer = function JSONErrorRenderer(err, req, res, next) { /
|
|||
};
|
||||
|
||||
_private.ErrorFallbackMessage = function ErrorFallbackMessage(err) {
|
||||
return '<h1>' + common.common.common.i18n.t('errors.errors.oopsErrorTemplateHasError') + '</h1>' +
|
||||
'<p>' + common.common.i18n.t('errors.errors.encounteredError') + '</p>' +
|
||||
return '<h1>' + common.i18n.t('errors.errors.oopsErrorTemplateHasError') + '</h1>' +
|
||||
'<p>' + common.i18n.t('errors.errors.encounteredError') + '</p>' +
|
||||
'<pre>' + escapeExpression(err.message || err) + '</pre>' +
|
||||
'<br ><p>' + common.i18n.t('errors.errors.whilstTryingToRender') + '</p>' +
|
||||
err.statusCode + ' ' + '<pre>' + escapeExpression(err.message || err) + '</pre>';
|
||||
|
|
Loading…
Add table
Reference in a new issue