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 support for Hindi language #572

Merged
merged 4 commits into from
Jul 19, 2024
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
22 changes: 22 additions & 0 deletions packages/core/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export type Context = {
optionLabel_zh: any; // 中文提示消息
optionLabel_zh_tw: any; // 中文提示消息
optionLabel_es: any; // 中文提示消息
optionLabel_hi: any;
dataRegulation?: DataRegulationProps; // 数据验证规则
};
// 数据验证下拉列表
Expand Down Expand Up @@ -266,6 +267,27 @@ export function defaultContext(refs: RefValues): Context {
identificationNumber: "identification number",
phoneNumber: "phone number",
},
optionLabel_hi: {
number: "संख्यात्मक",
number_integer: "पूर्णांक",
number_decimal: "दशमलव",
between: "के बीच",
notBetween: "के बीच नहीं",
equal: "के बराबर",
notEqualTo: "के बराबर नहीं",
moreThanThe: "से अधिक",
lessThan: "से कम",
greaterOrEqualTo: "के बराबर या अधिक",
lessThanOrEqualTo: "के बराबर या कम",
include: "शामिल",
exclude: "शामिल नहीं",
earlierThan: "से पहले",
noEarlierThan: "से पहले नहीं",
laterThan: "के बाद",
noLaterThan: "के बाद नहीं",
identificationNumber: "पहचान संख्या",
phoneNumber: "फोन नंबर",
},
optionLabel_zh: {
number: "数值",
number_integer: "整数",
Expand Down
Loading
Loading