Skip to content

Commit 8de9a14

Browse files
committed
I18N: Add context for Next/Previous strings in the jQuery UI datepicker.
Follow-up to [37849]. Reviewed by jorbin, audrasjb. Merges [62188] to the 7.0 branch. Props timse201, anupkankale, sergeyBiryukov. Fixes #65005. git-svn-id: https://develop.svn.wordpress.org/branches/7.0@62242 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 69a35b6 commit 8de9a14

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)