mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Various misc fixes:
- Using the 'gettext' as oppose to '_', which is not defined - Define missing variables - Fixed escape character in string with double quote - Removed some dead code in a test case - Removed unnecessary self assignment Includes some fixes for Accessibility improvements - Use semantic markup to mark emphasized or special text - Added hidden legend in <fieldset> for better screen reader support
This commit is contained in:
@@ -485,7 +485,7 @@ class TablespaceView(PGChildNodeView):
|
||||
|
||||
if len(res['rows']) == 0:
|
||||
return gone(
|
||||
_("Could not find the tablespace on the server.")
|
||||
gettext("Could not find the tablespace on the server.")
|
||||
)
|
||||
|
||||
# Making copy of output for further processing
|
||||
@@ -550,7 +550,7 @@ class TablespaceView(PGChildNodeView):
|
||||
|
||||
if len(res['rows']) == 0:
|
||||
return gone(
|
||||
_("Could not find the tablespace on the server.")
|
||||
gettext("Could not find the tablespace on the server.")
|
||||
)
|
||||
# Making copy of output for future use
|
||||
old_data = dict(res['rows'][0])
|
||||
|
||||
Reference in New Issue
Block a user