diff --git a/Makefile b/Makefile index 35cbef1f065..c4a753616a5 100755 --- a/Makefile +++ b/Makefile @@ -120,6 +120,8 @@ locales: msgfmt -o modules/server_processes_manager/locale/ja/LC_MESSAGES/server_processes_manager.mo modules/server_processes_manager/locale/ja/LC_MESSAGES/server_processes_manager.po msgfmt -o modules/statistics/locale/ja/LC_MESSAGES/statistics.mo modules/statistics/locale/ja/LC_MESSAGES/statistics.po msgfmt -o modules/survey_accounts/locale/ja/LC_MESSAGES/survey_accounts.mo modules/survey_accounts/locale/ja/LC_MESSAGES/survey_accounts.po + msgfmt -o modules/survey_accounts/locale/hi/LC_MESSAGES/survey_accounts.mo modules/survey_accounts/locale/hi/LC_MESSAGES/survey_accounts.po + npx i18next-conv -l hi -s modules/survey_accounts/locale/hi/LC_MESSAGES/survey_accounts.po -t modules/survey_accounts/locale/hi/LC_MESSAGES/survey_accounts.json msgfmt -o modules/timepoint_list/locale/ja/LC_MESSAGES/timepoint_list.mo modules/timepoint_list/locale/ja/LC_MESSAGES/timepoint_list.po msgfmt -o modules/user_accounts/locale/ja/LC_MESSAGES/user_accounts.mo modules/user_accounts/locale/ja/LC_MESSAGES/user_accounts.po diff --git a/locale/hi/LC_MESSAGES/loris.po b/locale/hi/LC_MESSAGES/loris.po index 6d0ee737be8..395ae679af0 100644 --- a/locale/hi/LC_MESSAGES/loris.po +++ b/locale/hi/LC_MESSAGES/loris.po @@ -172,6 +172,24 @@ msgstr "जन्म तिथि" msgid "Visits" msgstr "भ्रमण" +msgid "Visit" +msgstr "भेंट" + +msgid "Instrument" +msgstr "उपकरण" + +msgid "Created" +msgstr "बनाया गया" + +msgid "Sent" +msgstr "भेजा गया" + +msgid "In Progress" +msgstr "प्रगति पर" + +msgid "Complete" +msgstr "पूर्ण" + msgid "An error occured while loading the page." msgstr "पृष्ठ लोड करते समय एक त्रुटि हुई।" diff --git a/locale/loris.pot b/locale/loris.pot index 0577bf99096..4ddec202465 100644 --- a/locale/loris.pot +++ b/locale/loris.pot @@ -171,6 +171,24 @@ msgstr "" msgid "Visits" msgstr "" +msgid "Visit" +msgstr "" + +msgid "Instrument" +msgstr "" + +msgid "Created" +msgstr "" + +msgid "Sent" +msgstr "" + +msgid "In Progress" +msgstr "" + +msgid "Complete" +msgstr "" + msgid "An error occured while loading the page." msgstr "" diff --git a/modules/survey_accounts/jsx/surveyAccountsIndex.js b/modules/survey_accounts/jsx/surveyAccountsIndex.js index c24aa2fdd5f..d51097acdae 100644 --- a/modules/survey_accounts/jsx/surveyAccountsIndex.js +++ b/modules/survey_accounts/jsx/surveyAccountsIndex.js @@ -8,6 +8,7 @@ import {withTranslation} from 'react-i18next'; import Loader from 'Loader'; import FilterableDataTable from 'FilterableDataTable'; +import hiStrings from '../locale/hi/LC_MESSAGES/survey_accounts.json'; /** * Survey Account React Component */ @@ -63,13 +64,14 @@ class SurveyAccountsIndex extends Component { * @return {*} a formated table cell for a given column */ formatColumn(column, cell, row) { + const {t} = this.props; let result =
Survey was added successfully.
Click here to go back to view the list of survey's created : Survey List
+ {dgettext("survey_accounts", "Survey was added successfully.")}
+ {dgettext("survey_accounts", "Click here to go back to view the list of survey's created")} :
+ {dgettext("survey_accounts", "Survey List")}
+
Usage | |
---|---|
{dgettext("survey_accounts", "Usage")} | |
- Use this form to create a link for a study participant to use in order to directly enter a form/data into Loris. + {dgettext("survey_accounts", "Use this form to create a link for a study participant to use in order to directly enter a form/data into Loris.")} | |
Add Survey | |
{dgettext("survey_accounts", "Add Survey")} | |
{$form.Email.label} | {$form.Email.html} |
{$form.Email2.label} | {$form.Email2.html} |
- - + + {/if} |