mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 23:36:48 -06:00
Remove some unnecessary line breaks causing problems with translations.
This commit is contained in:
parent
66815643a9
commit
c391696054
@ -877,11 +877,8 @@ shifted to the another schema.
|
||||
inherits=True)
|
||||
|
||||
if not old_data:
|
||||
return gone(gettext("""
|
||||
Could not find the foreign table in the database.
|
||||
It may have been removed by another user or
|
||||
shifted to the another schema.
|
||||
"""))
|
||||
return gone(gettext("Could not find the foreign table in the database." +
|
||||
" It may have been removed by another user or shifted to the another schema."))
|
||||
|
||||
# Prepare dict of columns with key = column's attnum
|
||||
# Will use this in the update template when any column is
|
||||
|
@ -627,9 +627,7 @@ class FtsConfigurationView(PGChildNodeView):
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
if len(res['rows']) == 0:
|
||||
return gone(_("""
|
||||
Could not find the FTS Configuration node.
|
||||
"""))
|
||||
return gone(_("Could not find the FTS Configuration node."))
|
||||
|
||||
old_data = res['rows'][0]
|
||||
|
||||
|
@ -369,9 +369,7 @@ class FtsDictionaryView(PGChildNodeView):
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
if len(res['rows']) == 0:
|
||||
return gone(_("""
|
||||
Could not find the FTS Dictionary node in the database node.
|
||||
"""))
|
||||
return gone(_("Could not find the FTS Dictionary node in the database node."))
|
||||
|
||||
if res['rows'][0]['options'] is not None:
|
||||
res['rows'][0]['options'] = self.tokenize_options(res['rows'][0]['options'])
|
||||
@ -612,9 +610,7 @@ class FtsDictionaryView(PGChildNodeView):
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
if len(res['rows']) == 0:
|
||||
return gone(_("""
|
||||
Could not find the FTS Dictionary node.
|
||||
"""))
|
||||
return gone(_("Could not find the FTS Dictionary node."))
|
||||
|
||||
old_data = res['rows'][0]
|
||||
|
||||
|
@ -303,9 +303,7 @@ class FtsParserView(PGChildNodeView):
|
||||
return internal_server_error(errormsg=res)
|
||||
|
||||
if len(res['rows']) == 0:
|
||||
return gone(_("""
|
||||
Could not find the FTS Parser node in the database node.
|
||||
"""))
|
||||
return gone(_("Could not find the FTS Parser node in the database node."))
|
||||
|
||||
return ajax_response(
|
||||
response=res['rows'][0],
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user