Skip to content

Commit bb8ccec

Browse files
committed
👌 IMPROVE: Updated text strings in settings page
1 parent 5baf690 commit bb8ccec

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

admin/clwc-admin-settings.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
*/
2121
function clwc_add_loyalty_points_submenu() {
2222
add_submenu_page(
23-
'woocommerce', // Parent slug to add the menu under WooCommerce®.
24-
esc_html__( 'Customer Loyalty Settings', 'customer-loyalty-for-woocommerce' ),
25-
esc_html__( 'Loyalty Points', 'customer-loyalty-for-woocommerce' ),
23+
'woocommerce',
24+
esc_html__( 'Customer Loyalty & Rewards Settings', 'customer-loyalty-for-woocommerce' ),
25+
esc_html__( 'Loyalty & Rewards', 'customer-loyalty-for-woocommerce' ),
2626
'manage_options',
2727
'clwc-customer-loyalty',
2828
'clwc_render_loyalty_points_page'
@@ -35,10 +35,10 @@ function clwc_render_loyalty_points_page() {
3535
?>
3636
<div class="wrap">
3737
<h1 style="display: block; align-items: center;">
38-
<?php esc_html_e( 'Customer Loyalty Settings', 'customer-loyalty-for-woocommerce' ); ?>
38+
<?php esc_html_e( 'Customer Loyalty &amp; Rewards Settings', 'customer-loyalty-for-woocommerce' ); ?>
3939
<span style="font-size: small; margin-left: 10px; display: inline-block; vertical-align: middle;">
4040
<?php if ( defined( 'CUSTOMER_LOYALTY_VERSION' ) ) : ?>
41-
v<?php echo esc_html( CUSTOMER_LOYALTY_VERSION ); ?> &middot;
41+
v<?php echo esc_html( CUSTOMER_LOYALTY_VERSION ); ?>
4242
<?php endif; ?>
4343
</span>
4444
<span style="font-size: small; margin-left: 10px; display: inline-block; vertical-align: middle; float:right;">
@@ -51,7 +51,7 @@ function clwc_render_loyalty_points_page() {
5151
</span>
5252
</h1>
5353

54-
<h2 class="nav-tab-wrapper" style="margin-top:18px;">
54+
<h2 class="nav-tab-wrapper" style="margin:18px 0;">
5555
<a href="?page=clwc-customer-loyalty&tab=rewards_card" class="nav-tab <?php echo $active_tab === 'rewards_card' ? 'nav-tab-active' : ''; ?>">
5656
<?php esc_html_e( 'Rewards Card', 'customer-loyalty-for-woocommerce' ); ?>
5757
</a>

0 commit comments

Comments
 (0)