Skip to content

Commit

Permalink
Merge pull request #119 from JarrydLong/localization
Browse files Browse the repository at this point in the history
Access Restricted text in settings can now be localized
  • Loading branch information
andrewlimaza authored Oct 21, 2024
2 parents 0b46822 + 25208f2 commit ee4339e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/pmpro-buddypress-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ function pmpro_bp_buddpress_admin_page() {
<?php
$pmprobp_restricted_page = $pmpro_pages['pmprobp_restricted'];
if ( ! empty( $pmprobp_restricted_page ) ) {
$msgt = '<span class="dashicons dashicons-yes"></span>' . esc_attr( '"Access Restricted" page is configured.', 'pmpro-buddypress' );
$msgt = '<span class="dashicons dashicons-yes"></span>' . esc_attr__( '"Access Restricted" page is configured.', 'pmpro-buddypress' );
$msgc = '#46b450';
} else {
$msgt = '<span class="dashicons dashicons-no"></span>' . esc_attr( '"Access Restricted" page is not configured.', 'pmpro-buddypress' );
$msgt = '<span class="dashicons dashicons-no"></span>' . esc_attr__( '"Access Restricted" page is not configured.', 'pmpro-buddypress' );
$msgc = '#a00';
}
?>
Expand Down

0 comments on commit ee4339e

Please sign in to comment.