WordPress.org

Make WordPress Core

Ticket #36493: 36493.diff

File 36493.diff, 746 bytes (added by christophherr, 6 years ago)

Moves the translator comment above the string with a placeholder.

  • script-loader.php

     
    227227        // Strings for 'jquery-ui-autocomplete' live region messages
    228228        did_action( 'init' ) && $scripts->localize( 'jquery-ui-autocomplete', 'uiAutocompleteL10n', array(
    229229                'noResults' => __( 'No search results.' ),
     230                'oneResult' => __( '1 result found. Use up and down arrow keys to navigate.' ),
    230231                /* translators: Number of results found when using jQuery UI Autocomplete */
    231                 'oneResult' => __( '1 result found. Use up and down arrow keys to navigate.' ),
    232232                'manyResults' => __( '%d results found. Use up and down arrow keys to navigate.' ),
    233233        ) );
    234234