Make welcome message translatable

This commit is contained in:
Kim Alvefur
2024-04-27 14:22:39 +02:00
parent b928e74a74
commit 9eb187a951
2 changed files with 13 additions and 3 deletions

View File

@@ -8,8 +8,8 @@
{% block content %}
{% if user_info.is_admin and metrics.users and metrics.users.active_1d <= 1 %}
<aside class="box hint">
<header>Welcome to Snikket!</header>
<p>Now your Snikket instance is up and running, the next step is to invite people to join it. Family, friends, colleagues... you choose!</p>
<header>{% trans %}Welcome to Snikket!{% endtrans %}</header>
<p>{% trans %}Now your Snikket instance is up and running, the next step is to invite people to join it. Family, friends, colleagues... you choose!{% endtrans %}</p>
<a href="/admin/invitations">{% trans %}Create new invitation{% endtrans %}</a>
</aside>
{% endif %}

View File

@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-04-27 14:20+0200\n"
"POT-Creation-Date: 2024-04-27 14:22+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1665,6 +1665,16 @@ msgstr ""
msgid "Operation successful"
msgstr ""
#: snikket_web/templates/user_home.html:11
msgid "Welcome to Snikket!"
msgstr ""
#: snikket_web/templates/user_home.html:12
msgid ""
"Now your Snikket instance is up and running, the next step is to invite "
"people to join it. Family, friends, colleagues... you choose!"
msgstr ""
#: snikket_web/templates/user_home.html:19
msgid "Your account"
msgstr ""