Skip to content

Commit

Permalink
Make welcome message translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zash committed Apr 27, 2024
1 parent b928e74 commit 9eb187a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions snikket_web/templates/user_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
12 changes: 11 additions & 1 deletion snikket_web/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>\n"
Expand Down Expand Up @@ -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 ""
Expand Down

0 comments on commit 9eb187a

Please sign in to comment.