Making WordPress.org

Ticket #5670: 5670.diff

File 5670.diff, 761 bytes (added by audrasjb, 3 years ago)

Allow the link to the Documentation to be translated for Locales that have a Localized version of HelpHub

  • wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
    index f837f3e41..3fe5ccd48 100644
    a b get_header( 'wporg' ); 
    215215                                                printf(
    216216                                                        /* translators: URL to HelpHub. */
    217217                                                        __( '<a href="%s">Spend some time reading our documentation</a>, get to know WordPress better every day and start helping others,&nbsp;too.', 'wporg' ),
    218                                                         esc_url( 'https://wordpress.org/support/' )
     218                                                        esc_url( __( 'https://wordpress.org/support/' ) )
    219219                                                );
    220220                                                ?>
    221221                                        </li>