diff --git a/modules/publication/locale/hi/LC_MESSAGES/publication.po b/modules/publication/locale/hi/LC_MESSAGES/publication.po
new file mode 100644
index 00000000000..da9848269f0
--- /dev/null
+++ b/modules/publication/locale/hi/LC_MESSAGES/publication.po
@@ -0,0 +1,184 @@
+# 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 , 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 \n"
+"Language-Team: LANGUAGE \n"
+"Language: hi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+msgid "Publications"
+msgstr "प्रकाशन"
+
+msgid "Loading"
+msgstr "लोड हो रहा है"
+
+msgid "Browse"
+msgstr "ब्राउज़ करें"
+
+msgid "File to upload"
+msgstr "अपलोड करने के लिए फ़ाइल"
+
+msgid "Upload"
+msgstr "अपलोड करें"
+
+msgid "Are you sure?"
+msgstr "क्या आप सुनिश्चित हैं?"
+
+msgid "Cancel"
+msgstr "रद्द करें"
+
+msgid "Submit"
+msgstr "जमा करें"
+
+msgid "Title"
+msgstr "शीर्षक"
+
+msgid "Year"
+msgstr "वर्ष"
+
+msgid "Authors"
+msgstr "लेखक"
+
+msgid "Journal"
+msgstr "जर्नल"
+
+msgid "DOI"
+msgstr "डीओआई"
+
+msgid "Action"
+msgstr "क्रिया"
+
+msgid "Please fix any remaining form errors before submission"
+msgstr "कृपया सबमिट करने से पहले शेष फॉर्म त्रुटियों को ठीक करें"
+
+msgid "Something went wrong!"
+msgstr "कुछ गलत हो गया!"
+
+msgid "Submission Successful!"
+msgstr "सबमिशन सफल रहा!"
+
+msgid "Propose a Project"
+msgstr "एक प्रोजेक्ट प्रस्तावित करें"
+
+msgid "Propose a new project"
+msgstr "एक नया प्रोजेक्ट प्रस्तावित करें"
+
+msgid "Edit failed!"
+msgstr "संपादन विफल रहा!"
+
+msgid "Edit Successful!"
+msgstr "संपादन सफल रहा!"
+
+msgid "Download"
+msgstr "डाउनलोड करें"
+
+msgid "Citation"
+msgstr "उद्धरण"
+
+msgid "Version"
+msgstr "संस्करण"
+
+msgid "Collaborators"
+msgstr "सहयोगी"
+
+msgid "Keywords"
+msgstr "कुंजीशब्द"
+
+msgid "Variables of Interest"
+msgstr "रुचि के चर"
+
+msgid "Description"
+msgstr "विवरण"
+
+msgid "Publishing status"
+msgstr "प्रकाशन स्थिति"
+
+msgid "Date published"
+msgstr "प्रकाशित तिथि"
+
+msgid "Link"
+msgstr "लिंक"
+
+msgid "Lead Investigator"
+msgstr "मुख्य अन्वेषक"
+
+msgid "Lead Investigator Email"
+msgstr "मुख्य अन्वेषक ईमेल"
+
+msgid "Status"
+msgstr "स्थिति"
+
+msgid "Reason for rejection"
+msgstr "अस्वीकृति का कारण"
+
+msgid "Pending"
+msgstr "लंबित"
+
+msgid "Approved"
+msgstr "स्वीकृत"
+
+msgid "Rejected"
+msgstr "अस्वीकृत"
+
+msgid "For help finding variables of interest, consult"
+msgstr "रुचि वाले वेरिएबल खोजने में सहायता के लिए, परामर्श करें"
+
+msgid "Date Proposed"
+msgstr "प्रस्तावित तिथि"
+
+msgid "Approval Status"
+msgstr "स्वीकृति स्थिति"
+
+msgid "Project"
+msgstr "परियोजना"
+
+msgid "Project Proposal Creator"
+msgstr "परियोजना प्रस्ताव निर्माता"
+
+msgid "Publication ID"
+msgstr "प्रकाशन आईडी"
+
+msgid "Published"
+msgstr "प्रकाशित"
+
+msgid "In Progress"
+msgstr "प्रगति पर"
+
+msgid "View Project"
+msgstr "परियोजना देखें"
+
+msgid "LORIS Users with Edit Permission"
+msgstr "संपादन अनुमति वाले LORIS उपयोगकर्ता"
+
+msgid "Type of Variables of Interest"
+msgstr "रुचि वाले वेरिएबल का प्रकार"
+
+msgid "Propose Project"
+msgstr "परियोजना प्रस्तावित करें"
+
+msgid "Send email notification?"
+msgstr "ईमेल अधिसूचना भेजें?"
+
+msgid "Add User"
+msgstr "उपयोगकर्ता जोड़ें"
+
+msgid "Add Collaborator"
+msgstr "सहयोगी जोड़ें"
+
+msgid "Add Keyword"
+msgstr "कीवर्ड जोड़ें"
+
+msgid "Add Variable of Interest"
+msgstr "रुचि वाला वेरिएबल जोड़ें"
diff --git a/modules/publication/locale/publication.pot b/modules/publication/locale/publication.pot
index f7f3d9c8763..3dff9eba5d4 100644
--- a/modules/publication/locale/publication.pot
+++ b/modules/publication/locale/publication.pot
@@ -20,3 +20,165 @@ msgstr ""
msgid "Publications"
msgstr ""
+
+msgid "Loading"
+msgstr ""
+
+msgid "Browse"
+msgstr ""
+
+msgid "File to upload"
+msgstr ""
+
+msgid "Upload"
+msgstr ""
+
+msgid "Are you sure?"
+msgstr ""
+
+msgid "Cancel"
+msgstr ""
+
+msgid "Submit"
+msgstr ""
+
+msgid "Title"
+msgstr ""
+
+msgid "Year"
+msgstr ""
+
+msgid "Authors"
+msgstr ""
+
+msgid "Journal"
+msgstr ""
+
+msgid "DOI"
+msgstr ""
+
+msgid "Action"
+msgstr ""
+
+msgid "Please fix any remaining form errors before submission"
+msgstr ""
+
+msgid "Something went wrong!"
+msgstr ""
+
+msgid "Submission Successful!"
+msgstr ""
+
+msgid "Propose a Project"
+msgstr ""
+
+msgid "Propose a new project"
+msgstr ""
+
+msgid "Edit failed!"
+msgstr ""
+
+msgid "Edit Successful!"
+msgstr ""
+
+msgid "Download"
+msgstr ""
+
+msgid "Citation"
+msgstr ""
+
+msgid "Version"
+msgstr ""
+
+msgid "Collaborators"
+msgstr ""
+
+msgid "Keywords"
+msgstr ""
+
+msgid "Variables of Interest"
+msgstr ""
+
+msgid "Description"
+msgstr ""
+
+msgid "Publishing status"
+msgstr ""
+
+msgid "Date published"
+msgstr ""
+
+msgid "Link"
+msgstr ""
+
+msgid "Lead Investigator"
+msgstr ""
+
+msgid "Lead Investigator Email"
+msgstr ""
+
+msgid "Status"
+msgstr ""
+
+msgid "Reason for rejection"
+msgstr ""
+
+msgid "Pending"
+msgstr ""
+
+msgid "Approved"
+msgstr ""
+
+msgid "Rejected"
+msgstr ""
+
+msgid "For help finding variables of interest, consult"
+msgstr ""
+
+msgid "Date Proposed"
+msgstr ""
+
+msgid "Approval Status"
+msgstr ""
+
+msgid "Project"
+msgstr ""
+
+msgid "Project Proposal Creator"
+msgstr ""
+
+msgid "Publication ID"
+msgstr ""
+
+msgid "Published"
+msgstr ""
+
+msgid "In Progress"
+msgstr ""
+
+msgid "View Project"
+msgstr ""
+
+msgid "LORIS Users with Edit Permission"
+msgstr ""
+
+msgid "Type of Variables of Interest"
+msgstr ""
+
+msgid "Propose Project"
+msgstr ""
+
+msgid "Send email notification?"
+msgstr ""
+
+msgid "Add User"
+msgstr ""
+
+msgid "Add Collaborator"
+msgstr ""
+
+msgid "Add Keyword"
+msgstr ""
+
+msgid "Add Variable of Interest"
+msgstr ""
diff --git a/modules/publication/php/publication.class.inc b/modules/publication/php/publication.class.inc
index ba4d3aae1d0..bb8390fce5f 100644
--- a/modules/publication/php/publication.class.inc
+++ b/modules/publication/php/publication.class.inc
@@ -126,21 +126,21 @@ class Publication extends \NDB_Menu_Filter_Form
$this->query = $query;
$this->headers = [
- 'Title',
- 'Lead Investigator',
- 'Date Proposed',
- 'Approval Status',
- 'Project',
- 'Journal',
- 'Link',
- 'Publishing Status',
- 'Date published',
- 'Project Proposal Creator',
- 'Description',
- 'Collaborators',
- 'Variables Of Interest',
- 'Keywords',
- 'Publication ID',
+ dgettext("publication", "Title"),
+ dgettext("publication", "Lead Investigator"),
+ dgettext("publication", "Date Proposed"),
+ dgettext("publication", "Approval Status"),
+ dgettext("publication", "Project"),
+ dgettext("publication", "Journal"),
+ dgettext("publication", "Link"),
+ dgettext("publication", "Publishing Status"),
+ dgettext("publication", "Date published"),
+ dgettext("publication", "Project Proposal Creator"),
+ dgettext("publication", "Description"),
+ dgettext("publication", "Collaborators"),
+ dgettext("publication", "Variables Of Interest"),
+ dgettext("publication", "Keywords"),
+ dgettext("publication", "Publication ID"),
];
$this->validFilters = [
@@ -185,58 +185,61 @@ class Publication extends \NDB_Menu_Filter_Form
$this->addBasicText(
'title',
- 'Title'
+ dgettext("publication", "Title")
);
$this->addSelect(
'approvalStatus',
- 'Approval Status',
+ dgettext("publication", "Approval Status"),
$statusOptions
);
// filters by name
$this->addBasicText(
'leadInvestigator',
- 'Lead Investigator'
+ dgettext("publication", "Lead Investigator")
);
//also filters by name
$this->addBasicText(
'collaborators',
- 'Collaborators'
+ dgettext("publication", "Collaborators")
);
$this->addBasicText(
'keywords',
- 'Keywords'
+ dgettext("publication", "Keywords")
);
$this->addBasicText(
'variablesOfInterest',
- 'Variables of Interest'
+ dgettext("publication", "Variables of Interest")
);
$this->addBasicText(
'journal',
- 'Journal'
+ dgettext("publication", "Journal")
);
$this->addSelect(
'project',
- 'Project',
+ dgettext("publication", "Project"),
$projectOptions
);
$this->addBasicText(
'link',
- 'Link'
+ dgettext("publication", "Link")
);
+ $pubPublished = dgettext("publication", "Published");
+ $pubInProgress = dgettext("publication", "In Progress");
+
$this->addSelect(
'publishingStatus',
- 'Publishing Status',
+ dgettext("publication", "Publishing Status"),
[
- 'Published' => 'Published',
- 'In Progress' => 'In Progress'
+ $pubPublished => $pubPublished,
+ $pubInProgress => $pubInProgress,
]
);
}
diff --git a/modules/publication/php/view_project.class.inc b/modules/publication/php/view_project.class.inc
index ff56092eb7f..a621ca345a5 100644
--- a/modules/publication/php/view_project.class.inc
+++ b/modules/publication/php/view_project.class.inc
@@ -112,7 +112,7 @@ class View_Project extends \NDB_Form
return new \LORIS\BreadcrumbTrail(
new \LORIS\Breadcrumb($label, "/$this->name"),
new \LORIS\Breadcrumb(
- 'View Project',
+ dgettext("publication", "View Project"),
"/publication/view_project?id=" . $_GET['id']
)
);