diff --git a/i18n/languages/woocommerce-customizer.pot b/i18n/languages/woocommerce-customizer.pot index c8cb2d2..0f5b43a 100644 --- a/i18n/languages/woocommerce-customizer.pot +++ b/i18n/languages/woocommerce-customizer.pot @@ -2,17 +2,25 @@ # This file is distributed under the GNU General Public License v3.0. msgid "" msgstr "" -"Project-Id-Version: WooCommerce Customizer 2.6.0-dev.1\n" +"Project-Id-Version: WooCommerce Customizer 2.6.0\n" "Report-Msgid-Bugs-To: " -"https://github.com/skyverge/woocommerce-customizer/issues\n" -"POT-Creation-Date: 2014-09-05 23:18:53+00:00\n" +"https://woocommerce.com/my-account/marketplace-ticket-form/\n" +"POT-Creation-Date: 2018-07-18 00:13:32+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" +#: includes/class-wc-customizer-integrations.php:77 +msgid "Bundle Product" +msgstr "" + +#: includes/class-wc-customizer-integrations.php:78 +msgid "Changes the add to cart button text for bundle products on all loop pages" +msgstr "" + #: includes/class-wc-customizer-settings.php:45 msgid "Customizer" msgstr "" @@ -30,287 +38,310 @@ msgid "Checkout" msgstr "" #: includes/class-wc-customizer-settings.php:65 -#: includes/class-wc-customizer-settings.php:339 +#: includes/class-wc-customizer-settings.php:361 msgid "Misc" msgstr "" -#: includes/class-wc-customizer-settings.php:148 -#: includes/class-wc-customizer-settings.php:275 +#: includes/class-wc-customizer-settings.php:149 +#: includes/class-wc-customizer-settings.php:276 msgid "Add to Cart Button Text" msgstr "" -#: includes/class-wc-customizer-settings.php:154 +#: includes/class-wc-customizer-settings.php:155 msgid "Simple Product" msgstr "" -#: includes/class-wc-customizer-settings.php:155 +#: includes/class-wc-customizer-settings.php:156 msgid "Changes the add to cart button text for simple products on all loop pages" msgstr "" -#: includes/class-wc-customizer-settings.php:161 +#: includes/class-wc-customizer-settings.php:162 msgid "Variable Product" msgstr "" -#: includes/class-wc-customizer-settings.php:162 +#: includes/class-wc-customizer-settings.php:163 msgid "Changes the add to cart button text for variable products on all loop pages" msgstr "" -#: includes/class-wc-customizer-settings.php:168 +#: includes/class-wc-customizer-settings.php:169 msgid "Grouped Product" msgstr "" -#: includes/class-wc-customizer-settings.php:169 +#: includes/class-wc-customizer-settings.php:170 msgid "Changes the add to cart button text for grouped products on all loop pages" msgstr "" -#: includes/class-wc-customizer-settings.php:175 +#: includes/class-wc-customizer-settings.php:176 msgid "Out of Stock Product" msgstr "" -#: includes/class-wc-customizer-settings.php:176 +#: includes/class-wc-customizer-settings.php:177 msgid "" "Changes the add to cart button text for out of stock products on all loop " "pages" msgstr "" -#: includes/class-wc-customizer-settings.php:183 -#: includes/class-wc-customizer-settings.php:289 +#: includes/class-wc-customizer-settings.php:184 +#: includes/class-wc-customizer-settings.php:311 msgid "Sale Flash" msgstr "" -#: includes/class-wc-customizer-settings.php:189 -#: includes/class-wc-customizer-settings.php:295 +#: includes/class-wc-customizer-settings.php:190 +#: includes/class-wc-customizer-settings.php:317 msgid "Sale badge text" msgstr "" -#: includes/class-wc-customizer-settings.php:190 +#: includes/class-wc-customizer-settings.php:191 msgid "Changes text for the sale flash on all loop pages. Default: \"Sale!\"" msgstr "" -#: includes/class-wc-customizer-settings.php:193 -#: includes/class-wc-customizer-settings.php:299 +#: includes/class-wc-customizer-settings.php:194 +#: includes/class-wc-customizer-settings.php:321 #. translators: Placeholders: %1$s - , %2$s - msgid "Use %1$s{percent}%2$s to insert percent off, e.g., \"{percent} off!\"" msgstr "" -#: includes/class-wc-customizer-settings.php:193 -#: includes/class-wc-customizer-settings.php:299 +#: includes/class-wc-customizer-settings.php:194 +#: includes/class-wc-customizer-settings.php:321 msgid "" "Shows \"up to n%\" for grouped or variable products if multiple percentages " "are possible." msgstr "" -#: includes/class-wc-customizer-settings.php:199 +#: includes/class-wc-customizer-settings.php:200 msgid "Layout" msgstr "" -#: includes/class-wc-customizer-settings.php:205 +#: includes/class-wc-customizer-settings.php:206 msgid "Products displayed per page" msgstr "" -#: includes/class-wc-customizer-settings.php:206 +#: includes/class-wc-customizer-settings.php:207 msgid "Changes the number of products displayed per page" msgstr "" -#: includes/class-wc-customizer-settings.php:212 +#: includes/class-wc-customizer-settings.php:213 msgid "Product columns displayed per page" msgstr "" -#: includes/class-wc-customizer-settings.php:213 +#: includes/class-wc-customizer-settings.php:214 msgid "Changes the number of columns displayed per page" msgstr "" -#: includes/class-wc-customizer-settings.php:219 +#: includes/class-wc-customizer-settings.php:220 msgid "Product thumbnail columns displayed" msgstr "" -#: includes/class-wc-customizer-settings.php:220 +#: includes/class-wc-customizer-settings.php:221 msgid "Changes the number of product thumbnail columns displayed" msgstr "" -#: includes/class-wc-customizer-settings.php:233 +#: includes/class-wc-customizer-settings.php:234 msgid "Tab Titles" msgstr "" -#: includes/class-wc-customizer-settings.php:239 -#: includes/class-wc-customizer-settings.php:260 +#: includes/class-wc-customizer-settings.php:240 +#: includes/class-wc-customizer-settings.php:261 msgid "Product Description" msgstr "" -#: includes/class-wc-customizer-settings.php:240 +#: includes/class-wc-customizer-settings.php:241 msgid "Changes the Production Description tab title" msgstr "" -#: includes/class-wc-customizer-settings.php:246 -#: includes/class-wc-customizer-settings.php:267 +#: includes/class-wc-customizer-settings.php:247 +#: includes/class-wc-customizer-settings.php:268 msgid "Additional Information" msgstr "" -#: includes/class-wc-customizer-settings.php:247 +#: includes/class-wc-customizer-settings.php:248 msgid "Changes the Additional Information tab title" msgstr "" -#: includes/class-wc-customizer-settings.php:254 +#: includes/class-wc-customizer-settings.php:255 msgid "Tab Content Headings" msgstr "" -#: includes/class-wc-customizer-settings.php:261 +#: includes/class-wc-customizer-settings.php:262 msgid "Changes the Product Description tab heading" msgstr "" -#: includes/class-wc-customizer-settings.php:268 +#: includes/class-wc-customizer-settings.php:269 msgid "Changes the Additional Information tab heading" msgstr "" -#: includes/class-wc-customizer-settings.php:281 +#: includes/class-wc-customizer-settings.php:282 msgid "All Product Types" msgstr "" -#: includes/class-wc-customizer-settings.php:282 +#: includes/class-wc-customizer-settings.php:283 msgid "" "Changes the Add to Cart button text on the single product page for all " "product type" msgstr "" +#: includes/class-wc-customizer-settings.php:290 +msgid "Out of Stock Text" +msgstr "" + #: includes/class-wc-customizer-settings.php:296 +msgid "Out of Stock text" +msgstr "" + +#: includes/class-wc-customizer-settings.php:297 +msgid "Changes text for the out of stock on product pages. Default: \"Out of stock\"" +msgstr "" + +#: includes/class-wc-customizer-settings.php:303 +msgid "Backorder text" +msgstr "" + +#: includes/class-wc-customizer-settings.php:304 +msgid "" +"Changes text for the backorder on product pages. Default: \"Available on " +"backorder\"" +msgstr "" + +#: includes/class-wc-customizer-settings.php:318 msgid "Changes text for the sale flash on product pages. Default: \"Sale!\"" msgstr "" -#: includes/class-wc-customizer-settings.php:310 +#: includes/class-wc-customizer-settings.php:332 msgid "Messages" msgstr "" -#: includes/class-wc-customizer-settings.php:316 +#: includes/class-wc-customizer-settings.php:338 msgid "Must be logged in text" msgstr "" -#: includes/class-wc-customizer-settings.php:317 +#: includes/class-wc-customizer-settings.php:339 msgid "Changes the message displayed when a customer must be logged in to checkout" msgstr "" -#: includes/class-wc-customizer-settings.php:323 +#: includes/class-wc-customizer-settings.php:345 msgid "Coupon text" msgstr "" -#: includes/class-wc-customizer-settings.php:324 +#: includes/class-wc-customizer-settings.php:346 msgid "Changes the message displayed if the coupon form is enabled on checkout" msgstr "" -#: includes/class-wc-customizer-settings.php:331 +#: includes/class-wc-customizer-settings.php:353 msgid "Login text" msgstr "" -#: includes/class-wc-customizer-settings.php:332 +#: includes/class-wc-customizer-settings.php:354 msgid "Changes the message displayed if customers can login at checkout" msgstr "" -#: includes/class-wc-customizer-settings.php:345 +#: includes/class-wc-customizer-settings.php:367 msgid "Create Account checkbox default" msgstr "" -#: includes/class-wc-customizer-settings.php:346 +#: includes/class-wc-customizer-settings.php:368 msgid "Control the default state for the Create Account checkbox" msgstr "" -#: includes/class-wc-customizer-settings.php:349 +#: includes/class-wc-customizer-settings.php:371 msgid "Checked" msgstr "" -#: includes/class-wc-customizer-settings.php:350 +#: includes/class-wc-customizer-settings.php:372 msgid "Unchecked" msgstr "" -#: includes/class-wc-customizer-settings.php:357 +#: includes/class-wc-customizer-settings.php:379 msgid "Submit Order button" msgstr "" -#: includes/class-wc-customizer-settings.php:358 +#: includes/class-wc-customizer-settings.php:380 msgid "Changes the Place Order button text on checkout" msgstr "" -#: includes/class-wc-customizer-settings.php:371 +#: includes/class-wc-customizer-settings.php:393 msgid "Tax" msgstr "" -#: includes/class-wc-customizer-settings.php:377 +#: includes/class-wc-customizer-settings.php:399 msgid "Tax Label" msgstr "" -#: includes/class-wc-customizer-settings.php:378 +#: includes/class-wc-customizer-settings.php:400 msgid "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries" msgstr "" -#: includes/class-wc-customizer-settings.php:384 +#: includes/class-wc-customizer-settings.php:406 msgid "Including Tax Label" msgstr "" -#: includes/class-wc-customizer-settings.php:385 +#: includes/class-wc-customizer-settings.php:407 msgid "" "Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT " "for European countries" msgstr "" -#: includes/class-wc-customizer-settings.php:391 +#: includes/class-wc-customizer-settings.php:413 msgid "Excluding Tax Label" msgstr "" -#: includes/class-wc-customizer-settings.php:392 +#: includes/class-wc-customizer-settings.php:414 msgid "" "Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT " "for European countries" msgstr "" -#: includes/class-wc-customizer-settings.php:399 +#: includes/class-wc-customizer-settings.php:421 msgid "Images" msgstr "" -#: includes/class-wc-customizer-settings.php:405 +#: includes/class-wc-customizer-settings.php:427 msgid "Placeholder Image source" msgstr "" -#: includes/class-wc-customizer-settings.php:406 +#: includes/class-wc-customizer-settings.php:428 msgid "Change the default placeholder image by setting this to a valid image URL" msgstr "" -#: woocommerce-customizer.php:121 +#: woocommerce-customizer.php:132 #. translators: Placeholders: %s - plugin name msgid "You cannot clone instances of %s." msgstr "" -#: woocommerce-customizer.php:133 +#: woocommerce-customizer.php:144 #. translators: Placeholders: %s - plugin name msgid "You cannot unserialize instances of %s." msgstr "" -#: woocommerce-customizer.php:237 -#. translators: %1$s and %2$s are tags. %3$s and %4$s are tags +#: woocommerce-customizer.php:303 +#. translators: %1$s - , %2$s - , %3$s - , %4$s - version +#. number, %5$s - msgid "" "%1$sWooCommerce Customizer is inactive%2$s as it requires WooCommerce. " -"Please %3$sactivate WooCommerce version 2.5.5 or newer%4$s" +"Please %3$sactivate WooCommerce version %4$s or newer%5$s" msgstr "" -#: woocommerce-customizer.php:257 -#. translators: Placeholders: %1$s , %2$s - , %3$s and %5$s - -#. tags, %4$s - +#: woocommerce-customizer.php:324 +#. translators: Placeholders: %1$s - , %2$s - , %3$s - version +#. number, %4$s and %6$s - tags, %5$s - msgid "" "%1$sWooCommerce Customizer is inactive.%2$s This plugin requires " -"WooCommerce 2.5.5 or newer. Please %3$supdate WooCommerce%4$s or %5$srun " -"the WooCommerce database upgrade%4$s." +"WooCommerce %3$s or newer. Please %4$supdate WooCommerce%5$s or %6$srun the " +"WooCommerce database upgrade%5$s." msgstr "" -#: woocommerce-customizer.php:400 +#: woocommerce-customizer.php:509 msgid "Configure" msgstr "" -#: woocommerce-customizer.php:401 +#: woocommerce-customizer.php:510 msgid "FAQ" msgstr "" -#: woocommerce-customizer.php:402 +#: woocommerce-customizer.php:511 msgid "Support" msgstr "" -#: woocommerce-customizer.php:447 +#: woocommerce-customizer.php:556 #. translators: Placeholder: %s - sale percentage msgid "up to %s" msgstr "" @@ -335,4 +366,4 @@ msgstr "" #. Author URI of the plugin/theme msgid "http://www.skyverge.com" -msgstr "" +msgstr "" \ No newline at end of file diff --git a/includes/class-wc-customizer-integrations.php b/includes/class-wc-customizer-integrations.php index bbc7116..c945f86 100644 --- a/includes/class-wc-customizer-integrations.php +++ b/includes/class-wc-customizer-integrations.php @@ -29,7 +29,7 @@ * * Adds integration code for other WooCommerce extensions. * - * @since 2.6.0-dev.1 + * @since 2.6.0 */ class WC_Customizer_Integrations { @@ -37,7 +37,7 @@ class WC_Customizer_Integrations { /** * WC_Customizer_Integrations constructor. * - * @since 2.6.0-dev.1 + * @since 2.6.0 */ public function __construct() { @@ -52,7 +52,7 @@ public function __construct() { /** * Adds settings when Product Bundles is active. * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @param array $settings the settings array * @return array updated settings @@ -89,7 +89,7 @@ public function add_bundles_settings( $settings ) { /** * Customizes the add to cart button for bundle products. * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @param string $text add to cart text * @param WC_Product $product product object diff --git a/includes/class-wc-customizer-settings.php b/includes/class-wc-customizer-settings.php index 092eac8..4d53c81 100644 --- a/includes/class-wc-customizer-settings.php +++ b/includes/class-wc-customizer-settings.php @@ -437,7 +437,7 @@ public function get_settings() { /** * Filters the available customizer settings. * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @param array $settings the plugin settings */ diff --git a/readme.txt b/readme.txt index c80d937..f506f18 100644 --- a/readme.txt +++ b/readme.txt @@ -3,10 +3,10 @@ Contributors: SkyVerge, maxrice, tamarazuk, chasewiseman, nekojira, beka.rice Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@skyverge.com&item_name=Donation+for+WooCommerce+Customizer Tags: woocommerce, woocommerce shop, woocommerce filters, woocommerce text Requires at least: 4.1 -Tested up to: 4.9.6 +Tested up to: 4.9.7 WC requires at least: 2.6.14 WC tested up to: 3.4.3 -Stable tag: 2.6.0-dev.1 +Stable tag: 2.6.0 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -73,7 +73,7 @@ Of course! Please fork the [GitHub](https://github.com/skyverge/woocommerce-cust == Changelog == -= 2018.nn.nn - version 2.6.0-dev.1 = += 2018.07.17 - version 2.6.0 = * Feature - Added backorder text customization on product pages (props [@sandysaille](https://github.com/sandysaille)!) * Feature - Added out of stock text customization on product pages (props [@sandysaille](https://github.com/sandysaille)!) * Feature - Change bundle product add to cart text with WooCommerce Product Bundles (props [@DaisukiDaYo](https://github.com/DaisukiDaYo)!) diff --git a/woocommerce-customizer.php b/woocommerce-customizer.php index b654933..f8ac307 100644 --- a/woocommerce-customizer.php +++ b/woocommerce-customizer.php @@ -5,7 +5,7 @@ * Description: Customize WooCommerce without code! Easily change add to cart button text and more. * Author: SkyVerge * Author URI: http://www.skyverge.com - * Version: 2.6.0-dev.1 + * Version: 2.6.0 * Text Domain: woocommerce-customizer * Domain Path: /i18n/languages/ * @@ -74,7 +74,7 @@ class WC_Customizer { /** plugin version number */ - const VERSION = '2.6.0-dev.1'; + const VERSION = '2.6.0'; /** required WooCommerce version number */ const MIN_WOOCOMMERCE_VERSION = '2.6.14'; @@ -148,7 +148,7 @@ public function __wakeup() { /** * Loads required filed. * - * @since 2.6.0-dev.1 + * @since 2.6.0 */ protected function includes() { require_once( 'includes/class-wc-customizer-integrations.php' ); @@ -241,13 +241,13 @@ public function load_translation() { * Checks if WooCommerce is active * * @since 2.3.0 - * @deprecated 2.6.0-dev.1 + * @deprecated 2.6.0 * * @return bool true if WooCommerce is active, false otherwise */ public static function is_woocommerce_active() { - _deprecated_function( 'WC_Customizer::is_woocommerce_active', '2.6.0-dev.1', 'WC_Customizer::is_plugin_active' ); + _deprecated_function( 'WC_Customizer::is_woocommerce_active', '2.6.0', 'WC_Customizer::is_plugin_active' ); return self::is_plugin_active( 'woocommerce.php' ); } @@ -256,7 +256,7 @@ public static function is_woocommerce_active() { /** * Helper function to determine whether a plugin is active. * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @param string $plugin_name plugin name, as the plugin-filename.php * @return boolean true if the named plugin is installed and active @@ -420,7 +420,7 @@ public function customize_add_to_cart_text( $text, $product ) { /** * Apply the product page out of stock text customization * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @param string $text out of stock text * @param \WC_Product $product product object @@ -440,7 +440,7 @@ public function customize_single_out_of_stock_text( $text, $product ) { /** * Apply the product page backorder text customization * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @param string $text backorder text * @param \WC_Product $product product object @@ -607,7 +607,7 @@ public static function instance() { /** * Gets the integrations class instance. * - * @since 2.6.0-dev.1 + * @since 2.6.0 * * @return \WC_Customizer_Integrations */