Make WordPress Core

Ticket #40865: 40865.diff

File 40865.diff, 2.4 KB (added by dimadin, 7 years ago)
  • wp-admin/includes/dashboard.php

     
    11691169                                <label for="community-events-location">
    11701170                                        <?php _e( 'City:' ); ?>
    11711171                                </label>
    1172                                 <?php /* translators: Replace with the name of a city in your locale that shows events. Use only the city name itself, without any region or country. Use the endonym instead of the English name. */ ?>
    1173                                 <input id="community-events-location" class="regular-text" type="text" name="community-events-location" placeholder="<?php esc_attr_e( 'Cincinnati' ); ?>" />
     1172                                <?php /* translators: Replace with the name of a city related to your locale that shows events (test that it matches the expected location before including it). Use only the city name itself, without any region or country. Use the endonym (native locale name) instead of the English name if possible. */ ?>
     1173                                <input id="community-events-location" class="regular-text" type="text" name="community-events-location" placeholder="<?php echo esc_attr_x( 'Cincinnati', 'community events location input field placeholder' ); ?>" />
    11741174
    11751175                                <?php submit_button( __( 'Submit' ), 'secondary', 'community-events-submit', false ); ?>
    11761176
  • wp-includes/script-loader.php

     
    10461046                         * It would be too cumbersome to include that in the instructions
    10471047                         * to the user, so it's left as an implication.
    10481048                         */
    1049                         /* translators: %s is the name of the city we couldn't locate. Replace the examples with cities in your locale, but test that they match the expected location before including them. Use endonyms (native locale names) whenever possible. */
     1049                        /* translators: %s is the name of the city we couldn't locate. Replace the examples with cities related to your locale, but test that they match the expected location before including them. Use endonyms (native locale names) whenever possible. */
    10501050                        'could_not_locate_city' => __( 'We couldn&#8217;t locate %s. Please try another nearby city. For example: Kansas City; Springfield; Portland.' ),
    10511051
    10521052                        // This one is only used with wp.a11y.speak(), so it can/should be more brief.