Skip to content

Commit

Permalink
Merge pull request #4 from DAnn2012/patch-1
Browse files Browse the repository at this point in the history
Fix: Made strings translatable in Optimize.php file
  • Loading branch information
Dan0sz authored Apr 30, 2024
2 parents 81d4121 + de39290 commit b1dc935
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Admin/Settings/Optimize.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ class="<?php echo $downloaded ? 'omgf-manage-stylesheet' : 'omgf-remove-styleshe
'dtap', ! empty( OMGF::get_option( 'dtap' ) ),
sprintf(
__(
'Enable this option (on all instances) if you\'re planning to use %s in a (variation of a) Development > Testing > Acceptance > Production street. %s'
'Enable this option (on all instances) if you\'re planning to use %s in a (variation of a) Development > Testing > Acceptance > Production street. %s',
'host-webfonts-local'
),
apply_filters( 'omgf_settings_page_title', 'OMGF' ),
$this->promo
Expand All @@ -223,7 +224,7 @@ class="<?php echo $downloaded ? 'omgf-manage-stylesheet' : 'omgf-remove-styleshe
'auto_config', ! empty( OMGF::get_option( 'auto_config' ) ),
sprintf(
__(
'Is %1$s not detecting all Google Fonts? Check this box <u>before</u> starting the optimization to auto-configure OMGF Pro\'s <a href="%2$s">Advanced Processing</a> features and "dig deeper" for Google Fonts where needed. Novice users are advised to leave this enabled. %s',
'Is %1$s not detecting all Google Fonts? Check this box <u>before</u> starting the optimization to auto-configure OMGF Pro\'s <a href="%2$s">Advanced Processing</a> features and "dig deeper" for Google Fonts where needed. Novice users are advised to leave this enabled. %3$s',
'host-webfonts-local'
),
apply_filters( 'omgf_settings_page_title', 'OMGF' ),
Expand Down Expand Up @@ -308,7 +309,7 @@ public function do_promo_remove_async_google_fonts() {
'remove_async_fonts', ! empty( OMGF::get_option( 'remove_async_fonts' ) ),
sprintf(
__(
'Remove Google Fonts loaded (asynchronously) by (3rd party) JavaScript libraries used by some themes/plugins. This won\'t work with embedded content (i.e. <code>iframe</code>). <strong>Warning!</strong> Make sure you load the Google Fonts, either <a href="%1$s">manually</a> or by using <a href="%2$s" target="_blank">a plugin</a> to prevent styling breaks. %s',
'Remove Google Fonts loaded (asynchronously) by (3rd party) JavaScript libraries used by some themes/plugins. This won\'t work with embedded content (i.e. <code>iframe</code>). <strong>Warning!</strong> Make sure you load the Google Fonts, either <a href="%1$s">manually</a> or by using <a href="%2$s" target="_blank">a plugin</a> to prevent styling breaks. %3$s',
'host-webfonts-local'
),
'https://daan.dev/docs/omgf-pro/remove-async-google-fonts/',
Expand Down

0 comments on commit b1dc935

Please sign in to comment.