view website/issues/html/_generic.404.html @ 7750:216662fbaaee

fix(i18n): fix incorrect lookup of some translations The code had: _("some term %s here" % term) this extracts the template, but looks up the string with %s replaced. So the translation is broken. Changed to: _("some term %s here") % term which looks up the template and substitutes in the translation of the template. Found by ruff INT ruleset.
author John Rouillard <rouilj@ieee.org>
date Fri, 01 Mar 2024 14:04:05 -0500
parents 8d595c5486c0
children
line wrap: on
line source

<!-- dollarId: issue.item,v 1.4 2001/08/03 01:19:43 richard Exp dollar-->
<tal:block metal:use-macro="templates/page/macros/icing">
  <title metal:fill-slot="head_title">
  Item Not Found
  </title>
  <tal:block metal:fill-slot="body_title">
  Item Not Found
  </tal:block>

<td class="content" metal:fill-slot="content">
    There is no <span tal:content="context/_classname" /> with id
    <span tal:content="context/id"/>
</td>
</tal:block>

Roundup Issue Tracker: http://roundup-tracker.org/