Skip to content

Commit abf9109

Browse files
I18N: Add context for Next/Previous strings in the jQuery UI datepicker.
Follow-up to [37849]. Props timse201, anupkankale. Fixes #65005. git-svn-id: https://develop.svn.wordpress.org/trunk@62188 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 88734d4 commit abf9109

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/script-loader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,8 +2020,8 @@ function wp_localize_jquery_ui_datepicker() {
20202020
'currentText' => __( 'Today' ),
20212021
'monthNames' => array_values( $wp_locale->month ),
20222022
'monthNamesShort' => array_values( $wp_locale->month_abbrev ),
2023-
'nextText' => __( 'Next' ),
2024-
'prevText' => __( 'Previous' ),
2023+
'nextText' => _x( 'Next', 'datepicker: navigate to next month' ),
2024+
'prevText' => _x( 'Previous', 'datepicker: navigate to previous month' ),
20252025
'dayNames' => array_values( $wp_locale->weekday ),
20262026
'dayNamesShort' => array_values( $wp_locale->weekday_abbrev ),
20272027
'dayNamesMin' => array_values( $wp_locale->weekday_initial ),

0 commit comments

Comments
 (0)