diff --git a/components/lib/api/Locale.js b/components/lib/api/Locale.js index aa87304549..18a20cdddc 100644 --- a/components/lib/api/Locale.js +++ b/components/lib/api/Locale.js @@ -2,127 +2,127 @@ import PrimeReact from './PrimeReact'; let locales = { en: { - startsWith: 'Starts with', + accept: 'Yes', + addRule: 'Add Rule', + am: 'AM', + apply: 'Apply', + cancel: 'Cancel', + choose: 'Choose', + chooseDate: 'Choose Date', + chooseMonth: 'Choose Month', + chooseYear: 'Choose Year', + clear: 'Clear', + completed: 'Completed', contains: 'Contains', - notContains: 'Not contains', + custom: 'Custom', + dateAfter: 'Date is after', + dateBefore: 'Date is before', + dateFormat: 'mm/dd/yy', + dateIs: 'Date is', + dateIsNot: 'Date is not', + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + emptyFilterMessage: 'No results found', + emptyMessage: 'No available options', + emptySearchMessage: 'No results found', + emptySelectionMessage: 'No selected item', endsWith: 'Ends with', equals: 'Equals', - notEquals: 'Not equals', - noFilter: 'No Filter', + fileSizeTypes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], filter: 'Filter', - lt: 'Less than', - lte: 'Less than or equal to', + firstDayOfWeek: 0, gt: 'Greater than', gte: 'Greater than or equal to', - dateIs: 'Date is', - dateIsNot: 'Date is not', - dateBefore: 'Date is before', - dateAfter: 'Date is after', - custom: 'Custom', - clear: 'Clear', - close: 'Close', - apply: 'Apply', + lt: 'Less than', + lte: 'Less than or equal to', matchAll: 'Match All', matchAny: 'Match Any', - addRule: 'Add Rule', - removeRule: 'Remove Rule', - accept: 'Yes', - reject: 'No', - choose: 'Choose', - upload: 'Upload', - cancel: 'Cancel', - completed: 'Completed', - pending: 'Pending', - fileSizeTypes: ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], - dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], - dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], - dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'], + medium: 'Medium', monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - chooseYear: 'Choose Year', - chooseMonth: 'Choose Month', - chooseDate: 'Choose Date', - prevDecade: 'Previous Decade', nextDecade: 'Next Decade', - prevYear: 'Previous Year', - nextYear: 'Next Year', - prevMonth: 'Previous Month', - nextMonth: 'Next Month', - prevHour: 'Previous Hour', nextHour: 'Next Hour', - prevMinute: 'Previous Minute', nextMinute: 'Next Minute', - prevSecond: 'Previous Second', + nextMonth: 'Next Month', nextSecond: 'Next Second', - prevMilliSecond: 'Previous Second', - nextMilliSecond: 'Next Second', - am: 'am', - pm: 'pm', - today: 'Today', + nextYear: 'Next Year', + noFilter: 'No Filter', + notContains: 'Not contains', + notEquals: 'Not equals', now: 'Now', - weekHeader: 'Wk', - firstDayOfWeek: 0, + passwordPrompt: 'Enter a password', + pending: 'Pending', + pm: 'PM', + prevDecade: 'Previous Decade', + prevHour: 'Previous Hour', + prevMinute: 'Previous Minute', + prevMonth: 'Previous Month', + prevSecond: 'Previous Second', + prevYear: 'Previous Year', + reject: 'No', + removeRule: 'Remove Rule', + searchMessage: '{0} results are available', + selectionMessage: '{0} items selected', showMonthAfterYear: false, - dateFormat: 'mm/dd/yy', - weak: 'Weak', - medium: 'Medium', + startsWith: 'Starts with', strong: 'Strong', - passwordPrompt: 'Enter a password', - emptyFilterMessage: 'No available options', - emptyMessage: 'No results found', + today: 'Today', + upload: 'Upload', + weak: 'Weak', + weekHeader: 'Wk', aria: { - trueLabel: 'True', - falseLabel: 'False', - nullLabel: 'Not Selected', - star: '1 star', - stars: '{star} stars', - selectAll: 'All items selected', - unselectAll: 'All items unselected', + cancelEdit: 'Cancel Edit', close: 'Close', - previous: 'Previous', - next: 'Next', - navigation: 'Navigation', - scrollTop: 'Scroll Top', - moveTop: 'Move Top', - moveUp: 'Move Up', - moveDown: 'Move Down', - moveBottom: 'Move Bottom', - moveToTarget: 'Move to Target', - moveToSource: 'Move to Source', - moveAllToTarget: 'Move All to Target', - moveAllToSource: 'Move All to Source', - pageLabel: 'Page {page}', + collapseRow: 'Row Collapsed', + editRow: 'Edit Row', + expandRow: 'Row Expanded', + falseLabel: 'False', + filterConstraint: 'Filter Constraint', + filterOperator: 'Filter Operator', firstPageLabel: 'First Page', + gridView: 'Grid View', + hideFilterMenu: 'Hide Filter Menu', + jumpToPageDropdownLabel: 'Jump to Page Dropdown', + jumpToPageInputLabel: 'Jump to Page Input', lastPageLabel: 'Last Page', + listView: 'List View', + moveAllToSource: 'Move All to Source', + moveAllToTarget: 'Move All to Target', + moveBottom: 'Move Bottom', + moveDown: 'Move Down', + moveToSource: 'Move to Source', + moveToTarget: 'Move to Target', + moveTop: 'Move Top', + moveUp: 'Move Up', + navigation: 'Navigation', + next: 'Next', nextPageLabel: 'Next Page', + nullLabel: 'Not Selected', + pageLabel: 'Page {page}', + otpLabel: 'Please enter one time password character {0}', + passwordHide: 'Hide Password', + passwordShow: 'Show Password', + previous: 'Previous', previousPageLabel: 'Previous Page', + rotateLeft: 'Rotate Left', + rotateRight: 'Rotate Right', rowsPerPageLabel: 'Rows per page', - jumpToPageDropdownLabel: 'Jump to Page Dropdown', - jumpToPageInputLabel: 'Jump to Page Input', + saveEdit: 'Save Edit', + scrollTop: 'Scroll Top', + selectAll: 'All items selected', selectRow: 'Row Selected', - unselectRow: 'Row Unselected', - expandRow: 'Row Expanded', - collapseRow: 'Row Collapsed', showFilterMenu: 'Show Filter Menu', - hideFilterMenu: 'Hide Filter Menu', - filterOperator: 'Filter Operator', - filterConstraint: 'Filter Constraint', - editRow: 'Row Edit', - saveEdit: 'Save Edit', - cancelEdit: 'Cancel Edit', - listView: 'List View', - gridView: 'Grid View', slide: 'Slide', slideNumber: '{slideNumber}', + star: '1 star', + stars: '{star} stars', + trueLabel: 'True', + unselectAll: 'All items unselected', + unselectRow: 'Row Unselected', zoomImage: 'Zoom Image', zoomIn: 'Zoom In', - zoomOut: 'Zoom Out', - rotateRight: 'Rotate Right', - rotateLeft: 'Rotate Left', - selectLabel: 'Select', - unselectLabel: 'Unselect', - expandLabel: 'Expand', - collapseLabel: 'Collapse' + zoomOut: 'Zoom Out' } } }; diff --git a/components/lib/api/api.d.ts b/components/lib/api/api.d.ts index a2de9b7b5b..0ae2a96a39 100644 --- a/components/lib/api/api.d.ts +++ b/components/lib/api/api.d.ts @@ -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) */ @@ -915,7 +983,7 @@ export interface LocaleOptions { */ emptyMessage?: string; /** - * True + * ARIA labels */ aria?: { /** @@ -931,9 +999,81 @@ 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; + /** + * Please enter one time password character {0} + */ + otpLabel?: string; /** * First Page */ @@ -951,21 +1091,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; }; }