appstore: initialize i18n stuff
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
{% block main %}
|
||||
{% set locale = 'en' %}
|
||||
|
||||
<div class="mx-auto w-full text-center p-8">
|
||||
<img src="{{ url_for('static', filename='ynh_logo_black.svg') }}" class="w-32 mx-auto" />
|
||||
<h2 class="text-2xl font-bold text-gray-900">
|
||||
Application Store
|
||||
{{ _("Application Store") }}
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
@ -16,7 +15,7 @@
|
||||
class="h-full relative block overflow-hidden hover:bg-gray-200 pt-12"
|
||||
>
|
||||
<h3 class="text-md font-bold text-gray-900">
|
||||
Browse all applications
|
||||
{{ _("Browse all applications") }}
|
||||
</h3>
|
||||
</a>
|
||||
</div>
|
||||
@ -28,10 +27,10 @@
|
||||
>
|
||||
<h3 class="text-md font-bold text-gray-900">
|
||||
<i class="fa fa-{{ category['icon'] }}" aria-hidden="true"></i>
|
||||
{{ category['title'][locale] }}
|
||||
{{ category['title']|localize }}
|
||||
</h3>
|
||||
<p class="mx-auto max-w-[40ch] text-xs text-gray-500">
|
||||
{{ category['description'][locale] }}
|
||||
{{ category['description']|localize }}
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user