Make changes to use gettext() function correctly.

This commit is contained in:
Aditya Toshniwal
2020-04-15 15:30:33 +05:30
committed by Akshay Joshi
parent 0424f7d962
commit 31a929388b
31 changed files with 76 additions and 52 deletions

View File

@@ -262,7 +262,8 @@ class ExtensionView(PGChildNodeView):
status=410,
success=0,
errormsg=gettext(
"Could not find the required parameter (%s).") % arg
"Could not find the required parameter ({})."
).format(arg)
)
status, res = self.conn.execute_dict(