|
8 | 8 | $kit_info = get_option( 'custom-typekit-fonts' ); |
9 | 9 | ?> |
10 | 10 | <div class="wrap"> |
11 | | - <h2><?php esc_html_e( 'Typekit Fonts', 'custom-typekit-fonts' ); ?></h2> |
| 11 | + <h2><?php esc_html_e( apply_filters( 'custom_typekit_fonts_menu_title', __( 'Adobe Fonts', 'custom-typekit-fonts' ) ) ); ?></h2> |
12 | 12 | <div id="poststuff"> |
13 | 13 | <div id="post-body" class="metabox-holder columns-2 typekit-custom-fonts-wrap"> |
14 | 14 | <div id="post-body-content"> |
|
21 | 21 | <tr valign="top"> |
22 | 22 | <th scope="row"> |
23 | 23 | <label |
24 | | - for="typekit_id"> <?php esc_html_e( 'Kit ID:', 'custom-typekit-fonts' ); ?> |
| 24 | + for="typekit_id"> <?php esc_html_e( 'Project ID:', 'custom-typekit-fonts' ); ?> |
25 | 25 | </label> |
26 | 26 | <i class="custom-typekit-fonts-help dashicons dashicons-editor-help" |
27 | | - title="<?php echo esc_attr__( 'Please Enter the Valid Kit ID to get the kit details.', 'custom-typekit-fonts' ); ?>"></i> |
| 27 | + title="<?php echo esc_attr__( 'Please Enter the Valid Project ID to get the kit details.', 'custom-typekit-fonts' ); ?>"></i> |
28 | 28 | </th> |
29 | 29 | <td><input |
30 | 30 | style="display:<?php echo esc_attr( empty( $kit_info['custom-typekit-font-details'] ) ? 'inline-block' : 'none' ); ?>" |
31 | 31 | type="text" name="custom-typekit-font-id" id="custom-typekit-font-id" |
32 | 32 | value="<?php echo ( isset( $kit_info['custom-typekit-font-id'] ) ) ? esc_attr( $kit_info['custom-typekit-font-id'] ) : ''; ?>"> |
33 | 33 | <?php if ( ! empty( $kit_info['custom-typekit-font-details'] ) ) : ?> |
34 | 34 | <a class="add-new-typekit button button-large" |
35 | | - href="#"><?php echo esc_html__( 'Edit Kit ID', 'custom-typekit-fonts' ); ?></a> |
| 35 | + href="#"><?php echo esc_html__( 'Edit Project ID', 'custom-typekit-fonts' ); ?></a> |
36 | 36 | <?php endif; ?> |
37 | 37 |
|
38 | 38 | <?php |
|
109 | 109 | <p> |
110 | 110 | <?php |
111 | 111 | /* translators: %1$s: typekit site url. */ |
112 | | - printf( __( 'You can get the Kit ID <a href=%1$s target="_blank" >here</a> from your Typekit Account. <b>Kit ID</b> can be found next to the kit names.', 'custom-typekit-fonts' ), 'https://typekit.com/account/kits' ); |
| 112 | + printf( __( 'You can get the Project ID <a href=%1$s target="_blank" >here</a> from your Typekit Account. <b>Project ID</b> can be found next to the kit names.', 'custom-typekit-fonts' ), 'https://fonts.adobe.com/my_fonts?browse_mode=all#web_projects-section' ); |
113 | 113 | ?> |
114 | 114 | </p> |
115 | 115 |
|
|
0 commit comments