Skip to content

Commit

Permalink
Fix #6050: Locale TypeScript updates
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Feb 27, 2024
1 parent a2a2f11 commit 857a47b
Showing 1 changed file with 222 additions and 10 deletions.
232 changes: 222 additions & 10 deletions components/lib/api/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,74 @@ export interface LocaleOptions {
* ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
*/
monthNamesShort?: string[];
/**
* Choose Year
*/
chooseYear?: string;
/**
* Choose Month
*/
chooseMonth?: string;
/**
* Choose Date
*/
chooseDate?: string;
/**
* Previous Decade
*/
prevDecade?: string;
/**
* Next Decade
*/
nextDecade?: string;
/**
* Previous Year
*/
prevYear?: string;
/**
* Next Year
*/
nextYear?: string;
/**
* Previous Month
*/
prevMonth?: string;
/**
* Next Month
*/
nextMonth?: string;
/**
* Previous Hour
*/
prevHour?: string;
/**
* Next Hour
*/
nextHour?: string;
/**
* Previous Minute
*/
prevMinute?: string;
/**
* Next Minute
*/
nextMinute?: string;
/**
* Previous Second
*/
prevSecond?: string;
/**
* Next Second
*/
nextSecond?: string;
/**
* AM
*/
am?: string;
/**
* PM
*/
pm?: string;
/**
* Today (Calendar date only)
*/
Expand Down Expand Up @@ -915,7 +983,7 @@ export interface LocaleOptions {
*/
emptyMessage?: string;
/**
* True
* ARIA labels
*/
aria?: {
/**
Expand All @@ -931,7 +999,75 @@ export interface LocaleOptions {
*/
nullLabel?: string;
/**
* Page
* 1 star
*/
star?: string;
/**
* {star} stars
*/
stars?: string;
/**
* All items selected
*/
selectAll?: string;
/**
* All items unselected
*/
unselectAll?: string;
/**
* Close
*/
close?: string;
/**
* Previous
*/
previous?: string;
/**
* Next
*/
next?: string;
/**
* Navigation
*/
navigation?: string;
/**
* Scroll Top
*/
scrollTop?: string;
/**
* Move Top
*/
moveTop?: string;
/**
* Move Up
*/
moveUp?: string;
/**
* Move Down
*/
moveDown?: string;
/**
* Move Bottom
*/
moveBottom?: string;
/**
* Move to Target
*/
moveToTarget?: string;
/**
* Move to Source
*/
moveToSource?: string;
/**
* Move All to Target
*/
moveAllToTarget?: string;
/**
* Move All to Source
*/
moveAllToSource?: string;
/**
* Page {page}
*/
pageLabel?: string;
/**
Expand All @@ -951,21 +1087,97 @@ export interface LocaleOptions {
*/
previousPageLabel?: string;
/**
* Select
* Rows per page
*/
rowsPerPageLabel?: string;
/**
* Jump to Page Dropdown
*/
jumpToPageDropdownLabel?: string;
/**
* Jump to Page Input
*/
jumpToPageInputLabel?: string;
/**
* Row Selected
*/
selectRow?: string;
/**
* Row Unselected
*/
unselectRow?: string;
/**
* Row Expanded
*/
expandRow?: string;
/**
* Row Collapsed
*/
collapseRow?: string;
/**
* Show Filter Menu
*/
showFilterMenu?: string;
/**
* Hide Filter Menu
*/
hideFilterMenu?: string;
/**
* Filter Operator
*/
filterOperator?: string;
/**
* Filter Constraint
*/
filterConstraint?: string;
/**
* Edit Row
*/
editRow?: string;
/**
* Save Edit
*/
saveEdit?: string;
/**
* Cancel Edit
*/
cancelEdit?: string;
/**
* List View
*/
listView?: string;
/**
* Grid View
*/
gridView?: string;
/**
* Slide
*/
slide?: string;
/**
* {slideNumber}
*/
slideNumber?: string;
/**
* Zoom Image
*/
zoomImage?: string;
/**
* Zoom In
*/
selectLabel?: string;
zoomIn?: string;
/**
* Unselect
* Zoom Out
*/
unselectLabel?: string;
zoomOut?: string;
/**
* Expand
* Rotate Right
*/
expandLabel?: string;
rotateRight?: string;
/**
* Collapse
* Rotate Left
*/
collapseLabel?: string;
rotateLeft?: string;
};
}

Expand Down

0 comments on commit 857a47b

Please sign in to comment.