mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -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)
|
inherits=True)
|
||||||
|
|
||||||
if not old_data:
|
if not old_data:
|
||||||
return gone(gettext("""
|
return gone(gettext("Could not find the foreign table in the database." +
|
||||||
Could not find the foreign table in the database.
|
" It may have been removed by another user or shifted to the another schema."))
|
||||||
It may have been removed by another user or
|
|
||||||
shifted to the another schema.
|
|
||||||
"""))
|
|
||||||
|
|
||||||
# Prepare dict of columns with key = column's attnum
|
# Prepare dict of columns with key = column's attnum
|
||||||
# Will use this in the update template when any column is
|
# Will use this in the update template when any column is
|
||||||
|
@ -627,9 +627,7 @@ class FtsConfigurationView(PGChildNodeView):
|
|||||||
return internal_server_error(errormsg=res)
|
return internal_server_error(errormsg=res)
|
||||||
|
|
||||||
if len(res['rows']) == 0:
|
if len(res['rows']) == 0:
|
||||||
return gone(_("""
|
return gone(_("Could not find the FTS Configuration node."))
|
||||||
Could not find the FTS Configuration node.
|
|
||||||
"""))
|
|
||||||
|
|
||||||
old_data = res['rows'][0]
|
old_data = res['rows'][0]
|
||||||
|
|
||||||
|
@ -369,9 +369,7 @@ class FtsDictionaryView(PGChildNodeView):
|
|||||||
return internal_server_error(errormsg=res)
|
return internal_server_error(errormsg=res)
|
||||||
|
|
||||||
if len(res['rows']) == 0:
|
if len(res['rows']) == 0:
|
||||||
return gone(_("""
|
return gone(_("Could not find the FTS Dictionary node in the database node."))
|
||||||
Could not find the FTS Dictionary node in the database node.
|
|
||||||
"""))
|
|
||||||
|
|
||||||
if res['rows'][0]['options'] is not None:
|
if res['rows'][0]['options'] is not None:
|
||||||
res['rows'][0]['options'] = self.tokenize_options(res['rows'][0]['options'])
|
res['rows'][0]['options'] = self.tokenize_options(res['rows'][0]['options'])
|
||||||
@ -612,9 +610,7 @@ class FtsDictionaryView(PGChildNodeView):
|
|||||||
return internal_server_error(errormsg=res)
|
return internal_server_error(errormsg=res)
|
||||||
|
|
||||||
if len(res['rows']) == 0:
|
if len(res['rows']) == 0:
|
||||||
return gone(_("""
|
return gone(_("Could not find the FTS Dictionary node."))
|
||||||
Could not find the FTS Dictionary node.
|
|
||||||
"""))
|
|
||||||
|
|
||||||
old_data = res['rows'][0]
|
old_data = res['rows'][0]
|
||||||
|
|
||||||
|
@ -303,9 +303,7 @@ class FtsParserView(PGChildNodeView):
|
|||||||
return internal_server_error(errormsg=res)
|
return internal_server_error(errormsg=res)
|
||||||
|
|
||||||
if len(res['rows']) == 0:
|
if len(res['rows']) == 0:
|
||||||
return gone(_("""
|
return gone(_("Could not find the FTS Parser node in the database node."))
|
||||||
Could not find the FTS Parser node in the database node.
|
|
||||||
"""))
|
|
||||||
|
|
||||||
return ajax_response(
|
return ajax_response(
|
||||||
response=res['rows'][0],
|
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