Un-split some strings for translateability. And so begins the battle between gettext and pep8...
parent
6d9cfa6679
commit
b8566a0127
|
@ -247,8 +247,7 @@ class ForeignTableView(PGChildNodeView, DataTypeReader):
|
|||
status=410,
|
||||
success=0,
|
||||
errormsg=gettext(
|
||||
"Could not find the required parameter \
|
||||
(%s)." % arg
|
||||
"Could not find the required parameter (%s)." % arg
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p>{{ _('You are currently running version {0} of {1}, however the current version is {2}.').format(current_version,
|
||||
product_name, upgrade_version) }}</p>
|
||||
<p>{{ _('Please click <a class="alert-link" href="{0}" target="_new">here</a> for more
|
||||
information.').format(download_url) }}</p>
|
||||
<p>{{ _('Please click <a class="alert-link" href="{0}" target="_new">here</a> for more information.').format(
|
||||
download_url) }}</p>
|
|
@ -259,8 +259,7 @@ class Filemanager(object):
|
|||
self.trans_id = trans_id
|
||||
self.patherror = encode_json(
|
||||
{
|
||||
'Error': gettext('No permission to operate on \
|
||||
specified path.'),
|
||||
'Error': gettext('No permission to operate on specified path.'),
|
||||
'Code': 0
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue