Make WordPress Core


Ignore:
Timestamp:
01/11/2019 06:03:46 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the minor WordPress.WP.I18n violations.

WordPress.WP.I18n.MissingTranslatorsComment is in progress in #44360.

See #45934.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/credits.php

    r44264 r44562  
    6666            $title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
    6767        } elseif ( isset( $group_data['placeholders'] ) ) {
     68            // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
    6869            $title = vsprintf( translate( $group_data['name'] ), $group_data['placeholders'] );
    6970        } else {
     71            // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
    7072            $title = translate( $group_data['name'] );
    7173        }
     
    101103                echo esc_html( $person_data[0] ) . "</a>\n\t";
    102104                if ( ! $compact ) {
     105                    // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText
    103106                    echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n";
    104107                }
Note: See TracChangeset for help on using the changeset viewer.