| @@ -5,9 +5,9 @@ | ||
| 5 | 5 | |
| 6 | 6 | class Settings extends SectionAbstract { |
| 7 | 7 | |
| 8 | 8 | public function getName(): string { |
| 9 | - return __( 'Yoast SEO', 'tier-pricing-table' ); | |
| 9 | + return 'Yoast SEO'; | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | public function getSlug(): string { |
| 13 | 13 | return 'yoast-seo'; |
| @@ -15,10 +15,10 @@ | ||
| 15 | 15 | |
| 16 | 16 | public function getSettings(): array { |
| 17 | 17 | return array( |
| 18 | 18 | array( |
| 19 | - 'title' => __( 'Yoast', 'tier-pricing-table' ), | |
| 20 | - 'id' => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . '_subsection_' . $this->getSlug(), | |
| 19 | + 'title' => 'Yoast SEO', | |
| 20 | + 'id' => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . '_subsection_' . $this->getSlug(), | |
| 21 | 21 | 'desc' => __( 'Configure the integration with Yoast SEO plugin to use tiered pricing variables in your SEO metadata.', |
| 22 | 22 | 'tier-pricing-table' ), |
| 23 | 23 | 'type' => 'title', |
| 24 | 24 | ), |
| @@ -26,17 +26,18 @@ | ||
| 26 | 26 | 'title' => __( 'Enable custom variables', 'tier-pricing-table' ), |
| 27 | 27 | 'id' => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . 'yoast_enable_variables', |
| 28 | 28 | 'type' => TPTSwitchOption::FIELD_TYPE, |
| 29 | 29 | 'default' => 'yes', |
| 30 | - 'desc' => __( 'Enable you to use the %%lowest_price%% and %%price_range%% variables to display the lowest price and price range of products with tiered pricing in Yoast SEO metadata.', | |
| 30 | + 'extended_description' => __( 'Enable you to use the %%lowest_price%% and %%price_range%% variables to display the lowest price and price range of products with tiered pricing in Yoast SEO metadata.', | |
| 31 | 31 | 'tier-pricing-table' ), |
| 32 | 32 | ), |
| 33 | 33 | array( |
| 34 | - 'title' => __( 'Enhance product schema with tiered pricing offers', 'tier-pricing-table' ), | |
| 35 | - 'id' => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . 'yoast_enhance_schema', | |
| 36 | - 'type' => TPTSwitchOption::FIELD_TYPE, | |
| 37 | - 'default' => 'no', | |
| 38 | - 'desc' => __( 'Enhance the product schema with tiered pricing offers. Adds an offer for each tier and the lowest price as the main offer.', | |
| 34 | + 'title' => __( 'Enhance product schema with tiered pricing offers', | |
| 35 | + 'tier-pricing-table' ), | |
| 36 | + 'id' => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . 'yoast_enhance_schema', | |
| 37 | + 'type' => TPTSwitchOption::FIELD_TYPE, | |
| 38 | + 'default' => 'no', | |
| 39 | + 'extended_description' => __( 'Enhance the product schema with tiered pricing offers. Adds an offer for each tier and the lowest price as the main offer.', | |
| 39 | 40 | 'tier-pricing-table' ), |
| 40 | 41 | ), |
| 41 | 42 | array( |
| 42 | 43 | 'type' => 'sectionend', |