mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-31 18:27:30 +01:00
Fix "and" not being translatable
This commit is contained in:
parent
b80ce88bc0
commit
a1a03d6de4
@ -25,7 +25,7 @@ Remove {{ package.title }}
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user