fixup! Use specific language for weblate img and link

This commit is contained in:
HackerNCoder 2022-11-03 22:28:35 +01:00
parent 197e68d26a
commit 742d65b9b2

View file

@ -25,7 +25,7 @@
<img src="https://littleroot.net/weblate/widgets/{{ this.weblate }}/{% if this.alt != "en" %}{{this.alt}}{% else %}-{% endif %}/multi-auto.svg" alt="Translation status">
</a>
<div class="mt-3 text-center">
<a href="https://littleroot.net/weblate/engage/{{ this.weblate }}/" class="btn btn-primary mb-2"><i class="fa fa-language" aria-hidden="true"></i> {{ _("Translate") }}</a>
<a href="https://littleroot.net/weblate/engage/{{ this.weblate }}/{% if this.alt != "en" %}{{this.alt}}/{% endif %}" class="btn btn-primary mb-2"><i class="fa fa-language" aria-hidden="true"></i> {{ _("Translate") }}</a>
</div>
</div>
</div>