Skip to content

Commit

Permalink
Fix "and" not being translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Dec 3, 2023
1 parent b80ce88 commit a1a03d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/packages/remove.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 class="mt-0">{{ _("Remove %(title)s", title=package.title) }}</h2>
{% set hard_deps_links -%}
{%- for dep in hard_deps -%}
{%- if not loop.first and loop.length > 2 %}, {% endif -%}
{%- if loop.last and loop.length > 1 %} and {% endif -%}
{%- if loop.last and loop.length > 1 %} {{ _("and") }} {% endif -%}
<a href="{{ dep.get_url('packages.view') }}">{{ dep.title }}</a>
{%- endfor -%}
{%- endset %}
Expand Down

0 comments on commit a1a03d6

Please sign in to comment.