PluginProbe
Tiered Pricing Table for WooCommerce / 8.1.0
Tiered Pricing Table for WooCommerce v8.1.0
8.1.0 8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 All 92 releases
← All changes | views/addons/role-based-pricing/role-based-block.php +5 -17 6.1.0 → 8.1.0 View file →
@@ -29,9 +29,9 @@
29 29 data-add-action="<?php echo esc_attr( ProductManager::GET_ROLE_ROW_HTML__ACTION ); ?>"
30 30 data-add-action-nonce="<?php echo esc_attr( wp_create_nonce( ProductManager::GET_ROLE_ROW_HTML__ACTION ) ); ?>"
31 31 data-product-id="<?php echo esc_attr( $product_id ); ?>"
32 32 data-loop="<?php echo esc_attr( $loop ); ?>">
33 - <label class="tpt-role-based-block__name"><?php esc_attr_e( 'Role-based pricing', 'tier-pricing-table' ); ?></label>
33 + <label class="tpt-role-based-block__name" style="line-height: normal"><?php esc_attr_e( 'Role-based pricing', 'tier-pricing-table' ); ?></label>
34 34 <div class="tpt-role-based-block__content">
35 35 <div class="tpt-role-based-roles">
36 36 <?php
37 37
@@ -60,9 +60,9 @@
60 60 <div class="tpt-role-based-no-roles"
61 61 style="<?php echo esc_attr( ! empty( $presentRoles ) ? 'display: none;' : '' ); ?>">
62 62 <span>
63 63 <?php
64 - esc_attr_e( 'Set up separate rules for different roles of customers. Choose a role and click the "Setup for role" button.',
64 + esc_attr_e( 'Set up specific pricing and rules for different user roles.',
65 65 'tier-pricing-table' );
66 66 ?>
67 67 </span>
68 68 <p class="description" style="display: block; margin: 0">
@@ -72,10 +72,10 @@
72 72 ), ServiceContainer::getInstance()->getSettings()->getLink() );
73 73
74 74 $settingsLink = sprintf( '<a target="_blank" href="%s">%s</a>', esc_url( $settingsLink ),
75 75 esc_html__( 'settings', 'tier-pricing-table' ) );
76 -
77 - echo wp_kses_post( sprintf( __( 'If you do not use this feature, you can disable it in the %s to simplify the interface.',
76 + // translators: %s: settings link
77 + echo wp_kses_post( sprintf( __( 'You can disable this feature in the %s if you don\'t need role-based pricing.',
78 78 'tier-pricing-table' ), $settingsLink ) );
79 79
80 80 ?>
81 81
@@ -94,23 +94,11 @@
94 94 </select>
95 95
96 96 <button class="button tpt-role-based-adding-form__add-button">
97 97 <?php
98 - esc_attr_e( 'Setup for role', 'tier-pricing-table' );
98 + esc_attr_e( 'Add role pricing', 'tier-pricing-table' );
99 99 ?>
100 100 </button>
101 - <?php
102 - $roleManagementLink = add_query_arg( [
103 - 'section' => 'tools',
104 - ], ServiceContainer::getInstance()->getSettings()->getLink() );
105 -
106 - $roleManagementLink .= '#roles';
107 - ?>
108 - <a style="margin-left: auto" target="_blank"
109 - href="<?php echo esc_url( $roleManagementLink ); ?>">
110 - <?php esc_html_e( 'Manage user roles', 'tier-pricing-table' ); ?>
111 - </a>
112 -
113 101 <div class="clear"></div>
114 102 </div>
115 103
116 104 <?php $rolesToDeleteName = ! is_null( $loop ) ? "tiered_price_rules_roles_to_delete_variation[$loop][]" : 'tiered_price_rules_roles_to_delete[]'; ?>