Skip to content
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

Add Kannada Language Choice #2446

Merged
merged 2 commits into from
May 21, 2022
Merged
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
1 change: 1 addition & 0 deletions src/Locale/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const LANGUAGE_NAMES: { [key: string]: any } = {
ta: "தமிழ்",
ml: "മലയാളം",
mr: "मराठी",
kn: "ಕನ್ನಡ",
};
33 changes: 33 additions & 0 deletions src/Locale/kn/Auth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"username": "ಬಳಕೆದಾರ ಹೆಸರು",
"password": "ಪಾಸ್ವರ್ಡ್",
"new_password": "ಹೊಸ ಪಾಸ್ವರ್ಡ್",
"confirm_password": "ಪಾಸ್ವರ್ಡ್ ದೃಢೀಕರಿಸಿ",
"first_name": "ಮೊದಲ ಹೆಸರು",
"last_name": "ಕೊನೆಯ ಹೆಸರು",
"email": "ಇಮೇಲ್ ವಿಳಾಸ",
"phone_number": "ದೂರವಾಣಿ ಸಂಖ್ಯೆ",
"district": "ಜಿಲ್ಲೆ",
"gender": "ಲಿಂಗ",
"age": "ವಯಸ್ಸು",
"login": "ಲಾಗಿನ್",
"field_required": "ಈ ಜಾಗ ಬೇಕಾಗಿದೆ",
"password_mismatch": "ಪಾಸ್ವರ್ಡ್ ಮತ್ತು ದೃಢೀಕರಣ ಪಾಸ್ವರ್ಡ್ ಒಂದೇ ಆಗಿರಬೇಕು.",
"enter_valid_age": "ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ ವಯಸ್ಸನ್ನು ನಮೂದಿಸಿ",
"invalid_username": "ಅಗತ್ಯವಿದೆ. 150 ಅಕ್ಷರಗಳು ಅಥವಾ ಕಡಿಮೆ. ಅಕ್ಷರಗಳು, ಅಂಕೆಗಳು ಮತ್ತು @/./+/-/_ ಮಾತ್ರ.",
"invalid_password": "ಪಾಸ್ವರ್ಡ್ ಅವಶ್ಯಕತೆಗಳನ್ನು ಪೂರೈಸುವುದಿಲ್ಲ",
"invalid_email": "ದಯವಿಟ್ಟು ಸರಿಯಾದ ಇಮೇಲ್ ವಿಳಾಸವನ್ನು ನಮೂದಿಸಿ",
"invalid_phone": "ದಯವಿಟ್ಟು ಮಾನ್ಯವಾದ ಫೋನ್ ಸಂಖ್ಯೆಯನ್ನು ನಮೂದಿಸಿ",
"register_hospital": "ಆಸ್ಪತ್ರೆಯನ್ನು ನೋಂದಾಯಿಸಿ",
"register_page_title": "ಆಸ್ಪತ್ರೆ ನಿರ್ವಾಹಕರಾಗಿ ನೋಂದಾಯಿಸಿ",
"auth_login_title": "ಅಧಿಕೃತ ಲಾಗಿನ್",
"forget_password": "ಪಾಸ್ವರ್ಡ್ ಮರೆತಿರಾ?",
"forget_password_instruction": "ನಿಮ್ಮ ಬಳಕೆದಾರ ಹೆಸರನ್ನು ನಮೂದಿಸಿ ಮತ್ತು ನಿಮ್ಮ ಪಾಸ್‌ವರ್ಡ್ ಅನ್ನು ಮರುಹೊಂದಿಸಲು ನಾವು ನಿಮಗೆ ಲಿಂಕ್ ಅನ್ನು ಕಳುಹಿಸುತ್ತೇವೆ.",
"send_reset_link": "ಮರುಹೊಂದಿಸುವ ಲಿಂಕ್ ಕಳುಹಿಸಿ",
"already_a_member": "ಈಗಾಗಲೇ ಸದಸ್ಯರೇ?",
"password_sent": "ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಿಸುವ ಇಮೇಲ್ ಕಳುಹಿಸಲಾಗಿದೆ",
"password_reset_success": "ಪಾಸ್ವರ್ಡ್ ಅನ್ನು ಯಶಸ್ವಿಯಾಗಿ ಮರುಹೊಂದಿಸಲಾಗಿದೆ",
"password_reset_failure": "ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಿಸಲು ವಿಫಲವಾಗಿದೆ",
"reset_password": "ಪಾಸ್ವರ್ಡ್ ಮರುಹೊಂದಿಸಿ",
"sign_out": "ಸೈನ್ ಔಟ್ ಮಾಡಿ"
}
18 changes: 18 additions & 0 deletions src/Locale/kn/Common.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"coronasafe_network": "ಕೊರೊನಾಸೇಫ್ ನೆಟ್‌ವರ್ಕ್",
"goal": "ಸಾಮರ್ಥ್ಯ ಮೀರಿದ ಓವರ್‌ಲೋಡ್‌ನಿಂದ ಆರೋಗ್ಯ ವ್ಯವಸ್ಥೆಯನ್ನು ರಕ್ಷಿಸುವುದು ನಮ್ಮ ಗುರಿಯಾಗಿದೆ.",
"something_wrong": "ಏನೋ ತಪ್ಪಾಗಿದೆ! ನಂತರ ಮತ್ತೆ ಪ್ರಯತ್ನಿಸಿ!",
"contribute_github": "GitHub ನಲ್ಲಿ ಕೊಡುಗೆ ನೀಡಿ",
"footer_body": "ಕೊರೊನಾಸೇಫ್ ನೆಟ್‌ವರ್ಕ್ ಎಂಬುದು ತೆರೆದ ಮೂಲ ಸಾರ್ವಜನಿಕ ಉಪಯುಕ್ತತೆಯಾಗಿದ್ದು, ನಾವೀನ್ಯಕಾರರು ಮತ್ತು ಸ್ವಯಂಸೇವಕರ ಬಹು-ಶಿಸ್ತಿನ ತಂಡದಿಂದ ವಿನ್ಯಾಸಗೊಳಿಸಲಾಗಿದೆ. ಕರೋನಾ ಸೇಫ್ ಕೇರ್ ವಿಶ್ವಸಂಸ್ಥೆಯಿಂದ ಗುರುತಿಸಲ್ಪಟ್ಟ ಡಿಜಿಟಲ್ ಸಾರ್ವಜನಿಕ ಸೇವೆಯಾಗಿದೆ.",
"reset": "ಮರುಹೊಂದಿಸಿ",
"downloads": "ಡೌನ್‌ಲೋಡ್‌ಗಳು",
"download_type": "ಡೌನ್‌ಲೋಡ್ ಪ್ರಕಾರ",
"State": "ರಾಜ್ಯ",
"District": "ಜಿಲ್ಲೆ",
"Local Body": "ಸ್ಥಳೀಯ ಸಂಸ್ಥೆ",
"Location": "ಸ್ಥಳ",
"Ward": "ವಾರ್ಡ್",
"Notice Board": "ಸೂಚನಾ ಫಲಕ",
"Assets": "ಸ್ವತ್ತುಗಳು",
"Notifications": "ಅಧಿಸೂಚನೆಗಳು"
}
11 changes: 11 additions & 0 deletions src/Locale/kn/Entities.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"Facilities": "ಸೌಲಭ್ಯಗಳು",
"Patients": "ರೋಗಿಗಳು",
"Sample Test": "ಮಾದರಿ ಪರೀಕ್ಷೆ",
"Shifting": "ಸ್ಥಳಾಂತರ",
"Resource": "ಸಂಪನ್ಮೂಲ",
"External Results": "ಬಾಹ್ಯ ಫಲಿತಾಂಶಗಳು",
"Users": "ಬಳಕೆದಾರರು",
"Profile": "ಪ್ರೊಫೈಲ್",
"Dashboard": "ಡ್ಯಾಶ್‌ಬೋರ್ಡ್"
}
10 changes: 10 additions & 0 deletions src/Locale/kn/Facility.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"facility_search_placeholder": "ಸೌಲಭ್ಯ / ಜಿಲ್ಲೆಯ ಹೆಸರಿನ ಮೂಲಕ ಹುಡುಕಿ",
"advanced_filters": "ಸುಧಾರಿತ ಫಿಲ್ಟರ್‌ಗಳು",
"Facility Type": "ಸೌಲಭ್ಯದ ಪ್ರಕಾರ",
"KASP Empanelled": "ಕೆಎಎಸ್ಪಿ ಎಂಪನೇಲ್ಡ್",
"View Facility": "ವೀಕ್ಷಣೆ ಸೌಲಭ್ಯ",
"no_duplicate_facility": "ನೀವು ನಕಲಿ ಸೌಲಭ್ಯಗಳನ್ನು ರಚಿಸಬಾರದು",
"no_facilities": "ಯಾವುದೇ ಸೌಲಭ್ಯಗಳು ಕಂಡುಬಂದಿಲ್ಲ",
"create_facility": "ಹೊಸ ಸೌಲಭ್ಯವನ್ನು ರಚಿಸಿ"
}
11 changes: 11 additions & 0 deletions src/Locale/kn/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Auth from "./Auth.json";
import Common from "./Common.json";
import Entities from "./Entities.json";
import Facility from "./Facility.json";

export default {
...Auth,
...Common,
...Entities,
...Facility,
};
2 changes: 2 additions & 0 deletions src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ import en from "./Locale/en";
import ta from "./Locale/ta";
import ml from "./Locale/ml";
import mr from "./Locale/mr";
import kn from "./Locale/kn";

const resources = {
en: { translation: en },
ta: { translation: ta },
ml: { translation: ml },
mr: { translation: mr },
kn: { translation: kn },
};

i18n
Expand Down