ant-design-blazor/components/locales/en-US.json
James Yeung bd34858efd feat: support for globalization & localization (#578)
* feat: add locale

* feat: add locale interfaces

* fix: add locale interfaces for components

* fix: use local classes instead of interfaces

* feat: implement the locale provider

* feat: make some components to support localization

* fix: default language

* fix: test

* chore: remove the useless reference
2020-09-07 22:46:50 +08:00

200 lines
6.5 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": {
"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" ]
}
},
"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",
"justOkText": "OK"
},
"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}" }
}
}
}