Improve I18N Issues (based on version 3.3.3)
-
I found several I18N issues, and I listed modified code as the following.
\includes\customizer\controls\class-ogf-customize-upsell-control.php
Line 32
<h2 class="upsell__title"><?php esc_html_e( 'Upgrade to Fonts Plugin Pro', 'olympus-google-fonts' ); ?></h2>
Line 34 to 37
<li><?php esc_html_e( '?</img> Unlock Font Size & Color', 'olympus-google-fonts' ); ?></li> <li><?php esc_html_e( '??</img> Host Fonts Locally', 'olympus-google-fonts' ); ?></li> <li><?php esc_html_e( '??</img> Optimized Font Loading', 'olympus-google-fonts' ); ?></li> <li><?php esc_html_e( '??</img>? Upload Custom Fonts', 'olympus-google-fonts' ); ?></li>
Line 39
<a class="upsell__button button button-primary" href="https://fontsplugin.com/pro-upgrade/?utm_source=plugin&utm_medium=customizer&utm_campaign=<?php echo esc_attr( $this->section ); ?>" target="_blank"><?php esc_html_e( 'Learn More', 'olympus-google-fonts' ); ?></a>
\includes\customizer\controls\class-ogf-customize-multiple-fonts-control.php
Line 68
<select data-placeholder="<?php esc_attr_e( 'Choose some fonts...', 'olympus-google-fonts' ); ?>" multiple class="ogf-select"
data.link
>includes\customizer\panels.php
Line 78
'description' => __( 'Optimize your site\'s performance by unchecking any font weights you don\'t need.', 'olympus-google-fonts' ),
includes\customizer\class-ogf-optimization-controls.php
Line 46
'description' => __( '<p>Optimize the delivery of font files for improved performance and user-privacy.</p><p>Upgrade to <a >Fonts Plugin Pro</a> to unlock these features.</p>', 'olympus-google-fonts' ),
Line 75
'description' => sprintf (esc_html__( 'Fonts will be served from %s instead of fonts.googleapis.com.', 'olympus-google-fonts' ),$url),
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Improve I18N Issues (based on version 3.3.3)’ is closed to new replies.