diff --git a/admin/bsf-analytics/class-bsf-analytics.php b/admin/bsf-analytics/class-bsf-analytics.php index b4152acf..bb0262fa 100644 --- a/admin/bsf-analytics/class-bsf-analytics.php +++ b/admin/bsf-analytics/class-bsf-analytics.php @@ -213,10 +213,10 @@ public function option_notice() { } /* translators: %s product name */ - $notice_string = __( 'Want to help make %1s even more awesome? Allow us to collect non-sensitive diagnostic data and usage information. ' ); + $notice_string = __( 'Want to help make %1s even more awesome? Allow us to collect non-sensitive diagnostic data and usage information. ', 'custom-fonts' ); if ( is_multisite() ) { - $notice_string .= __( 'This will be applicable for all sites from the network.' ); + $notice_string .= __( 'This will be applicable for all sites from the network.', 'custom-fonts' ); } $language_dir = is_rtl() ? 'rtl' : 'ltr'; @@ -240,7 +240,7 @@ public function option_notice() { ', /* translators: %s usage doc link */ - sprintf( $notice_string . '%4s', esc_html( $data['product_name'] ), $language_dir, esc_url( $usage_doc_link ), __( ' Know More.', 'astra' ) ), + sprintf( $notice_string . '%4s', esc_html( $data['product_name'] ), $language_dir, esc_url( $usage_doc_link ), __( ' Know More.', 'custom-fonts' ) ), add_query_arg( array( $key . '_analytics_optin' => 'yes', @@ -248,7 +248,7 @@ public function option_notice() { 'bsf_analytics_source' => $key, ) ), - __( 'Yes! Allow it' ), + __( 'Yes! Allow it', 'custom-fonts' ), add_query_arg( array( $key . '_analytics_optin' => 'no', @@ -257,7 +257,7 @@ public function option_notice() { ) ), MONTH_IN_SECONDS, - __( 'No Thanks' ) + __( 'No Thanks', 'custom-fonts' ) ), 'show_if' => true, 'repeat-notice-after' => false, @@ -361,7 +361,7 @@ public function register_usage_tracking_setting() { add_settings_field( $key . '-analytics-optin', // Field ID. - __( 'Usage Tracking' ), // Field title. + __( 'Usage Tracking', 'custom-fonts' ), // Field title. array( $this, 'render_settings_field_html' ), // Field callback function. 'general', 'default', // Settings page slug. @@ -405,15 +405,15 @@ public function render_settings_field_html( $args ) { > %2s', esc_url( $args['usage_doc_link'] ), __( 'Learn More.' ) ) ); + echo wp_kses_post( sprintf( '%2s', esc_url( $args['usage_doc_link'] ), __( 'Learn More.', 'custom-fonts' ) ) ); ?> %1s even more awesome? Allow us to " "collect non-sensitive diagnostic data and usage information. " msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:186 +#: admin/bsf-analytics/class-bsf-analytics.php:219 msgid "This will be applicable for all sites from the network." msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:210 +#: admin/bsf-analytics/class-bsf-analytics.php:243 #. translators: %s usage doc link msgid " Know More." msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:217 +#: admin/bsf-analytics/class-bsf-analytics.php:251 msgid "Yes! Allow it" msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:225 +#: admin/bsf-analytics/class-bsf-analytics.php:260 msgid "No Thanks" msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:294 -msgid "Every two days" -msgstr "" - -#: admin/bsf-analytics/class-bsf-analytics.php:348 +#: admin/bsf-analytics/class-bsf-analytics.php:364 msgid "Usage Tracking" msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:380 -msgid "Allow Brainstorm Force products to track non-sensitive usage tracking data." +#: admin/bsf-analytics/class-bsf-analytics.php:408 +#. translators: %s Product title +msgid "Allow %s products to track non-sensitive usage tracking data." msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:383 +#: admin/bsf-analytics/class-bsf-analytics.php:411 msgid " This will be applicable for all sites from the network." msgstr "" -#: admin/bsf-analytics/class-bsf-analytics.php:388 +#: admin/bsf-analytics/class-bsf-analytics.php:416 msgid "Learn More." msgstr ""