diff --git a/wp-admin/edit-form-blocks.php b/wp-admin/edit-form-blocks.php index 63d48e381c..74ec34c9f2 100644 --- a/wp-admin/edit-form-blocks.php +++ b/wp-admin/edit-form-blocks.php @@ -177,6 +177,16 @@ $styles = array( ), ), ); + +/* + * Set a locale specific default font. + * Translators: Use this to specify the CSS font family for the default font + */ +$locale_font_family = esc_html_x( 'Noto Serif', 'CSS Font Family for Editor Font' ); +$styles[] = array( + 'css' => "body { font-family: '$locale_font_family' }", +); + if ( $editor_styles && current_theme_supports( 'editor-styles' ) ) { foreach ( $editor_styles as $style ) { if ( preg_match( '~^(https?:)?//~', $style ) ) { diff --git a/wp-includes/blocks/archives.php b/wp-includes/blocks/archives.php index 97c8849ffc..c94a4645d9 100644 --- a/wp-includes/blocks/archives.php +++ b/wp-includes/blocks/archives.php @@ -32,7 +32,7 @@ function render_block_core_archives( $attributes ) { $class .= ' wp-block-archives-dropdown'; $dropdown_id = esc_attr( uniqid( 'wp-block-archives-' ) ); - $title = __( 'Archives', 'gutenberg' ); + $title = __( 'Archives' ); /** This filter is documented in wp-includes/widgets/class-wp-widget-archives.php */ $dropdown_args = apply_filters( @@ -50,19 +50,19 @@ function render_block_core_archives( $attributes ) { switch ( $dropdown_args['type'] ) { case 'yearly': - $label = __( 'Select Year', 'gutenberg' ); + $label = __( 'Select Year' ); break; case 'monthly': - $label = __( 'Select Month', 'gutenberg' ); + $label = __( 'Select Month' ); break; case 'daily': - $label = __( 'Select Day', 'gutenberg' ); + $label = __( 'Select Day' ); break; case 'weekly': - $label = __( 'Select Week', 'gutenberg' ); + $label = __( 'Select Week' ); break; default: - $label = __( 'Select Post', 'gutenberg' ); + $label = __( 'Select Post' ); break; } @@ -101,7 +101,7 @@ function render_block_core_archives( $attributes ) { $block_content = sprintf( '
"),a=p.pop();e="";for(var i=0;i";n.push([s,o.substr(l)+""]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/