Skip to content

Commit

Permalink
Language cleanups + new lang packs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed May 31, 2024
1 parent 8b93f97 commit e00d9df
Show file tree
Hide file tree
Showing 7 changed files with 177 additions and 181 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contextual Related Posts Pro
# Contextual Related Posts

[![WordPress Plugin Version](https://github.com/WebberZone/contextual-related-posts/blob/03f671821226a6e32a7f6b09b12a7c3f138f17a1/wporg-assets/banner-1544x500.png)](https://wordpress.org/plugins/contextual-related-posts/)

Expand Down
2 changes: 1 addition & 1 deletion includes/admin/settings/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<?php if ( ! crp_freemius()->is_paying() ) { ?>
<div id="pro-upgrade-banner">
<div class="inside" style="text-align: center">
<p><a href="https://webberzone.com/plugins/contextual-related-posts/pro/" target="_blank"><img src="<?php echo esc_url( CRP_PLUGIN_URL . 'includes/admin/images/crp-pro-banner.png' ); ?>" alt="<?php esc_html_e( 'Contextual Related Posts Pro - Coming soon. Sign up to find out more', 'contextual-related-posts' ); ?>" width="300" height="300" style="max-width: 100%;" /></a></p>
<p><a href="https://webberzone.com/plugins/contextual-related-posts/pro/" target="_blank"><img src="<?php echo esc_url( CRP_PLUGIN_URL . 'includes/admin/images/crp-pro-banner.png' ); ?>" alt="<?php esc_html_e( 'Contextual Related Posts Pro - Buy now!', 'contextual-related-posts' ); ?>" width="300" height="300" style="max-width: 100%;" /></a></p>
<p><?php esc_html_e( 'OR' ); ?></p>
<p><a href="https://wzn.io/donate-crp" target="_blank"><img src="<?php echo esc_url( CRP_PLUGIN_URL . 'includes/admin/images/support.webp' ); ?>" alt="<?php esc_html_e( 'Support the development - Send us a donation today.', 'contextual-related-posts' ); ?>" width="300" height="169" style="max-width: 100%;" /></a></p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions includes/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function activated_plugin( $plugin, $network_wide ) {
}

/**
* Displays a notice when either ACF or ACF PRO is automatically deactivated.
* Displays a notice when either CRP or CRP PRO is automatically deactivated.
*
* @since 3.5.0
*/
Expand All @@ -240,9 +240,9 @@ public function plugin_deactivated_notice() {
if ( ! in_array( $deactivated_notice_id, array( 1, 2 ), true ) ) {
return;
}
$message = __( "Contextual Related Posts and Contextual Related Posts PRO should not be active at the same time. We've automatically deactivated Contextual Related Posts.", 'contextual-related-posts' );
$message = __( "Contextual Related Posts and Contextual Related Posts Pro should not be active at the same time. We've automatically deactivated Contextual Related Posts.", 'contextual-related-posts' );
if ( 2 === $deactivated_notice_id ) {
$message = __( "Contextual Related Posts and Contextual Related Posts PRO should not be active at the same time. We've automatically deactivated Contextual Related Posts PRO.", 'contextual-related-posts' );
$message = __( "Contextual Related Posts and Contextual Related Posts Pro should not be active at the same time. We've automatically deactivated Contextual Related Posts Pro.", 'contextual-related-posts' );
}
?>
<div class="updated" style="border-left: 4px solid #ffba00;">
Expand Down
Binary file modified languages/contextual-related-posts-en_US.mo
Binary file not shown.
Loading

0 comments on commit e00d9df

Please sign in to comment.