Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ locales:
msgfmt -o modules/media/locale/ja/LC_MESSAGES/media.mo modules/media/locale/ja/LC_MESSAGES/media.po
msgfmt -o modules/module_manager/locale/ja/LC_MESSAGES/module_manager.mo modules/module_manager/locale/ja/LC_MESSAGES/module_manager.po
msgfmt -o modules/mri_violations/locale/ja/LC_MESSAGES/mri_violations.mo modules/mri_violations/locale/ja/LC_MESSAGES/mri_violations.po
msgfmt -o modules/my_preferences/locale/hi/LC_MESSAGES/my_preferences.mo modules/my_preferences/locale/hi/LC_MESSAGES/my_preferences.po
msgfmt -o modules/next_stage/locale/ja/LC_MESSAGES/next_stage.mo modules/next_stage/locale/ja/LC_MESSAGES/next_stage.po
msgfmt -o modules/oidc/locale/ja/LC_MESSAGES/oidc.mo modules/oidc/locale/ja/LC_MESSAGES/oidc.po
msgfmt -o modules/publication/locale/ja/LC_MESSAGES/publication.mo modules/publication/locale/ja/LC_MESSAGES/publication.po
Expand Down
52 changes: 52 additions & 0 deletions modules/my_preferences/locale/hi/LC_MESSAGES/my_preferences.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Default LORIS strings to be translated (English).
# Copy this to a language specific file and add translations to the
# new file.
# Copyright (C) 2025
# This file is distributed under the same license as the LORIS package.
# Dave MacFarlane <[email protected]>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: LORIS 27\n"
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: hi\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "My Preferences"
msgstr "मेरी प्राथमिकताएँ"

msgid "Password Rules"
msgstr "पासवर्ड के नियम"

msgid "The password must be at least 8 characters long."
msgstr "पासवर्ड कम से कम 8 अक्षरों का होना चाहिए।"

msgid "The password cannot be your username or email address."
msgstr "पासवर्ड आपका उपयोगकर्ता नाम या ईमेल पता नहीं हो सकता।"

msgid "No special characters are required but your password must be sufficiently complex to be accepted."
msgstr "कोई विशेष अक्षर आवश्यक नहीं हैं, लेकिन पासवर्ड पर्याप्त जटिल होना चाहिए ताकि स्वीकार किया जा सके।"

msgid "Please choose a unique password."
msgstr "कृपया एक अद्वितीय पासवर्ड चुनें।"

msgid "We suggest using a password manager to generate one for you."
msgstr "हम सुझाव देते हैं कि आपके लिए पासवर्ड बनाने के लिए पासवर्ड प्रबंधक का उपयोग करें।"

msgid "Edit My Information"
msgstr "मेरी जानकारी संपादित करें"

msgid "Notifications"
msgstr "सूचनाएँ"

msgid "Save"
msgstr "सहेजें"

msgid "Reset"
msgstr "रीसेट करें"
52 changes: 52 additions & 0 deletions modules/my_preferences/locale/my_preferences.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Default LORIS strings to be translated (English).
# Copy this to a language specific file and add translations to the
# new file.
# Copyright (C) 2025
# This file is distributed under the same license as the LORIS package.
# Dave MacFarlane <[email protected]>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: LORIS 27\n"
"Report-Msgid-Bugs-To: https://github.com/aces/Loris/issues\n"
"POT-Creation-Date: 2025-04-08 14:37-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "My Preferences"
msgstr ""

msgid "Password Rules"
msgstr ""

msgid "The password must be at least 8 characters long."
msgstr ""

msgid "The password cannot be your username or email address."
msgstr ""

msgid "No special characters are required but your password must be sufficiently complex to be accepted."
msgstr ""

msgid "Please choose a unique password."
msgstr ""

msgid "We suggest using a password manager to generate one for you."
msgstr ""

msgid "Edit My Information"
msgstr ""

msgid "Notifications"
msgstr ""

msgid "Save"
msgstr ""

msgid "Reset"
msgstr ""
24 changes: 12 additions & 12 deletions modules/my_preferences/templates/form_my_preferences.tpl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<form method="post" name="my_preferences" id="my_preferences" autocomplete="off">
<h3>Password Rules</h3>
<h3>{dgettext("my_preferences", "Password Rules")}</h3>
<ul>
<li>The password must be at least 8 characters long.</li>
<li>The password cannot be your username or email address.</li>
<li>No special characters are required but your password must be sufficiently complex to be accepted.</li>
<li>{dgettext("my_preferences", "The password must be at least 8 characters long.")}</li>
<li>{dgettext("my_preferences", "The password cannot be your username or email address.")}</li>
<li>{dgettext("my_preferences", "No special characters are required but your password must be sufficiently complex to be accepted.")}</li>
</ul>
<p>Please choose a unique password.</p>
<p>We suggest using a password manager to generate one for you.</p>
<h3>Edit My Information</h3>
<p>{dgettext("my_preferences", "Please choose a unique password.")}</p>
<p>{dgettext("my_preferences", "We suggest using a password manager to generate one for you.")}</p>
<h3>{dgettext("my_preferences", "Edit My Information")}</h3>
{foreach from=$form.errors item=error}
<ul>
<li class="error">{$error}</li>
Expand Down Expand Up @@ -38,7 +38,8 @@
<div class="col-sm-10">
{$form.Last_name.html}
</div>
</div><div class="row form-group">
</div>
<div class="row form-group">
<label class="col-sm-2">
{$form.Email.label}
</label>
Expand Down Expand Up @@ -71,7 +72,7 @@
</div>
</div>
<br><br>
<h3>Notifications</h3>
<h3>{dgettext("my_preferences", "Notifications")}</h3>
<table class="table table-instrument" >
<thead>
{foreach key=gkey item=gitem from=$form.notification_headers.elements}
Expand Down Expand Up @@ -110,13 +111,12 @@
</div>
<div class="row form-group">
<div class="col-sm-2">
<input class="btn btn-sm btn-primary col-xs-12" name="fire_away" value="Save" type="submit" />
<input class="btn btn-sm btn-primary col-xs-12" name="fire_away" value="{dgettext("my_preferences", "Save")}" type="submit" />
</div>
<div class="col-sm-2">
<input class="btn btn-sm btn-primary col-xs-12" value="Reset" type="reset" />
<input class="btn btn-sm btn-primary col-xs-12" value="{dgettext("my_preferences", "Reset")}" type="reset" />
</div>
</div>


{$form.hidden|default}
</form>
Loading