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,
|
status=410,
|
||||||
success=0,
|
success=0,
|
||||||
errormsg=gettext(
|
errormsg=gettext(
|
||||||
"Could not find the required parameter \
|
"Could not find the required parameter (%s)." % arg
|
||||||
(%s)." % arg
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<p>{{ _('You are currently running version {0} of {1}, however the current version is {2}.').format(current_version,
|
<p>{{ _('You are currently running version {0} of {1}, however the current version is {2}.').format(current_version,
|
||||||
product_name, upgrade_version) }}</p>
|
product_name, upgrade_version) }}</p>
|
||||||
<p>{{ _('Please click <a class="alert-link" href="{0}" target="_new">here</a> for more
|
<p>{{ _('Please click <a class="alert-link" href="{0}" target="_new">here</a> for more information.').format(
|
||||||
information.').format(download_url) }}</p>
|
download_url) }}</p>
|
|
@ -259,8 +259,7 @@ class Filemanager(object):
|
||||||
self.trans_id = trans_id
|
self.trans_id = trans_id
|
||||||
self.patherror = encode_json(
|
self.patherror = encode_json(
|
||||||
{
|
{
|
||||||
'Error': gettext('No permission to operate on \
|
'Error': gettext('No permission to operate on specified path.'),
|
||||||
specified path.'),
|
|
||||||
'Code': 0
|
'Code': 0
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue