Make WordPress Core

Ticket #60975: 60975.2.diff

File 60975.2.diff, 1.7 KB (added by joedolson, 6 months ago)

Patch that makes URL translatable.

  • src/wp-admin/includes/media.php

     
    32403240                printf(
    32413241                        /* translators: 1: Link to tutorial, 2: Additional link attributes, 3: Accessibility text. */
    32423242                        __( '<a href="%1$s" %2$s>Learn how to describe the purpose of the image%3$s</a>. Leave empty if the image is purely decorative.' ),
    3243                         esc_url( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ),
     3243                        /* translators: Localized tutorial, if one exists. Link includes list of existing translations. */
     3244                        esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree' ) ),
    32443245                        'target="_blank" rel="noopener"',
    32453246                        sprintf(
    32463247                                '<span class="screen-reader-text"> %s</span>',