Using the 'gettext' as oppose to '_', which is not defined in the file
parent
073e310a5a
commit
7f0847b95d
|
@ -1448,7 +1448,7 @@ class ServerNode(PGChildNodeView):
|
|||
info=gettext('WAL replay paused'),
|
||||
data={'in_recovery': True, 'wal_pause': pause}
|
||||
)
|
||||
return gone(errormsg=_('Please connect the server.'))
|
||||
return gone(errormsg=gettext('Please connect the server.'))
|
||||
except Exception as e:
|
||||
current_app.logger.error(
|
||||
'WAL replay pause/resume failed'
|
||||
|
|
Loading…
Reference in New Issue