Remove some unnecessary line breaks causing problems with translations.

This commit is contained in:
Jonas Thelemann 2017-03-26 20:26:58 -04:00 committed by Dave Page
parent 66815643a9
commit c391696054
6 changed files with 770 additions and 917 deletions

View File

@ -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

View File

@ -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]

View File

@ -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]

View File

@ -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