trivial: give string before substitution to gettext (#76727)
gitea/hobo/pipeline/head Something is wrong with the build of this commit
Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
508fcc9999
commit
394ac2988d
|
@ -166,10 +166,8 @@ class Application(models.Model):
|
|||
if not response.ok:
|
||||
rel.set_error(response.status_code)
|
||||
raise ScanError(
|
||||
_(
|
||||
'Failed to scan "%s" (type %s, slug %s) dependencies (%s)'
|
||||
% (el.name, el.type, el.slug, response.status_code)
|
||||
)
|
||||
_('Failed to scan "%s" (type %s, slug %s) dependencies (%s)')
|
||||
% (el.name, el.type, el.slug, response.status_code)
|
||||
)
|
||||
rel.reset_error()
|
||||
for dependency in response.json()['data']:
|
||||
|
|
Loading…
Reference in New Issue