WordPress.org

Make WordPress Core

Ticket #51961: 51961.diff

File 51961.diff, 1.1 KB (added by audrasjb, 4 months ago)

i18n change after @sabernhardt’s comment

  • src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php

    diff --git a/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php b/src/wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php
    index 7dc7920472..4b3602261a 100644
    a b class Twenty_Twenty_One_Dark_Mode { 
    185185                $description  = '<p>';
    186186                $description .= sprintf(
    187187                        /* translators: %s: Twenty Twenty-One support article URL. */
    188                         __( 'Dark Mode is a device setting. If a visitor to your site requests it, your site will be shown with a dark background and light text. <a href="%s">Learn more about Dark Mode.</a>', 'twentytwentyone' ),
     188                        __( 'Dark Mode is a device setting. If a visitor to your site requests it, your site will be shown with a dark background and light text. Learn more about <a href="%s">how to work with Dark Mode in this theme</a>.', 'twentytwentyone' ),
    189189                        esc_url( __( 'https://wordpress.org/support/article/twenty-twenty-one/#dark-mode-support', 'twentytwentyone' ) )
    190190                );
    191191                $description .= '</p>';