mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Using the 'gettext' as oppose to '_', which is not defined in the file
This commit is contained in:
parent
073e310a5a
commit
7f0847b95d
@ -1448,7 +1448,7 @@ class ServerNode(PGChildNodeView):
|
|||||||
info=gettext('WAL replay paused'),
|
info=gettext('WAL replay paused'),
|
||||||
data={'in_recovery': True, 'wal_pause': pause}
|
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:
|
except Exception as e:
|
||||||
current_app.logger.error(
|
current_app.logger.error(
|
||||||
'WAL replay pause/resume failed'
|
'WAL replay pause/resume failed'
|
||||||
|
Loading…
Reference in New Issue
Block a user