diff --git a/src/components/config/PrimeVue.d.ts b/src/components/config/PrimeVue.d.ts index 8b95d4e65f..9e7011da70 100644 --- a/src/components/config/PrimeVue.d.ts +++ b/src/components/config/PrimeVue.d.ts @@ -32,6 +32,15 @@ interface PrimeVueLocaleAriaOptions { moveTop?: string; moveDown?: string; moveBottom?: string; + pageLabel?: string; + firstPageLabel?: string; + lastPageLabel?: string; + nextPageLabel?: string; + prevPageLabel?: string; + rowsPerPageLabel?: string; + previousPageLabel?: string; + jumpToPageDropdownLabel?: string; + jumpToPageInputLabel?: string; } interface PrimeVueLocaleOptions { diff --git a/src/components/config/PrimeVue.js b/src/components/config/PrimeVue.js index 6678819593..3714c7ed04 100644 --- a/src/components/config/PrimeVue.js +++ b/src/components/config/PrimeVue.js @@ -86,13 +86,15 @@ const defaultOptions = { moveUp: 'Move Up', moveDown: 'Move Down', moveBottom: 'Move Bottom', - pageLabel: 'Page', + pageLabel: '{page}', firstPageLabel: 'First Page', lastPageLabel: 'Last Page', nextPageLabel: 'Next Page', - rowsPerPageDropdownLabel: 'Rows per page', + prevPageLabel: 'Previous Page', + rowsPerPageLabel: 'Rows per page', previousPageLabel: 'Previous Page', - jumpToPageLabel: 'Jump to Page' + jumpToPageDropdownLabel: 'Jump to Page Dropdown', + jumpToPageInputLabel: 'Jump to Page Input' } }, filterMatchModeOptions: { diff --git a/src/components/paginator/JumpToPageInput.vue b/src/components/paginator/JumpToPageInput.vue index 7166013672..c802d0763b 100644 --- a/src/components/paginator/JumpToPageInput.vue +++ b/src/components/paginator/JumpToPageInput.vue @@ -1,5 +1,5 @@