Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.
Props netweb, DrewAPicture, fixes #30603. git-svn-id: https://develop.svn.wordpress.org/trunk@30790 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e5f09f28de
commit
9e9134b91e
@ -153,34 +153,22 @@ function twentyfifteen_fonts_url() {
|
||||
$fonts = array();
|
||||
$subsets = 'latin,latin-ext';
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* 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. */
|
||||
if ( 'off' !== _x( 'on', 'Noto Sans font: on or off', 'twentyfifteen' ) ) {
|
||||
$fonts[] = 'Noto Sans:400italic,700italic,400,700';
|
||||
}
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* 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. */
|
||||
if ( 'off' !== _x( 'on', 'Noto Serif font: on or off', 'twentyfifteen' ) ) {
|
||||
$fonts[] = 'Noto Serif:400italic,700italic,400,700';
|
||||
}
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* 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. */
|
||||
if ( 'off' !== _x( 'on', 'Inconsolata font: on or off', 'twentyfifteen' ) ) {
|
||||
$fonts[] = 'Inconsolata:400,700';
|
||||
}
|
||||
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* 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. */
|
||||
$subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'twentyfifteen' );
|
||||
|
||||
if ( 'cyrillic' == $subset ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user