Make WordPress Core


Ignore:
Timestamp:
12/08/2014 06:24:13 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.

Props netweb, DrewAPicture, fixes #30603.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/functions.php

    r30692 r30790  
    154154    $subsets = 'latin,latin-ext';
    155155
    156     /*
    157      * Translators: If there are characters in your language that are not supported
    158      * by Noto Sans, translate this to 'off'. Do not translate into your own language.
    159      */
     156    /* translators: If there are characters in your language that are not supported by Noto Sans, translate this to 'off'. Do not translate into your own language. */
    160157    if ( 'off' !== _x( 'on', 'Noto Sans font: on or off', 'twentyfifteen' ) ) {
    161158        $fonts[] = 'Noto Sans:400italic,700italic,400,700';
    162159    }
    163160
    164     /*
    165      * Translators: If there are characters in your language that are not supported
    166      * by Noto Serif, translate this to 'off'. Do not translate into your own language.
    167      */
     161    /* translators: If there are characters in your language that are not supported by Noto Serif, translate this to 'off'. Do not translate into your own language. */
    168162    if ( 'off' !== _x( 'on', 'Noto Serif font: on or off', 'twentyfifteen' ) ) {
    169163        $fonts[] = 'Noto Serif:400italic,700italic,400,700';
    170164    }
    171165
    172     /*
    173      * Translators: If there are characters in your language that are not supported
    174      * by Inconsolata, translate this to 'off'. Do not translate into your own language.
    175      */
     166    /* translators: If there are characters in your language that are not supported by Inconsolata, translate this to 'off'. Do not translate into your own language. */
    176167    if ( 'off' !== _x( 'on', 'Inconsolata font: on or off', 'twentyfifteen' ) ) {
    177168        $fonts[] = 'Inconsolata:400,700';
    178169    }
    179170
    180     /*
    181      * Translators: To add an additional character subset specific to your language,
    182      * translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language.
    183      */
     171    /* translators: To add an additional character subset specific to your language, translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language. */
    184172    $subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'twentyfifteen' );
    185173
Note: See TracChangeset for help on using the changeset viewer.