Skip to content

Commit

Permalink
Fix typo in Dataviews Pagination and Font Collection components (#59656)
Browse files Browse the repository at this point in the history
Co-authored-by: rcoll <rdcoll@git.wordpress.org>
  • Loading branch information
rcoll and rcoll committed Mar 7, 2024
1 parent 7fa6624 commit 9888332
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/dataviews/src/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ const Pagination = memo( function Pagination( {
{ createInterpolateElement(
sprintf(
// translators: %s: Total number of pages.
_x( 'Page <CurrenPageControl /> of %s', 'paging' ),
_x( 'Page <CurrentPageControl /> of %s', 'paging' ),
totalPages
),
{
CurrenPageControl: (
CurrentPageControl: (
<SelectControl
aria-label={ __( 'Current page' ) }
value={ view.page }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,13 @@ function FontCollection( { slug } ) {
sprintf(
// translators: %s: Total number of pages.
_x(
'Page <CurrenPageControl /> of %s',
'Page <CurrentPageControl /> of %s',
'paging'
),
totalPages
),
{
CurrenPageControl: (
CurrentPageControl: (
<SelectControl
aria-label={ __( 'Current page' ) }
value={ page }
Expand Down

0 comments on commit 9888332

Please sign in to comment.