Skip to content

Commit 2247700

Browse files
committed
Adjust wording when Shiptastic is not active.
1 parent e02e1ed commit 2247700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/admin/settings/class-wc-gzd-settings-tab-invoices.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
class WC_GZD_Settings_Tab_Invoices extends WC_GZD_Settings_Tab {
1515

1616
public function get_description() {
17-
return __( 'Create invoices, packing slips & commercial invoices conveniently.', 'woocommerce-germanized' );
17+
return \Vendidero\Germanized\PluginsHelper::is_shiptastic_plugin_active() ? __( 'Create invoices, e-invoices, packing slips & commercial invoices conveniently.', 'woocommerce-germanized' ) : __( 'Create invoices and e-invoices conveniently.', 'woocommerce-germanized' );
1818
}
1919

2020
public function get_label() {
21-
return __( 'Invoices & Packing Slips', 'woocommerce-germanized' ) . ' <span class="wc-gzd-pro wc-gzd-pro-outlined">' . __( 'pro', 'woocommerce-germanized' ) . '</span>';
21+
return ( \Vendidero\Germanized\PluginsHelper::is_shiptastic_plugin_active() ? __( 'Invoices & Packing Slips', 'woocommerce-germanized' ) : __( 'Invoices', 'woocommerce-germanized' ) ) . ' <span class="wc-gzd-pro wc-gzd-pro-outlined">' . __( 'pro', 'woocommerce-germanized' ) . '</span>';
2222
}
2323

2424
public function get_name() {

0 commit comments

Comments
 (0)