Skip to content

[candidate_list] Translation of candidate_list module to Hindi #9899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ locales:
msgfmt -o modules/bvl_feedback/locale/ja/LC_MESSAGES/bvl_feedback.mo modules/bvl_feedback/locale/ja/LC_MESSAGES/bvl_feedback.po
msgfmt -o modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.mo modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.po
npx i18next-conv -l ja -s modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.po -t modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.json
msgfmt -o modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.mo modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.po
npx i18next-conv -l hi -s modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.po -t modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.json
msgfmt -o modules/candidate_parameters/locale/ja/LC_MESSAGES/candidate_parameters.mo modules/candidate_parameters/locale/ja/LC_MESSAGES/candidate_parameters.po
msgfmt -o modules/candidate_profile/locale/ja/LC_MESSAGES/candidate_profile.mo modules/candidate_profile/locale/ja/LC_MESSAGES/candidate_profile.po
msgfmt -o modules/configuration/locale/ja/LC_MESSAGES/configuration.mo modules/configuration/locale/ja/LC_MESSAGES/configuration.po
Expand Down Expand Up @@ -138,6 +140,8 @@ issue_tracker:
candidate_list:
msgfmt -o modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.mo modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.po
npx i18next-conv -l ja -s modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.po -t modules/candidate_list/locale/ja/LC_MESSAGES/candidate_list.json
msgfmt -o modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.mo modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.po
npx i18next-conv -l hi -s modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.po -t modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.json
target=candidate_list npm run compile

candidate_parameters:
Expand Down
3 changes: 3 additions & 0 deletions modules/candidate_list/jsx/candidateListIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import i18n from 'I18nSetup';
import {withTranslation} from 'react-i18next';

import jaStrings from '../locale/ja/LC_MESSAGES/candidate_list.json';
import hiStrings from '../locale/hi/LC_MESSAGES/candidate_list.json';

/**
* Candidate List
Expand Down Expand Up @@ -407,6 +408,8 @@ CandidateListIndex.propTypes = {
window.addEventListener('load', () => {
const args = QueryString.get();
i18n.addResourceBundle('ja', 'candidate_list', jaStrings);
i18n.addResourceBundle('hi', 'candidate_list', hiStrings);


const CLIndex = withTranslation(
['candidate_list', 'loris']
Expand Down
41 changes: 41 additions & 0 deletions modules/candidate_list/locale/hi/LC_MESSAGES/candidate_list.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 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 "Access Profile"
msgstr "प्रोफ़ाइल तक पहुँचें"

msgid "Entity Type"
msgstr "इकाई प्रकार"

msgid "Scan Done"
msgstr "स्कैन पूरा हुआ"

msgid "Visit Count"
msgstr "आगंतुक गणना"

msgid "Open Profile"
msgstr "प्रोफ़ाइल खोलें"

msgid "Show Advanced Filters"
msgstr "उन्नत फ़िल्टर दिखाएँ"

msgid "Hide Advanced Filters"
msgstr "उन्नत फ़िल्टर छुपाएँ"

Loading