From b928e74a74cb0b39cd04b5544d3412c18415f5a9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 27 Apr 2024 14:21:32 +0200 Subject: [PATCH 1/2] make extract_translations --- snikket_web/translations/messages.pot | 54 +++++++++++++-------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/snikket_web/translations/messages.pot b/snikket_web/translations/messages.pot index cecfa75..10849b5 100644 --- a/snikket_web/translations/messages.pot +++ b/snikket_web/translations/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-04-19 14:38+0100\n" +"POT-Creation-Date: 2024-04-27 14:20+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -144,109 +144,109 @@ msgstr "" msgid "Group" msgstr "" -#: snikket_web/admin.py:304 +#: snikket_web/admin.py:305 msgid "New invitation link" msgstr "" -#: snikket_web/admin.py:366 +#: snikket_web/admin.py:367 msgid "Revoke" msgstr "" -#: snikket_web/admin.py:392 +#: snikket_web/admin.py:393 msgid "Invitation created" msgstr "" -#: snikket_web/admin.py:408 +#: snikket_web/admin.py:409 msgid "No such invitation exists" msgstr "" -#: snikket_web/admin.py:423 +#: snikket_web/admin.py:424 msgid "Invitation revoked" msgstr "" -#: snikket_web/admin.py:440 snikket_web/admin.py:488 +#: snikket_web/admin.py:441 snikket_web/admin.py:489 #: snikket_web/templates/admin_delete_circle.html:10 #: snikket_web/templates/admin_edit_circle.html:44 msgid "Name" msgstr "" -#: snikket_web/admin.py:445 snikket_web/templates/admin_circles.html:47 +#: snikket_web/admin.py:446 snikket_web/templates/admin_circles.html:47 msgid "Create circle" msgstr "" -#: snikket_web/admin.py:475 +#: snikket_web/admin.py:476 msgid "Circle created" msgstr "" -#: snikket_web/admin.py:493 +#: snikket_web/admin.py:494 msgid "Select user" msgstr "" -#: snikket_web/admin.py:498 +#: snikket_web/admin.py:499 msgid "Update circle" msgstr "" -#: snikket_web/admin.py:504 +#: snikket_web/admin.py:505 msgid "Add user" msgstr "" -#: snikket_web/admin.py:522 snikket_web/admin.py:621 snikket_web/admin.py:669 +#: snikket_web/admin.py:523 snikket_web/admin.py:622 snikket_web/admin.py:670 msgid "No such circle exists" msgstr "" -#: snikket_web/admin.py:559 +#: snikket_web/admin.py:560 msgid "Circle data updated" msgstr "" -#: snikket_web/admin.py:569 +#: snikket_web/admin.py:570 msgid "User added to circle" msgstr "" -#: snikket_web/admin.py:578 +#: snikket_web/admin.py:579 msgid "User removed from circle" msgstr "" -#: snikket_web/admin.py:587 +#: snikket_web/admin.py:588 msgid "Chat removed from circle" msgstr "" -#: snikket_web/admin.py:605 +#: snikket_web/admin.py:606 msgid "Delete circle permanently" msgstr "" -#: snikket_web/admin.py:632 +#: snikket_web/admin.py:633 msgid "Circle deleted" msgstr "" -#: snikket_web/admin.py:646 +#: snikket_web/admin.py:647 msgid "Group chat name" msgstr "" -#: snikket_web/admin.py:651 +#: snikket_web/admin.py:652 msgid "Create group chat" msgstr "" -#: snikket_web/admin.py:681 +#: snikket_web/admin.py:682 msgid "New group chat added to circle" msgstr "" -#: snikket_web/admin.py:748 +#: snikket_web/admin.py:749 msgid "Message contents" msgstr "" -#: snikket_web/admin.py:754 +#: snikket_web/admin.py:755 msgid "Only send to online users" msgstr "" -#: snikket_web/admin.py:758 +#: snikket_web/admin.py:759 msgid "Post to all users" msgstr "" -#: snikket_web/admin.py:762 +#: snikket_web/admin.py:763 msgid "Send preview to yourself" msgstr "" -#: snikket_web/admin.py:784 +#: snikket_web/admin.py:785 msgid "Announcement sent!" msgstr "" From 9eb187a951f4076a429f387758a97dd4670b550a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 27 Apr 2024 14:22:39 +0200 Subject: [PATCH 2/2] Make welcome message translatable --- snikket_web/templates/user_home.html | 4 ++-- snikket_web/translations/messages.pot | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/snikket_web/templates/user_home.html b/snikket_web/templates/user_home.html index 5365277..75db062 100644 --- a/snikket_web/templates/user_home.html +++ b/snikket_web/templates/user_home.html @@ -8,8 +8,8 @@ {% block content %} {% if user_info.is_admin and metrics.users and metrics.users.active_1d <= 1 %} {% endif %} diff --git a/snikket_web/translations/messages.pot b/snikket_web/translations/messages.pot index 10849b5..acf6d70 100644 --- a/snikket_web/translations/messages.pot +++ b/snikket_web/translations/messages.pot @@ -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 \n" "Language-Team: LANGUAGE \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 ""