Skip to content

Commit

Permalink
[FIX] Confusing label for password reset hedyorg#4568. Added new labe…
Browse files Browse the repository at this point in the history
…ls for password reset. (hedyorg#4578)

**Description**

Added two new labels to reset.html, new_password and new_password_repeat. Modified their msgstr for English and Hindi.

**Fixes _issue or discussion number_**

hedyorg#4568

**How to test**

* Open the password reset page (language should be English/Hindi), the new labels will appear.
  • Loading branch information
devansh83 authored Oct 3, 2023
1 parent a432e77 commit a5c527f
Show file tree
Hide file tree
Showing 49 changed files with 1,193 additions and 804 deletions.
13 changes: 5 additions & 8 deletions messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-09-22 21:29+0200\n"
"POT-Creation-Date: 2023-10-02 19:31+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"
"Generated-By: Babel 2.12.1\n"

msgid "Access Before Assign"
msgstr ""
Expand Down Expand Up @@ -908,6 +908,9 @@ msgstr ""
msgid "new_password"
msgstr ""

msgid "new_password_repeat"
msgstr ""

msgid "newline"
msgstr ""

Expand Down Expand Up @@ -1463,12 +1466,6 @@ msgstr ""
msgid "title_class live_statistics"
msgstr ""

msgid "title_class logs"
msgstr ""

msgid "title_class statistics"
msgstr ""

msgid "title_class-overview"
msgstr ""

Expand Down
4 changes: 2 additions & 2 deletions templates/reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<form id="reset" class="flex flex-col items-center gap-2">
<h2>{{_('reset_password')}}</h2>
<div class="w-full flex px-8 flex-row items-center justify-center gap-2">
<label class="inline-block w-80">{{_('password')}}</label>
<label class="inline-block w-80">{{_('new_password')}}</label>
<input class="inline-block w-full px-2 py-1 rounded-lg border-gray-400" id="password" name="password" minlength="6" type=password required>
</div>
<div class="w-full flex px-8 flex-row items-center justify-center gap-2">
<label class="inline-block w-80">{{_('password_repeat')}}</label>
<label class="inline-block w-80">{{_('new_password_repeat')}}</label>
<input class="inline-block w-full px-2 py-1 rounded-lg border-gray-400" id="password_repeat" name="password_repeat" minlength="6" type=password required>
</div>
<input type="hidden" id="username" name="username" value="{{ reset_username }}">
Expand Down
32 changes: 19 additions & 13 deletions translations/ar/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@

msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-22 21:29+0200\n"
"POT-Creation-Date: 2023-10-02 19:31+0530\n"
"PO-Revision-Date: 2023-09-23 08:40+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: ar <[email protected]>\n"
"Language: ar\n"
"Language-Team: ar <[email protected]>\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : "
"n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 5.1-dev\n"
"Generated-By: Babel 2.11.0\n"
"Generated-By: Babel 2.12.1\n"

#, fuzzy
msgid "Access Before Assign"
Expand Down Expand Up @@ -269,6 +269,9 @@ msgstr "{timestamp} ago"
msgid "agree_invalid"
msgstr "يجب أن توافق على شروط الخصوصية."

msgid "agree_third_party"
msgstr ""

msgid "agree_with"
msgstr "أوافق على"

Expand Down Expand Up @@ -1149,6 +1152,9 @@ msgstr "مجموعة ضمن مجموعة"
msgid "new_password"
msgstr "كلمة المرور الجديدة"

msgid "new_password_repeat"
msgstr ""

msgid "newline"
msgstr "سطر جديد"

Expand Down Expand Up @@ -1778,13 +1784,6 @@ msgstr "Hedy - Grid overview"
msgid "title_class live_statistics"
msgstr "Hedy - Live Statistics"

#, fuzzy
msgid "title_class logs"
msgstr "هيدي - انضم الى صف"

msgid "title_class statistics"
msgstr "احصائياتي"

msgid "title_class-overview"
msgstr "هيدي - نظرة عامة على الصف"

Expand Down Expand Up @@ -2131,3 +2130,10 @@ msgstr "Your program"

#~ msgid "visit_own_public_profile"
#~ msgstr "ليس لديك نص ملف شخصي عام حتى الآن ..."

#~ msgid "title_class logs"
#~ msgstr "هيدي - انضم الى صف"

#~ msgid "title_class statistics"
#~ msgstr "احصائياتي"

31 changes: 18 additions & 13 deletions translations/bg/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@

msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-22 21:29+0200\n"
"POT-Creation-Date: 2023-10-02 19:31+0530\n"
"PO-Revision-Date: 2023-09-23 08:40+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: bg <[email protected]>\n"
"Language: bg\n"
"Language-Team: bg <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.1-dev\n"
"Generated-By: Babel 2.11.0\n"
"Generated-By: Babel 2.12.1\n"

#, fuzzy
msgid "Access Before Assign"
Expand Down Expand Up @@ -298,6 +298,9 @@ msgstr "{timestamp} ago"
msgid "agree_invalid"
msgstr "You have to agree with the privacy terms."

msgid "agree_third_party"
msgstr ""

#, fuzzy
msgid "agree_with"
msgstr "I agree to the"
Expand Down Expand Up @@ -1281,6 +1284,9 @@ msgstr "a block in a block"
msgid "new_password"
msgstr "Нова парола"

msgid "new_password_repeat"
msgstr ""

msgid "newline"
msgstr "нов ред"

Expand Down Expand Up @@ -2014,14 +2020,6 @@ msgstr "Hedy - Grid overview"
msgid "title_class live_statistics"
msgstr "Hedy - Live Statistics"

#, fuzzy
msgid "title_class logs"
msgstr "Hedy - Join class"

#, fuzzy
msgid "title_class statistics"
msgstr "My statistics"

#, fuzzy
msgid "title_class-overview"
msgstr "Hedy - Class overview"
Expand Down Expand Up @@ -2379,3 +2377,10 @@ msgstr "Your program"

#~ msgid "visit_own_public_profile"
#~ msgstr "Public profile"

#~ msgid "title_class logs"
#~ msgstr "Hedy - Join class"

#~ msgid "title_class statistics"
#~ msgstr "My statistics"

31 changes: 18 additions & 13 deletions translations/bn/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@

msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-22 21:29+0200\n"
"POT-Creation-Date: 2023-10-02 19:31+0530\n"
"PO-Revision-Date: 2023-09-23 08:40+0000\n"
"Last-Translator: Anonymous <[email protected]>\n"
"Language-Team: bn <[email protected]>\n"
"Language: bn\n"
"Language-Team: bn <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 5.1-dev\n"
"Generated-By: Babel 2.11.0\n"
"Generated-By: Babel 2.12.1\n"

#, fuzzy
msgid "Access Before Assign"
Expand Down Expand Up @@ -311,6 +311,9 @@ msgstr "{timestamp} ago"
msgid "agree_invalid"
msgstr "You have to agree with the privacy terms."

msgid "agree_third_party"
msgstr ""

#, fuzzy
msgid "agree_with"
msgstr "I agree to the"
Expand Down Expand Up @@ -1331,6 +1334,9 @@ msgstr "a block in a block"
msgid "new_password"
msgstr "New password"

msgid "new_password_repeat"
msgstr ""

#, fuzzy
msgid "newline"
msgstr "a new line"
Expand Down Expand Up @@ -2100,14 +2106,6 @@ msgstr "Hedy - Grid overview"
msgid "title_class live_statistics"
msgstr "Hedy - Live Statistics"

#, fuzzy
msgid "title_class logs"
msgstr "Hedy - Join class"

#, fuzzy
msgid "title_class statistics"
msgstr "My statistics"

#, fuzzy
msgid "title_class-overview"
msgstr "Hedy - Class overview"
Expand Down Expand Up @@ -2486,3 +2484,10 @@ msgstr "Your program"

#~ msgid "visit_own_public_profile"
#~ msgstr "Public profile"

#~ msgid "title_class logs"
#~ msgstr "Hedy - Join class"

#~ msgid "title_class statistics"
#~ msgstr "My statistics"

Loading

0 comments on commit a5c527f

Please sign in to comment.