Updates to 5.5.0

This commit is contained in:
WooCommerce
2023-09-21 10:12:31 +00:00
parent e36f44ebee
commit ad47a6a8b3
14 changed files with 110 additions and 97 deletions

View File

@@ -1,4 +1,8 @@
*** WooCommerce Subscriptions Changelog ***
*** Woo Subscriptions Changelog ***
2023-09-21 - version 5.5.0
* Tweak - Use admin theme color in selectors.
* Tweak - Change plugin name to Woo Subscriptions.
2023-08-11 - version 5.4.0
* Add: Introduce an updated empty state screen for the WooCommerce > Subscriptions list table.

View File

@@ -55,7 +55,7 @@ class WCS_Admin_Reports {
$admin_notice->set_html_content(
sprintf(
'<p><strong>%s</strong></p><p>%s</p>',
_x( 'WooCommerce Subscriptions - Reports Not Available', 'heading used in an admin notice', 'woocommerce-subscriptions' ),
_x( 'Woo Subscriptions - Reports Not Available', 'heading used in an admin notice', 'woocommerce-subscriptions' ),
sprintf(
// translators: placeholders $1 and $2 are opening <a> tags linking to the WooCommerce documentation on HPOS and data synchronization. Placeholder $3 is a closing link (<a>) tag.
__( 'Subscription reports are incompatible with the %1$sWooCommerce data storage features%3$s enabled on your store. Please enable %2$stable synchronization%3$s if you wish to use subscription reports.', 'woocommerce-subscriptions' ),

View File

@@ -153,10 +153,10 @@ class WC_Subscriptions_Dependency_Manager {
);
// translators: 1$-2$: opening and closing <strong> tags, 3$-4$: link tags, takes to woocommerce plugin on wp.org, 5$-6$: opening and closing link tags, leads to plugins.php in admin
$admin_notice_content = sprintf( esc_html__( '%1$sWooCommerce Subscriptions is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for WooCommerce Subscriptions to work. Please %5$sinstall & activate WooCommerce &raquo;%6$s', 'woocommerce-subscriptions' ), '<strong>', '</strong>', '<a href="http://wordpress.org/extend/plugins/woocommerce/">', '</a>', '<a href="' . esc_url( $install_url ) . '">', '</a>' );
$admin_notice_content = sprintf( esc_html__( '%1$sWoo Subscriptions is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for Woo Subscriptions to work. Please %5$sinstall & activate Woo &raquo;%6$s', 'woocommerce-subscriptions' ), '<strong>', '</strong>', '<a href="http://wordpress.org/extend/plugins/woocommerce/">', '</a>', '<a href="' . esc_url( $install_url ) . '">', '</a>' );
} elseif ( ! $this->is_woocommerce_version_supported() ) {
// translators: 1$-2$: opening and closing <strong> tags, 3$: minimum supported WooCommerce version, 4$-5$: opening and closing link tags, leads to plugin admin
$admin_notice_content = sprintf( esc_html__( '%1$sWooCommerce Subscriptions is inactive.%2$s This version of Subscriptions requires WooCommerce %3$s or newer. Please %4$supdate WooCommerce to version %3$s or newer &raquo;%5$s', 'woocommerce-subscriptions' ), '<strong>', '</strong>', $this->minimum_supported_wc_version, '<a href="' . esc_url( admin_url( 'plugins.php' ) ) . '">', '</a>' );
$admin_notice_content = sprintf( esc_html__( '%1$sWoo Subscriptions is inactive.%2$s This version of Subscriptions requires WooCommerce %3$s or newer. Please %4$supdate WooCommerce to version %3$s or newer &raquo;%5$s', 'woocommerce-subscriptions' ), '<strong>', '</strong>', $this->minimum_supported_wc_version, '<a href="' . esc_url( admin_url( 'plugins.php' ) ) . '">', '</a>' );
}
if ( $admin_notice_content ) {

View File

@@ -55,7 +55,7 @@ class WC_Subscriptions_Plugin extends WC_Subscriptions_Core_Plugin {
$notice = new WCS_Admin_Notice( 'error' );
// translators: 1-2: opening/closing <b> tags, 3: Subscriptions version.
$notice->set_simple_content( sprintf( __( '%1$sWarning!%2$s We can see the %1$sWooCommerce Subscriptions Early Renewal%2$s plugin is active. Version %3$s of %1$sWooCommerce Subscriptions%2$s comes with that plugin\'s functionality packaged into the core plugin. Please deactivate WooCommerce Subscriptions Early Renewal to avoid any conflicts.', 'woocommerce-subscriptions' ), '<b>', '</b>', $this->get_plugin_version() ) ); // get_plugin_version() is used here to report the correct WCS version.
$notice->set_simple_content( sprintf( __( '%1$sWarning!%2$s We can see the %1$sWooCommerce Subscriptions Early Renewal%2$s plugin is active. Version %3$s of %1$sWoo Subscriptions%2$s comes with that plugin\'s functionality packaged into the core plugin. Please deactivate WooCommerce Subscriptions Early Renewal to avoid any conflicts.', 'woocommerce-subscriptions' ), '<b>', '</b>', $this->get_plugin_version() ) ); // get_plugin_version() is used here to report the correct WCS version.
$notice->set_actions(
array(
array(
@@ -202,7 +202,7 @@ class WC_Subscriptions_Plugin extends WC_Subscriptions_Core_Plugin {
sprintf(
// translators: $1-$2: opening and closing <strong> tags, $3-$4: opening and closing <em> tags.
__(
'%1$sWooCommerce Subscriptions Installed%2$s &#8211; %3$sYou\'re ready to start selling subscriptions!%4$s',
'%1$sWoo Subscriptions Installed%2$s &#8211; %3$sYou\'re ready to start selling subscriptions!%4$s',
'woocommerce-subscriptions'
),
'<strong>',

View File

@@ -35,6 +35,7 @@ class WCS_Customer_Suspension_Manager {
'css' => 'min-width:50px;',
'default' => 0,
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => apply_filters( 'woocommerce_subscriptions_max_customer_suspension_range', array_merge( range( 0, 12 ), array( 'unlimited' => 'Unlimited' ) ) ),
'desc_tip' => __( 'Set a maximum number of times a customer can suspend their account for each billing period. For example, for a value of 3 and a subscription billed yearly, if the customer has suspended their account 3 times, they will not be presented with the option to suspend their account until the next year. Store managers will always be able to suspend an active subscription. Set this to 0 to turn off the customer suspension feature completely.', 'woocommerce-subscriptions' ),
);

View File

@@ -50,6 +50,7 @@ class WCS_Subscriber_Role_Manager {
'css' => 'min-width:150px;',
'default' => 'subscriber',
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => $roles_options,
'desc_tip' => true,
),
@@ -61,6 +62,7 @@ class WCS_Subscriber_Role_Manager {
'css' => 'min-width:150px;',
'default' => 'customer',
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => $roles_options,
'desc_tip' => true,
),

View File

@@ -102,7 +102,7 @@ class WCS_Upgrade_Notice_Manager {
);
// translators: placeholder is Subscription version string ('3.1')
$notice->set_heading( sprintf( __( 'Welcome to WooCommerce Subscriptions %s!', 'woocommerce-subscriptions' ), $version ) );
$notice->set_heading( sprintf( __( 'Welcome to Woo Subscriptions %s!', 'woocommerce-subscriptions' ), $version ) );
$notice->set_content_template( 'update-welcome-notice.php', WC_Subscriptions_Core_Plugin::instance()->get_subscriptions_core_directory() . '/includes/upgrades/templates/', array(
'version' => $version,
'features' => $features,

View File

@@ -405,6 +405,7 @@ class WC_Subscriptions_Switcher {
'css' => 'min-width:150px;',
'default' => 'no',
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => array(
'no' => _x( 'Never', 'when to allow a setting', 'woocommerce-subscriptions' ),
'virtual-upgrade' => _x( 'For Upgrades of Virtual Subscription Products Only', 'when to prorate recurring fee when switching', 'woocommerce-subscriptions' ),
@@ -422,6 +423,7 @@ class WC_Subscriptions_Switcher {
'css' => 'min-width:150px;',
'default' => 'no',
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => array(
'no' => _x( 'Never (do not charge a sign up fee)', 'when to prorate signup fee when switching', 'woocommerce-subscriptions' ),
'full' => _x( 'Never (charge the full sign up fee)', 'when to prorate signup fee when switching', 'woocommerce-subscriptions' ),
@@ -437,6 +439,7 @@ class WC_Subscriptions_Switcher {
'css' => 'min-width:150px;',
'default' => 'no',
'type' => 'select',
'class' => 'wc-enhanced-select',
'options' => array(
'no' => _x( 'Never', 'when to allow a setting', 'woocommerce-subscriptions' ),
'virtual' => _x( 'For Virtual Subscription Products Only', 'when to prorate first payment / subscription length', 'woocommerce-subscriptions' ),

View File

@@ -1,22 +1,21 @@
# Copyright (C) 2023 WooCommerce
# This file is distributed under the same license as the WooCommerce Subscriptions plugin.
# This file is distributed under the same license as the Woo Subscriptions plugin.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Subscriptions 5.4.0\n"
"Project-Id-Version: Woo Subscriptions 5.5.0\n"
"Report-Msgid-Bugs-To: https://woocommerce.com/contact-us\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-08-11T00:44:39+00:00\n"
"POT-Creation-Date: 2023-09-21T01:31:59+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.0\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: woocommerce-subscriptions\n"
#. Plugin Name of the plugin
#: vendor/woocommerce/subscriptions-core/includes/privacy/class-wcs-privacy.php:40
msgid "WooCommerce Subscriptions"
msgid "Woo Subscriptions"
msgstr ""
#. Plugin URI of the plugin
@@ -39,7 +38,7 @@ msgstr ""
#: includes/admin/class-wcs-admin-reports.php:58
msgctxt "heading used in an admin notice"
msgid "WooCommerce Subscriptions - Reports Not Available"
msgid "Woo Subscriptions - Reports Not Available"
msgstr ""
#. translators: placeholders $1 and $2 are opening <a> tags linking to the WooCommerce documentation on HPOS and data synchronization. Placeholder $3 is a closing link (<a>) tag.
@@ -986,17 +985,17 @@ msgstr ""
#. translators: 1$-2$: opening and closing <strong> tags, 3$-4$: link tags, takes to woocommerce plugin on wp.org, 5$-6$: opening and closing link tags, leads to plugins.php in admin
#: includes/class-wc-subscriptions-dependency-manager.php:156
msgid "%1$sWooCommerce Subscriptions is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for WooCommerce Subscriptions to work. Please %5$sinstall & activate WooCommerce &raquo;%6$s"
msgid "%1$sWoo Subscriptions is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for Woo Subscriptions to work. Please %5$sinstall & activate Woo &raquo;%6$s"
msgstr ""
#. translators: 1$-2$: opening and closing <strong> tags, 3$: minimum supported WooCommerce version, 4$-5$: opening and closing link tags, leads to plugin admin
#: includes/class-wc-subscriptions-dependency-manager.php:159
msgid "%1$sWooCommerce Subscriptions is inactive.%2$s This version of Subscriptions requires WooCommerce %3$s or newer. Please %4$supdate WooCommerce to version %3$s or newer &raquo;%5$s"
msgid "%1$sWoo Subscriptions is inactive.%2$s This version of Subscriptions requires WooCommerce %3$s or newer. Please %4$supdate WooCommerce to version %3$s or newer &raquo;%5$s"
msgstr ""
#. translators: 1-2: opening/closing <b> tags, 3: Subscriptions version.
#: includes/class-wc-subscriptions-plugin.php:58
msgid "%1$sWarning!%2$s We can see the %1$sWooCommerce Subscriptions Early Renewal%2$s plugin is active. Version %3$s of %1$sWooCommerce Subscriptions%2$s comes with that plugin's functionality packaged into the core plugin. Please deactivate WooCommerce Subscriptions Early Renewal to avoid any conflicts."
msgid "%1$sWarning!%2$s We can see the %1$sWooCommerce Subscriptions Early Renewal%2$s plugin is active. Version %3$s of %1$sWoo Subscriptions%2$s comes with that plugin's functionality packaged into the core plugin. Please deactivate WooCommerce Subscriptions Early Renewal to avoid any conflicts."
msgstr ""
#: includes/class-wc-subscriptions-plugin.php:62
@@ -1005,7 +1004,7 @@ msgstr ""
#. translators: $1-$2: opening and closing <strong> tags, $3-$4: opening and closing <em> tags.
#: includes/class-wc-subscriptions-plugin.php:204
msgid "%1$sWooCommerce Subscriptions Installed%2$s &#8211; %3$sYou're ready to start selling subscriptions!%4$s"
msgid "%1$sWoo Subscriptions Installed%2$s &#8211; %3$sYou're ready to start selling subscriptions!%4$s"
msgstr ""
#: includes/class-wc-subscriptions-plugin.php:222
@@ -1070,11 +1069,11 @@ msgctxt "there's a number immediately in front of this text"
msgid "suspensions per billing period."
msgstr ""
#: includes/class-wcs-customer-suspension-manager.php:39
#: includes/class-wcs-customer-suspension-manager.php:40
msgid "Set a maximum number of times a customer can suspend their account for each billing period. For example, for a value of 3 and a subscription billed yearly, if the customer has suspended their account 3 times, they will not be presented with the option to suspend their account until the next year. Store managers will always be able to suspend an active subscription. Set this to 0 to turn off the customer suspension feature completely."
msgstr ""
#: includes/class-wcs-customer-suspension-manager.php:110
#: includes/class-wcs-customer-suspension-manager.php:111
#: vendor/woocommerce/subscriptions-core/includes/admin/class-wcs-admin-post-types.php:1333
msgid "Suspend"
msgstr ""
@@ -1172,11 +1171,11 @@ msgstr ""
msgid "When a subscription is activated, either manually or after a successful purchase, new users will be assigned this role."
msgstr ""
#: includes/class-wcs-subscriber-role-manager.php:57
#: includes/class-wcs-subscriber-role-manager.php:58
msgid "Inactive Subscriber Role"
msgstr ""
#: includes/class-wcs-subscriber-role-manager.php:58
#: includes/class-wcs-subscriber-role-manager.php:59
msgid "If a subscriber's subscription is manually cancelled or expires, she will be assigned this role."
msgstr ""
@@ -1205,7 +1204,7 @@ msgstr ""
#. translators: placeholder is Subscription version string ('3.1')
#: includes/class-wcs-upgrade-notice-manager.php:105
msgid "Welcome to WooCommerce Subscriptions %s!"
msgid "Welcome to Woo Subscriptions %s!"
msgstr ""
#: includes/class-wcs-upgrade-notice-manager.php:112
@@ -1629,7 +1628,7 @@ msgid "Choose a new subscription."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:245
#: includes/switching/class-wc-subscriptions-switcher.php:1243
#: includes/switching/class-wc-subscriptions-switcher.php:1246
msgid "Your cart contained an invalid subscription switch request. It has been removed."
msgid_plural "Your cart contained invalid subscription switch requests. They have been removed."
msgstr[0] ""
@@ -1661,185 +1660,185 @@ msgstr ""
msgid "When switching to a subscription with a different recurring payment or billing period, should the price paid for the existing billing period be prorated when switching to the new subscription?"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:409
#: includes/switching/class-wc-subscriptions-switcher.php:441
#: includes/switching/class-wc-subscriptions-switcher.php:410
#: includes/switching/class-wc-subscriptions-switcher.php:444
msgctxt "when to allow a setting"
msgid "Never"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:410
#: includes/switching/class-wc-subscriptions-switcher.php:411
msgctxt "when to prorate recurring fee when switching"
msgid "For Upgrades of Virtual Subscription Products Only"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:411
#: includes/switching/class-wc-subscriptions-switcher.php:412
msgctxt "when to prorate recurring fee when switching"
msgid "For Upgrades of All Subscription Products"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:412
#: includes/switching/class-wc-subscriptions-switcher.php:413
msgctxt "when to prorate recurring fee when switching"
msgid "For Upgrades & Downgrades of Virtual Subscription Products Only"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:413
#: includes/switching/class-wc-subscriptions-switcher.php:414
msgctxt "when to prorate recurring fee when switching"
msgid "For Upgrades & Downgrades of All Subscription Products"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:418
#: includes/switching/class-wc-subscriptions-switcher.php:419
msgid "Prorate Sign up Fee"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:419
#: includes/switching/class-wc-subscriptions-switcher.php:420
msgid "When switching to a subscription with a sign up fee, you can require the customer pay only the gap between the existing subscription's sign up fee and the new subscription's sign up fee (if any)."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:426
msgctxt "when to prorate signup fee when switching"
msgid "Never (do not charge a sign up fee)"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:427
msgctxt "when to prorate signup fee when switching"
msgid "Never (charge the full sign up fee)"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:428
msgctxt "when to prorate signup fee when switching"
msgid "Never (do not charge a sign up fee)"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:429
msgctxt "when to prorate signup fee when switching"
msgid "Never (charge the full sign up fee)"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:430
msgctxt "when to prorate signup fee when switching"
msgid "Always"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:433
#: includes/switching/class-wc-subscriptions-switcher.php:435
msgid "Prorate Subscription Length"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:434
#: includes/switching/class-wc-subscriptions-switcher.php:436
msgid "When switching to a subscription with a length, you can take into account the payments already completed by the customer when determining how many payments the subscriber needs to make for the new subscription."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:442
#: includes/switching/class-wc-subscriptions-switcher.php:445
#: vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-synchroniser.php:224
msgctxt "when to prorate first payment / subscription length"
msgid "For Virtual Subscription Products Only"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:443
#: includes/switching/class-wc-subscriptions-switcher.php:446
#: vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-synchroniser.php:225
msgctxt "when to prorate first payment / subscription length"
msgid "For All Subscription Products"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:448
#: includes/switching/class-wc-subscriptions-switcher.php:451
msgid "Switch Button Text"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:449
#: includes/switching/class-wc-subscriptions-switcher.php:452
msgid "Customise the text displayed on the button next to the subscription on the subscriber's account page. The default is \"Switch Subscription\", but you may wish to change this to \"Upgrade\" or \"Change Subscription\"."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:453
#: includes/switching/class-wc-subscriptions-switcher.php:555
#: includes/switching/class-wc-subscriptions-switcher.php:2647
#: includes/switching/class-wc-subscriptions-switcher.php:456
#: includes/switching/class-wc-subscriptions-switcher.php:558
#: includes/switching/class-wc-subscriptions-switcher.php:2650
msgid "Upgrade or Downgrade"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:492
#: includes/switching/class-wc-subscriptions-switcher.php:495
msgid "Allow Switching"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:499
#: includes/switching/class-wc-subscriptions-switcher.php:502
msgctxt "when to allow switching"
msgid "Between Subscription Variations"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:503
#: includes/switching/class-wc-subscriptions-switcher.php:506
msgctxt "when to allow switching"
msgid "Between Grouped Subscriptions"
msgstr ""
#. translators: %s: order number.
#: includes/switching/class-wc-subscriptions-switcher.php:1152
#: includes/switching/class-wc-subscriptions-switcher.php:1155
msgid "Switch order cancelled due to a new switch order being created #%s."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1371
#: includes/switching/class-wc-subscriptions-switcher.php:1374
msgid "You can only switch to a subscription product."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1377
#: includes/switching/class-wc-subscriptions-switcher.php:1380
msgid "We can not find your old subscription item."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1399
#: includes/switching/class-wc-subscriptions-switcher.php:1402
msgid "You can not switch to the same subscription."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1446
#: includes/switching/class-wc-subscriptions-switcher.php:1449
msgid "You can not switch this subscription. It appears you do not own the subscription."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1487
#: includes/switching/class-wc-subscriptions-switcher.php:1490
msgid "There was an error locating the switch details."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1868
msgctxt "a switch type"
msgid "Downgrade"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1871
msgctxt "a switch type"
msgid "Upgrade"
msgid "Downgrade"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1874
msgctxt "a switch type"
msgid "Upgrade"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1877
msgctxt "a switch type"
msgid "Crossgrade"
msgstr ""
#. translators: %1: product subtotal, %2: HTML span tag, %3: direction (upgrade, downgrade, crossgrade), %4: closing HTML span tag
#: includes/switching/class-wc-subscriptions-switcher.php:1879
#: includes/switching/class-wc-subscriptions-switcher.php:1882
msgctxt "product subtotal string"
msgid "%1$s %2$s(%3$s)%4$s"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1995
#: includes/switching/class-wc-subscriptions-switcher.php:1998
msgid "The original subscription item being switched cannot be found."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:1997
#: includes/switching/class-wc-subscriptions-switcher.php:2000
msgid "The item on the switch order cannot be found."
msgstr ""
#. translators: 1$: old item, 2$: new item when switching
#: includes/switching/class-wc-subscriptions-switcher.php:2008
#: includes/switching/class-wc-subscriptions-switcher.php:2011
msgctxt "used in order notes"
msgid "Customer switched from: %1$s to %2$s."
msgstr ""
#. translators: %s: new item name.
#: includes/switching/class-wc-subscriptions-switcher.php:2011
#: includes/switching/class-wc-subscriptions-switcher.php:2014
msgctxt "used in order notes"
msgid "Customer added %s."
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:2371
#: includes/switching/class-wc-subscriptions-switcher.php:2924
#: includes/switching/class-wc-subscriptions-switcher.php:2374
#: includes/switching/class-wc-subscriptions-switcher.php:2927
msgid "Switch Order"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:2386
#: includes/switching/class-wc-subscriptions-switcher.php:2939
#: includes/switching/class-wc-subscriptions-switcher.php:2389
#: includes/switching/class-wc-subscriptions-switcher.php:2942
msgid "Switched Subscription"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:2604
#: includes/switching/class-wc-subscriptions-switcher.php:2607
msgctxt "add to cart button text while switching a subscription"
msgid "Switch subscription"
msgstr ""
#: includes/switching/class-wc-subscriptions-switcher.php:2788
#: includes/switching/class-wc-subscriptions-switcher.php:2791
#: vendor/woocommerce/subscriptions-core/wcs-functions.php:224
msgctxt "Subscription status"
msgid "Switched"
@@ -5091,6 +5090,10 @@ msgstr ""
msgid "Email Address"
msgstr ""
#: vendor/woocommerce/subscriptions-core/includes/privacy/class-wcs-privacy.php:40
msgid "WooCommerce Subscriptions"
msgstr ""
#: vendor/woocommerce/subscriptions-core/includes/privacy/class-wcs-privacy.php:43
#: vendor/woocommerce/subscriptions-core/includes/privacy/class-wcs-privacy.php:44
msgid "Subscriptions Data"

2
vendor/autoload.php vendored
View File

@@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit1343a378b98b98b93d2e309b8e304370::getLoader();
return ComposerAutoloaderInit06e38849db55c37d72e7daef1d52dece::getLoader();

View File

@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit1343a378b98b98b93d2e309b8e304370
class ComposerAutoloaderInit06e38849db55c37d72e7daef1d52dece
{
private static $loader;
@@ -24,12 +24,12 @@ class ComposerAutoloaderInit1343a378b98b98b93d2e309b8e304370
require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInit1343a378b98b98b93d2e309b8e304370', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit06e38849db55c37d72e7daef1d52dece', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit1343a378b98b98b93d2e309b8e304370', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit06e38849db55c37d72e7daef1d52dece', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit1343a378b98b98b93d2e309b8e304370::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit06e38849db55c37d72e7daef1d52dece::getInitializer($loader));
$loader->register(true);

View File

@@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit1343a378b98b98b93d2e309b8e304370
class ComposerStaticInit06e38849db55c37d72e7daef1d52dece
{
public static $prefixLengthsPsr4 = array (
'C' =>
@@ -129,9 +129,9 @@ class ComposerStaticInit1343a378b98b98b93d2e309b8e304370
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit1343a378b98b98b93d2e309b8e304370::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit1343a378b98b98b93d2e309b8e304370::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit1343a378b98b98b93d2e309b8e304370::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit06e38849db55c37d72e7daef1d52dece::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit06e38849db55c37d72e7daef1d52dece::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit06e38849db55c37d72e7daef1d52dece::$classMap;
}, null, ClassLoader::class);
}

View File

@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => 'woocommerce/woocommerce-subscriptions',
'pretty_version' => 'dev-release/5.4.0',
'version' => 'dev-release/5.4.0',
'reference' => '5d0a9898cc3ee9e412b2589bac2588b57a4f681c',
'pretty_version' => 'dev-release/5.5.0',
'version' => 'dev-release/5.5.0',
'reference' => '9c5944431141ef588b010663dd1539c41d12cf69',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
@@ -41,9 +41,9 @@
'dev_requirement' => false,
),
'woocommerce/woocommerce-subscriptions' => array(
'pretty_version' => 'dev-release/5.4.0',
'version' => 'dev-release/5.4.0',
'reference' => '5d0a9898cc3ee9e412b2589bac2588b57a4f681c',
'pretty_version' => 'dev-release/5.5.0',
'version' => 'dev-release/5.5.0',
'reference' => '9c5944431141ef588b010663dd1539c41d12cf69',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),

View File

@@ -1,14 +1,14 @@
<?php
/**
* Plugin Name: WooCommerce Subscriptions
* Plugin Name: Woo Subscriptions
* Plugin URI: https://www.woocommerce.com/products/woocommerce-subscriptions/
* Description: Sell products and services with recurring payments in your WooCommerce Store.
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Version: 5.4.0
* Version: 5.5.0
*
* WC requires at least: 7.6.0
* WC tested up to: 8.0.1
* WC tested up to: 8.1.0
* Woo: 27147:6115e6d7e297b623a169fdcf5728b224
*
* Copyright 2019 WooCommerce
@@ -77,10 +77,10 @@ class WC_Subscriptions {
public static $plugin_file = __FILE__;
/** @var string */
public static $version = '5.4.0'; // WRCS: DEFINED_VERSION.
public static $version = '5.5.0'; // WRCS: DEFINED_VERSION.
/** @var string */
public static $wc_minimum_supported_version = '7.6';
public static $wc_minimum_supported_version = '7.7';
/** @var WCS_Cache_Manager */
public static $cache;