Using the 'gettext' as oppose to '_', which is not defined in these

files.
This commit is contained in:
Ashesh Vashi
2020-04-08 12:30:12 +05:30
parent 7f0847b95d
commit a84a62def8
3 changed files with 7 additions and 5 deletions

View File

@@ -475,7 +475,7 @@ class ExtensionView(PGChildNodeView):
return internal_server_error(errormsg=res)
if len(res['rows']) == 0:
return gone(
_("Could not find the extension on the server.")
gettext("Could not find the extension on the server.")
)
result = res['rows'][0]