Ticket #21751: 21751.3.diff
File 21751.3.diff, 1.4 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentytwelve/functions.php
115 115 116 116 /* translators: If there are characters in your language that are not supported 117 117 by Open Sans, translate this to 'off'. Do not translate into your own language. */ 118 if ( 'o ff' == _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) {118 if ( 'on' == _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) { 119 119 120 120 $subsets = 'latin,latin-ext'; 121 121 122 122 /* translators: To add an additional Open Sans character subset specific to your language, translate 123 123 this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. */ 124 $subset = _x( ' ', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'twentytwelve' ); 124 125 125 $subset = _x( ' ', 'Open Sans font: add new subset (greek, cyrllic, vietnamese)', 'twentytwelve' ); 126 127 if ( $subset == 'cyrillic' ) 126 if ( 'cyrillic' == $subset ) 128 127 $subsets .= ',cyrillic,cyrillic-ext'; 129 elseif ( $subset == 'greek')128 elseif ( 'greek' == $subset ) 130 129 $subsets .= ',greek,greek-ext'; 131 elseif ( $subsets == 'vietnamese')130 elseif ( 'vietnamese' == $subset ) 132 131 $subsets .= ',vietnamese'; 133 132 134 133 $protocol = is_ssl() ? 'https' : 'http';