Skip to content

Commit 11b4428

Browse files
committed
grunt i18n
1 parent a084184 commit 11b4428

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

admin/bsf-analytics/class-bsf-analytics.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ public function option_notice() {
213213
}
214214

215215
/* translators: %s product name */
216-
$notice_string = __( 'Want to help make <strong>%1s</strong> even more awesome? Allow us to collect non-sensitive diagnostic data and usage information. ' );
216+
$notice_string = __( 'Want to help make <strong>%1s</strong> even more awesome? Allow us to collect non-sensitive diagnostic data and usage information. ', 'custom-typekit-fonts' );
217217

218218
if ( is_multisite() ) {
219-
$notice_string .= __( 'This will be applicable for all sites from the network.' );
219+
$notice_string .= __( 'This will be applicable for all sites from the network.', 'custom-typekit-fonts' );
220220
}
221221

222222
$language_dir = is_rtl() ? 'rtl' : 'ltr';
@@ -240,15 +240,15 @@ public function option_notice() {
240240
</div>
241241
</div>',
242242
/* translators: %s usage doc link */
243-
sprintf( $notice_string . '<span dir="%2s"><a href="%3s" target="_blank" rel="noreferrer noopener">%4s</a><span>', esc_html( $data['product_name'] ), $language_dir, esc_url( $usage_doc_link ), __( ' Know More.', 'astra' ) ),
243+
sprintf( $notice_string . '<span dir="%2s"><a href="%3s" target="_blank" rel="noreferrer noopener">%4s</a><span>', esc_html( $data['product_name'] ), $language_dir, esc_url( $usage_doc_link ), __( ' Know More.', 'custom-typekit-fonts' ) ),
244244
add_query_arg(
245245
array(
246246
$key . '_analytics_optin' => 'yes',
247247
$key . '_analytics_nonce' => wp_create_nonce( $key . '_analytics_optin' ),
248248
'bsf_analytics_source' => $key,
249249
)
250250
),
251-
__( 'Yes! Allow it' ),
251+
__( 'Yes! Allow it', 'custom-typekit-fonts' ),
252252
add_query_arg(
253253
array(
254254
$key . '_analytics_optin' => 'no',
@@ -257,7 +257,7 @@ public function option_notice() {
257257
)
258258
),
259259
MONTH_IN_SECONDS,
260-
__( 'No Thanks' )
260+
__( 'No Thanks', 'custom-typekit-fonts' )
261261
),
262262
'show_if' => true,
263263
'repeat-notice-after' => false,
@@ -361,7 +361,7 @@ public function register_usage_tracking_setting() {
361361

362362
add_settings_field(
363363
$key . '-analytics-optin', // Field ID.
364-
__( 'Usage Tracking' ), // Field title.
364+
__( 'Usage Tracking', 'custom-typekit-fonts' ), // Field title.
365365
array( $this, 'render_settings_field_html' ), // Field callback function.
366366
'general',
367367
'default', // Settings page slug.
@@ -405,15 +405,15 @@ public function render_settings_field_html( $args ) {
405405
<input id="<?php echo esc_attr( $args['id'] ); ?>" type="checkbox" value="1" name="<?php echo esc_attr( $args['name'] ); ?>" <?php checked( get_site_option( $args['name'], 'no' ), 'yes' ); ?>>
406406
<?php
407407
/* translators: %s Product title */
408-
echo esc_html( sprintf( __( 'Allow %s products to track non-sensitive usage tracking data.' ), $args['title'] ) );// phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText
408+
echo esc_html( sprintf( __( 'Allow %s products to track non-sensitive usage tracking data.', 'custom-typekit-fonts' ), $args['title'] ) );// phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText
409409

410410
if ( is_multisite() ) {
411-
esc_html_e( ' This will be applicable for all sites from the network.' );
411+
esc_html_e( ' This will be applicable for all sites from the network.', 'custom-typekit-fonts' );
412412
}
413413
?>
414414
</label>
415415
<?php
416-
echo wp_kses_post( sprintf( '<a href="%1s" target="_blank" rel="noreferrer noopener">%2s</a>', esc_url( $args['usage_doc_link'] ), __( 'Learn More.' ) ) );
416+
echo wp_kses_post( sprintf( '<a href="%1s" target="_blank" rel="noreferrer noopener">%2s</a>', esc_url( $args['usage_doc_link'] ), __( 'Learn More.', 'custom-typekit-fonts' ) ) );
417417
?>
418418
</fieldset>
419419
<?php

languages/custom-typekit-fonts.pot

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is distributed under the same license as the Custom Adobe Fonts (Typekit) package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Custom Adobe Fonts (Typekit) 1.0.17\n"
5+
"Project-Id-Version: Custom Adobe Fonts (Typekit) 1.0.18\n"
66
"Report-Msgid-Bugs-To: "
77
"https://wordpress.org/support/plugin/custom-typekit-fonts\n"
8-
"POT-Creation-Date: 2020-06-15 10:43:58+00:00\n"
8+
"POT-Creation-Date: 2020-08-18 09:25:20+00:00\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=utf-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
@@ -25,47 +25,44 @@ msgstr ""
2525
"X-Textdomain-Support: yes\n"
2626
"X-Generator: grunt-wp-i18n 1.0.3\n"
2727

28-
#: admin/bsf-analytics/class-bsf-analytics.php:183
28+
#: admin/bsf-analytics/class-bsf-analytics.php:216
2929
#. translators: %s product name
3030
msgid ""
3131
"Want to help make <strong>%1s</strong> even more awesome? Allow us to "
3232
"collect non-sensitive diagnostic data and usage information. "
3333
msgstr ""
3434

35-
#: admin/bsf-analytics/class-bsf-analytics.php:186
35+
#: admin/bsf-analytics/class-bsf-analytics.php:219
3636
msgid "This will be applicable for all sites from the network."
3737
msgstr ""
3838

39-
#: admin/bsf-analytics/class-bsf-analytics.php:210
39+
#: admin/bsf-analytics/class-bsf-analytics.php:243
4040
#. translators: %s usage doc link
4141
msgid " Know More."
4242
msgstr ""
4343

44-
#: admin/bsf-analytics/class-bsf-analytics.php:217
44+
#: admin/bsf-analytics/class-bsf-analytics.php:251
4545
msgid "Yes! Allow it"
4646
msgstr ""
4747

48-
#: admin/bsf-analytics/class-bsf-analytics.php:225
48+
#: admin/bsf-analytics/class-bsf-analytics.php:260
4949
msgid "No Thanks"
5050
msgstr ""
5151

52-
#: admin/bsf-analytics/class-bsf-analytics.php:294
53-
msgid "Every two days"
54-
msgstr ""
55-
56-
#: admin/bsf-analytics/class-bsf-analytics.php:348
52+
#: admin/bsf-analytics/class-bsf-analytics.php:364
5753
msgid "Usage Tracking"
5854
msgstr ""
5955

60-
#: admin/bsf-analytics/class-bsf-analytics.php:380
61-
msgid "Allow Brainstorm Force products to track non-sensitive usage tracking data."
56+
#: admin/bsf-analytics/class-bsf-analytics.php:408
57+
#. translators: %s Product title
58+
msgid "Allow %s products to track non-sensitive usage tracking data."
6259
msgstr ""
6360

64-
#: admin/bsf-analytics/class-bsf-analytics.php:383
61+
#: admin/bsf-analytics/class-bsf-analytics.php:411
6562
msgid " This will be applicable for all sites from the network."
6663
msgstr ""
6764

68-
#: admin/bsf-analytics/class-bsf-analytics.php:388
65+
#: admin/bsf-analytics/class-bsf-analytics.php:416
6966
msgid "Learn More."
7067
msgstr ""
7168

0 commit comments

Comments
 (0)