Skip to content

Commit

Permalink
Version 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bekarice committed May 15, 2017
1 parent 8b181af commit c4645dc
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 54 deletions.
130 changes: 83 additions & 47 deletions i18n/languages/woocommerce-customizer.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Customizer 2.4.0\n"
"Project-Id-Version: WooCommerce Customizer 2.5.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"
Expand Down Expand Up @@ -30,12 +30,12 @@ msgid "Checkout"
msgstr ""

#: includes/class-wc-customizer-settings.php:65
#: includes/class-wc-customizer-settings.php:307
#: includes/class-wc-customizer-settings.php:339
msgid "Misc"
msgstr ""

#: includes/class-wc-customizer-settings.php:148
#: includes/class-wc-customizer-settings.php:259
#: includes/class-wc-customizer-settings.php:275
msgid "Add to Cart Button Text"
msgstr ""

Expand Down Expand Up @@ -74,170 +74,201 @@ msgid ""
msgstr ""

#: includes/class-wc-customizer-settings.php:183
msgid "Layout"
#: includes/class-wc-customizer-settings.php:289
msgid "Sale Flash"
msgstr ""

#: includes/class-wc-customizer-settings.php:189
msgid "Products displayed per page"
#: includes/class-wc-customizer-settings.php:295
msgid "Sale badge text"
msgstr ""

#: includes/class-wc-customizer-settings.php:190
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
#. translators: Placeholders: %1$s - <code>, %2$s - </code>
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
msgid ""
"Shows \"up to n%\" for grouped or variable products if multiple percentages "
"are possible."
msgstr ""

#: includes/class-wc-customizer-settings.php:199
msgid "Layout"
msgstr ""

#: includes/class-wc-customizer-settings.php:205
msgid "Products displayed per page"
msgstr ""

#: includes/class-wc-customizer-settings.php:206
msgid "Changes the number of products displayed per page"
msgstr ""

#: includes/class-wc-customizer-settings.php:196
#: includes/class-wc-customizer-settings.php:212
msgid "Product columns displayed per page"
msgstr ""

#: includes/class-wc-customizer-settings.php:197
#: includes/class-wc-customizer-settings.php:213
msgid "Changes the number of columns displayed per page"
msgstr ""

#: includes/class-wc-customizer-settings.php:203
#: includes/class-wc-customizer-settings.php:219
msgid "Product thumbnail columns displayed"
msgstr ""

#: includes/class-wc-customizer-settings.php:204
#: includes/class-wc-customizer-settings.php:220
msgid "Changes the number of product thumbnail columns displayed"
msgstr ""

#: includes/class-wc-customizer-settings.php:217
#: includes/class-wc-customizer-settings.php:233
msgid "Tab Titles"
msgstr ""

#: includes/class-wc-customizer-settings.php:223
#: includes/class-wc-customizer-settings.php:244
#: includes/class-wc-customizer-settings.php:239
#: includes/class-wc-customizer-settings.php:260
msgid "Product Description"
msgstr ""

#: includes/class-wc-customizer-settings.php:224
#: includes/class-wc-customizer-settings.php:240
msgid "Changes the Production Description tab title"
msgstr ""

#: includes/class-wc-customizer-settings.php:230
#: includes/class-wc-customizer-settings.php:251
#: includes/class-wc-customizer-settings.php:246
#: includes/class-wc-customizer-settings.php:267
msgid "Additional Information"
msgstr ""

#: includes/class-wc-customizer-settings.php:231
#: includes/class-wc-customizer-settings.php:247
msgid "Changes the Additional Information tab title"
msgstr ""

#: includes/class-wc-customizer-settings.php:238
#: includes/class-wc-customizer-settings.php:254
msgid "Tab Content Headings"
msgstr ""

#: includes/class-wc-customizer-settings.php:245
#: includes/class-wc-customizer-settings.php:261
msgid "Changes the Product Description tab heading"
msgstr ""

#: includes/class-wc-customizer-settings.php:252
#: includes/class-wc-customizer-settings.php:268
msgid "Changes the Additional Information tab heading"
msgstr ""

#: includes/class-wc-customizer-settings.php:265
#: includes/class-wc-customizer-settings.php:281
msgid "All Product Types"
msgstr ""

#: includes/class-wc-customizer-settings.php:266
#: includes/class-wc-customizer-settings.php:282
msgid ""
"Changes the Add to Cart button text on the single product page for all "
"product type"
msgstr ""

#: includes/class-wc-customizer-settings.php:278
#: includes/class-wc-customizer-settings.php:296
msgid "Changes text for the sale flash on product pages. Default: \"Sale!\""
msgstr ""

#: includes/class-wc-customizer-settings.php:310
msgid "Messages"
msgstr ""

#: includes/class-wc-customizer-settings.php:284
#: includes/class-wc-customizer-settings.php:316
msgid "Must be logged in text"
msgstr ""

#: includes/class-wc-customizer-settings.php:285
#: includes/class-wc-customizer-settings.php:317
msgid "Changes the message displayed when a customer must be logged in to checkout"
msgstr ""

#: includes/class-wc-customizer-settings.php:291
#: includes/class-wc-customizer-settings.php:323
msgid "Coupon text"
msgstr ""

#: includes/class-wc-customizer-settings.php:292
#: includes/class-wc-customizer-settings.php:324
msgid "Changes the message displayed if the coupon form is enabled on checkout"
msgstr ""

#: includes/class-wc-customizer-settings.php:299
#: includes/class-wc-customizer-settings.php:331
msgid "Login text"
msgstr ""

#: includes/class-wc-customizer-settings.php:300
#: includes/class-wc-customizer-settings.php:332
msgid "Changes the message displayed if customers can login at checkout"
msgstr ""

#: includes/class-wc-customizer-settings.php:313
#: includes/class-wc-customizer-settings.php:345
msgid "Create Account checkbox default"
msgstr ""

#: includes/class-wc-customizer-settings.php:314
#: includes/class-wc-customizer-settings.php:346
msgid "Control the default state for the Create Account checkbox"
msgstr ""

#: includes/class-wc-customizer-settings.php:317
#: includes/class-wc-customizer-settings.php:349
msgid "Checked"
msgstr ""

#: includes/class-wc-customizer-settings.php:318
#: includes/class-wc-customizer-settings.php:350
msgid "Unchecked"
msgstr ""

#: includes/class-wc-customizer-settings.php:325
#: includes/class-wc-customizer-settings.php:357
msgid "Submit Order button"
msgstr ""

#: includes/class-wc-customizer-settings.php:326
#: includes/class-wc-customizer-settings.php:358
msgid "Changes the Place Order button text on checkout"
msgstr ""

#: includes/class-wc-customizer-settings.php:339
#: includes/class-wc-customizer-settings.php:371
msgid "Tax"
msgstr ""

#: includes/class-wc-customizer-settings.php:345
#: includes/class-wc-customizer-settings.php:377
msgid "Tax Label"
msgstr ""

#: includes/class-wc-customizer-settings.php:346
#: includes/class-wc-customizer-settings.php:378
msgid "Changes the Taxes label. Defaults to Tax for USA, VAT for European countries"
msgstr ""

#: includes/class-wc-customizer-settings.php:352
#: includes/class-wc-customizer-settings.php:384
msgid "Including Tax Label"
msgstr ""

#: includes/class-wc-customizer-settings.php:353
#: includes/class-wc-customizer-settings.php:385
msgid ""
"Changes the Including Taxes label. Defaults to Inc. tax for USA, Inc. VAT "
"for European countries"
msgstr ""

#: includes/class-wc-customizer-settings.php:359
#: includes/class-wc-customizer-settings.php:391
msgid "Excluding Tax Label"
msgstr ""

#: includes/class-wc-customizer-settings.php:360
#: includes/class-wc-customizer-settings.php:392
msgid ""
"Changes the Excluding Taxes label. Defaults to Exc. tax for USA, Exc. VAT "
"for European countries"
msgstr ""

#: includes/class-wc-customizer-settings.php:367
#: includes/class-wc-customizer-settings.php:399
msgid "Images"
msgstr ""

#: includes/class-wc-customizer-settings.php:373
#: includes/class-wc-customizer-settings.php:405
msgid "Placeholder Image source"
msgstr ""

#: includes/class-wc-customizer-settings.php:374
#: includes/class-wc-customizer-settings.php:406
msgid "Change the default placeholder image by setting this to a valid image URL"
msgstr ""

Expand Down Expand Up @@ -266,18 +297,23 @@ msgstr ""
msgid "You cannot unserialize instances of %s."
msgstr ""

#: woocommerce-customizer.php:360
#: woocommerce-customizer.php:409
msgid "Configure"
msgstr ""

#: woocommerce-customizer.php:361
#: woocommerce-customizer.php:410
msgid "FAQ"
msgstr ""

#: woocommerce-customizer.php:362
#: woocommerce-customizer.php:411
msgid "Support"
msgstr ""

#: woocommerce-customizer.php:456
#. translators: Placeholder: %s - sale percentage
msgid "up to %s"
msgstr ""

#. Plugin Name of the plugin/theme
msgid "WooCommerce Customizer"
msgstr ""
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Requires at least: 4.1
Tested up to: 4.7.4
WC requires at least: 2.5.5
WC tested up to: 3.0.7
Stable tag: 2.5.0-dev
Stable tag: 2.5.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -73,7 +73,7 @@ Of course! Please fork the [GitHub](https://github.com/skyverge/woocommerce-cust

== Changelog ==

= 2.5.0-dev =
= 2.5.0 =
* Feature - Added sales badge text customization

= 2.4.0 =
Expand Down
10 changes: 5 additions & 5 deletions woocommerce-customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.0-dev
* Version: 2.5.0
* Text Domain: woocommerce-customizer
* Domain Path: /i18n/languages/
*
Expand Down Expand Up @@ -111,7 +111,7 @@ class WC_Customizer {


/** plugin version number */
const VERSION = '2.5.0-dev';
const VERSION = '2.5.0';

/** @var \WC_Customizer single instance of this plugin */
protected static $instance;
Expand Down Expand Up @@ -350,7 +350,7 @@ public function customize_add_to_cart_text( $text, $product ) {
/**
* Apply the shop loop sale flash text customization.
*
* @since 2.5.0-dev
* @since 2.5.0
*
* @param string $html add to cart flash HTML
* @param \WP_Post $_ post object, unused
Expand Down Expand Up @@ -422,7 +422,7 @@ public function add_plugin_action_links( $actions ) {
/**
* Helper to get the percent discount for a product on sale.
*
* @since 2.5.0-dev
* @since 2.5.0
*
* @param \WC_Product $product product instance
* @return string percentage discount
Expand Down Expand Up @@ -468,7 +468,7 @@ private function get_sale_percentage( $product ) {
/**
* Calculates a sales percentage difference given regular and sale prices for a product.
*
* @since 2.5.0-dev
* @since 2.5.0
*
* @param string $regular_price product regular price
* @param string $sale_price product sale price
Expand Down

0 comments on commit c4645dc

Please sign in to comment.