WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/30/2018 12:35:08 PM (14 months ago)
Author:
jrf
Message:

I18n: Improve translators comments [2].

  • Add missing translators comments.
  • Fix placement of some translators comments. Translators comments should be on the line directly above the line containing the translation function call for optimal compatibility with various .pot file generation tools. The CS auto-fixing, which changed some inconsistent function calls to multi-line function calls, is part of the reason why this was no longer the case for a select group of translators comments.

Patch 44360.wp-includes_customize.3.patch of the series.

Props marcomartins, mihaiiceyro, michielatyoast
See #44360

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-themes-section.php

    r42447 r43596  
    8888                    <p class="no-themes-local">
    8989                        <?php
    90                         /* translators: %s: "Search WordPress.org themes" button */
    9190                        printf(
     91                            /* translators: %s: "Search WordPress.org themes" button text */
    9292                            __( 'No themes found. Try a different search, or %s.' ),
    9393                            sprintf( '<button type="button" class="button-link search-dotorg-themes">%s</button>', __( 'Search WordPress.org themes' ) )
Note: See TracChangeset for help on using the changeset viewer.