Skip to content

Commit c23abab

Browse files
Merge pull request #121 from WordPress/fix/trans-scope
adding translation domain co-autohred by: @alexclassroom
2 parents 0491d80 + 3fe52ee commit c23abab

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

admin/class-embed-fonts-in-theme.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ function create_admin_menu() {
2424
return;
2525
}
2626

27-
$google_fonts_page_title=_x('Embed Google font in current Theme', 'UI String', 'add-google-font-to-theme-json');
28-
$google_fonts_menu_title=_x('Embed Google font in current Theme', 'UI String', 'add-google-font-to-theme-json');
27+
$google_fonts_page_title=_x('Embed Google font in current Theme', 'UI String', 'create-block-theme');
28+
$google_fonts_menu_title=_x('Embed Google font in current Theme', 'UI String', 'create-block-theme');
2929
add_theme_page( $google_fonts_page_title, $google_fonts_menu_title, 'edit_theme_options', 'add-google-font-to-theme-json', [ $this, 'google_fonts_admin_page' ] );
3030

31-
$local_fonts_page_title=_x('Embed local font in current Theme', 'UI String', 'add-local-font-to-theme-json');
32-
$local_fonts_menu_title=_x('Embed local font in current Theme', 'UI String', 'add-local-font-to-theme-json');
31+
$local_fonts_page_title=_x('Embed local font in current Theme', 'UI String', 'create-block-theme');
32+
$local_fonts_menu_title=_x('Embed local font in current Theme', 'UI String', 'create-block-theme');
3333
add_theme_page( $local_fonts_page_title, $local_fonts_menu_title, 'edit_theme_options', 'add-local-font-to-theme-json', [ $this, 'local_fonts_admin_page' ] );
3434
}
3535

0 commit comments

Comments
 (0)