mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-03 12:37:40 +08:00
1bdece0ea8
* feat(module: modal): add Modal locale * feat(module: confirm): locale support for zh-cn, en-us * docs: add the demo of override locale's custom text * feat: locale's json files add confirm configuration * fix: custom ButtonProps override Button[1,2,3]Text or OK(Cancel)Text * docs: using InvokeAsync to invoke StateHasChanged * docs(module: modal): add override locale de
223 lines
7.2 KiB
JSON
223 lines
7.2 KiB
JSON
{
|
|
"locale": "en",
|
|
"Pagination": {
|
|
"items_per_page": "/ page",
|
|
"jump_to": "Go to",
|
|
"jump_to_confirm": "confirm",
|
|
"page": "",
|
|
"prev_page": "Previous Page",
|
|
"next_page": "Next Page",
|
|
"prev_5": "Previous 5 Pages",
|
|
"next_5": "Next 5 Pages",
|
|
"prev_3": "Previous 3 Pages",
|
|
"next_3": "Next 3 Pages"
|
|
},
|
|
"DatePicker": {
|
|
"firstDayOfWeek": "Sunday",
|
|
"lang": {
|
|
"placeholder": "Select date",
|
|
"yearPlaceholder": "Select year",
|
|
"quarterPlaceholder": "Select quarter",
|
|
"monthPlaceholder": "Select month",
|
|
"weekPlaceholder": "Select week",
|
|
"rangePlaceholder": [ "Start date", "End date" ],
|
|
"rangeYearPlaceholder": [ "Start year", "End year" ],
|
|
"rangeMonthPlaceholder": [ "Start month", "End month" ],
|
|
"rangeWeekPlaceholder": [ "Start week", "End week" ],
|
|
"locale": "en_US",
|
|
"today": "Today",
|
|
"now": "Now",
|
|
"backToToday": "Back to today",
|
|
"ok": "Ok",
|
|
"clear": "Clear",
|
|
"month": "Month",
|
|
"year": "Year",
|
|
"timeSelect": "select time",
|
|
"dateSelect": "select date",
|
|
"weekSelect": "Choose a week",
|
|
"monthSelect": "Choose a month",
|
|
"yearSelect": "Choose a year",
|
|
"decadeSelect": "Choose a decade",
|
|
"yearFormat": "yyyy",
|
|
"dateFormat": "yyyy-MM-dd",
|
|
"dayFormat": "D",
|
|
"dateTimeFormat": "yyyy-MM-dd HH:mm:ss",
|
|
"monthBeforeYear": true,
|
|
"previousMonth": "Previous month (PageUp)",
|
|
"nextMonth": "Next month (PageDown)",
|
|
"previousYear": "Last year (Control + left)",
|
|
"nextYear": "Next year (Control + right)",
|
|
"previousDecade": "Last decade",
|
|
"nextDecade": "Next decade",
|
|
"previousCentury": "Last century",
|
|
"nextCentury": "Next century",
|
|
"startDate": "Start date",
|
|
"startWeek": "Start week",
|
|
"startMonth": "Start month",
|
|
"startYear": "Start year",
|
|
"startQuarter": "Start quarter",
|
|
"endDate": "End date",
|
|
"endWeek": "End week",
|
|
"endMonth": "End month",
|
|
"endYear": "End year",
|
|
"endQuarter": "End Quarter",
|
|
"quarterSelect": "Select quarter",
|
|
"week": "Week",
|
|
"monthFormat": "MMM",
|
|
"shortWeekDays": [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ]
|
|
},
|
|
"timePickerLocale": {
|
|
"placeholder": "Select time",
|
|
"rangePlaceholder": [ "Start time", "End time" ]
|
|
}
|
|
},
|
|
"TimePicker": {
|
|
"placeholder": "Select time",
|
|
"rangePlaceholder": [ "Start time", "End time" ]
|
|
},
|
|
"Calendar": {
|
|
"lang": {
|
|
"placeholder": "Select date",
|
|
"yearPlaceholder": "Select year",
|
|
"quarterPlaceholder": "Select quarter",
|
|
"monthPlaceholder": "Select month",
|
|
"weekPlaceholder": "Select week",
|
|
"rangePlaceholder": [ "Start date", "End date" ],
|
|
"rangeYearPlaceholder": [ "Start year", "End year" ],
|
|
"rangeMonthPlaceholder": [ "Start month", "End month" ],
|
|
"rangeWeekPlaceholder": [ "Start week", "End week" ],
|
|
"locale": "en_US",
|
|
"today": "Today",
|
|
"now": "Now",
|
|
"backToToday": "Back to today",
|
|
"ok": "Ok",
|
|
"clear": "Clear",
|
|
"month": "Month",
|
|
"year": "Year",
|
|
"timeSelect": "select time",
|
|
"dateSelect": "select date",
|
|
"weekSelect": "Choose a week",
|
|
"monthSelect": "Choose a month",
|
|
"yearSelect": "Choose a year",
|
|
"decadeSelect": "Choose a decade",
|
|
"yearFormat": "YYYY",
|
|
"dateFormat": "M/D/YYYY",
|
|
"dayFormat": "D",
|
|
"dateTimeFormat": "M/D/YYYY HH:mm:ss",
|
|
"monthBeforeYear": true,
|
|
"previousMonth": "Previous month (PageUp)",
|
|
"nextMonth": "Next month (PageDown)",
|
|
"previousYear": "Last year (Control + left)",
|
|
"nextYear": "Next year (Control + right)",
|
|
"previousDecade": "Last decade",
|
|
"nextDecade": "Next decade",
|
|
"previousCentury": "Last century",
|
|
"nextCentury": "Next century"
|
|
},
|
|
"timePickerLocale": {
|
|
"placeholder": "Select time",
|
|
"rangePlaceholder": [ "Start time", "End time" ]
|
|
}
|
|
},
|
|
"global": { "placeholder": "Please select" },
|
|
"Table": {
|
|
"filterTitle": "Filter menu",
|
|
"filterConfirm": "OK",
|
|
"filterReset": "Reset",
|
|
"selectAll": "Select current page",
|
|
"selectInvert": "Invert current page",
|
|
"selectionAll": "Select all data",
|
|
"sortTitle": "Sort",
|
|
"expand": "Expand row",
|
|
"collapse": "Collapse row",
|
|
"triggerDesc": "Click sort by descend",
|
|
"triggerAsc": "Click sort by ascend",
|
|
"cancelSort": "Click to cancel sort"
|
|
},
|
|
"Modal": {
|
|
"okText": "OK",
|
|
"cancelText": "Cancel"
|
|
},
|
|
"Confirm": {
|
|
"okText": "OK",
|
|
"cancelText": "Cancel",
|
|
"yesText": "Yes",
|
|
"noText": "No",
|
|
"retryText": "Retry",
|
|
"abortText": "Abort",
|
|
"ignoreText": "Ignore"
|
|
},
|
|
"Popconfirm": {
|
|
"okText": "OK",
|
|
"cancelText": "Cancel"
|
|
},
|
|
"Transfer": {
|
|
"titles": [ "", "" ],
|
|
"searchPlaceholder": "Search here",
|
|
"itemUnit": "item",
|
|
"itemsUnit": "items"
|
|
},
|
|
"Upload": {
|
|
"uploading": "Uploading...",
|
|
"removeFile": "Remove file",
|
|
"uploadError": "Upload error",
|
|
"previewFile": "Preview file",
|
|
"downloadFile": "Download file"
|
|
},
|
|
"Empty": { "description": "No Data" },
|
|
"Icon": { "icon": "icon" },
|
|
"Text": {
|
|
"edit": "Edit",
|
|
"copy": "Copy",
|
|
"copied": "Copied",
|
|
"expand": "Expand"
|
|
},
|
|
"PageHeader": { "back": "Back" },
|
|
"Form": {
|
|
"defaultValidateMessages": {
|
|
"default": "Field validation error ${label}",
|
|
"required": "Please enter ${label}",
|
|
"enum": "${label} must be one of [${enum}]",
|
|
"whitespace": "${label} cannot be a blank character",
|
|
"date": {
|
|
"format": "${label} date format is invalid",
|
|
"parse": "${label} cannot be converted to a date",
|
|
"invalid": "${label} is an invalid date"
|
|
},
|
|
"types": {
|
|
"string": "${label} is not a valid ${type}",
|
|
"method": "${label} is not a valid ${type}",
|
|
"array": "${label} is not a valid ${type}",
|
|
"object": "${label} is not a valid ${type}",
|
|
"number": "${label} is not a valid ${type}",
|
|
"date": "${label} is not a valid ${type}",
|
|
"boolean": "${label} is not a valid ${type}",
|
|
"integer": "${label} is not a valid ${type}",
|
|
"float": "${label} is not a valid ${type}",
|
|
"regexp": "${label} is not a valid ${type}",
|
|
"email": "${label} is not a valid ${type}",
|
|
"url": "${label} is not a valid ${type}",
|
|
"hex": "${label} is not a valid ${type}"
|
|
},
|
|
"string": {
|
|
"len": "${label} must be ${len} characters",
|
|
"min": "${label} at least ${min} characters",
|
|
"max": "${label} up to ${max} characters",
|
|
"range": "${label} must be between ${min}-${max} characters"
|
|
},
|
|
"number": {
|
|
"len": "${label} must be equal to ${len}",
|
|
"min": "${label} minimum value is ${min}",
|
|
"max": "${label} maximum value is ${max}",
|
|
"range": "${label} must be between ${min}-${max}"
|
|
},
|
|
"array": {
|
|
"len": "Must be ${len} ${label}",
|
|
"min": "At least ${min} ${label}",
|
|
"max": "At most ${max} ${label}",
|
|
"range": "The amount of ${label} must be between ${min}-${max}"
|
|
},
|
|
"pattern": { "mismatch": "${label} does not match the pattern ${pattern}" }
|
|
}
|
|
}
|
|
} |