Skip to content

Commit

Permalink
Updates to 1.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Woo committed May 21, 2024
1 parent 3d54115 commit 3745582
Show file tree
Hide file tree
Showing 681 changed files with 734 additions and 717 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
*** Xero Integration ***

2024-05-20 - version 1.8.6
* Dev - Bump WooCommerce "tested up to" version 8.9.
* Dev - Bump WooCommerce minimum supported version to 8.7.
* Update - Link to the WooCommerce log section instead of to the local file path.

2024-03-25 - version 1.8.5
* Add - Filters to adjust supported countries for Report Tax Type.
* Add - Support for US, South Africa, and Malta as Report Tax Type.
Expand Down
11 changes: 10 additions & 1 deletion includes/class-wc-xr-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,16 @@ public function __construct( $override = null ) {
'title' => __( 'Debug', 'woocommerce-xero' ),
'default' => 'off',
'type' => 'checkbox',
'description' => __( 'Enable logging. Log file is located at: /wc-logs/. <br> <strong>Note: this may log personal information. We recommend using this for debugging purposes only and deleting the logs when finished.</strong>', 'woocommerce-xero' ),
'description' => sprintf(
// translators: %1$s - opening HTML <a> link tag, %2$s - closing HTML </a> link tag, line break and opening HTML <strong> tag %3$s - closing HTML </strong> tag.
__(
'Log debug messages to the %1$sWooCommerce status log%2$s Note: this may log personal information. We recommend using this for debugging purposes only and deleting the logs when finished.%3$s',
'woocommerce-xero'
),
'<a href="' . esc_url( admin_url( 'admin.php?page=wc-status&tab=logs' ) ) . '">',
'</a><br><strong>',
'</strong>'
),
),
)
);
Expand Down
73 changes: 38 additions & 35 deletions languages/woocommerce-xero.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This file is distributed under the same license as the WooCommerce Xero Integration package.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Xero Integration 1.8.5\n"
"Project-Id-Version: WooCommerce Xero Integration 1.8.6\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-xero\n"
"POT-Creation-Date: 2024-03-25 13:39:22+00:00\n"
"POT-Creation-Date: 2024-05-20 14:07:31+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -137,8 +137,8 @@ msgstr ""
msgid "HTTPS for WordPress page"
msgstr ""

#: includes/class-wc-xr-privacy.php:22 includes/class-wc-xr-settings.php:591
#: includes/class-wc-xr-settings.php:592 includes/class-wc-xr-settings.php:623
#: includes/class-wc-xr-privacy.php:22 includes/class-wc-xr-settings.php:600
#: includes/class-wc-xr-settings.php:601 includes/class-wc-xr-settings.php:632
msgid "Xero"
msgstr ""

Expand Down Expand Up @@ -429,76 +429,79 @@ msgstr ""
msgid "Debug"
msgstr ""

#: includes/class-wc-xr-settings.php:256
#: includes/class-wc-xr-settings.php:258
#. translators: %1$s - opening HTML <a> link tag, %2$s - closing HTML </a> link
#. tag, line break and opening HTML <strong> tag %3$s - closing HTML </strong>
#. tag.
msgid ""
"Enable logging. Log file is located at: /wc-logs/. <br> <strong>Note: this "
"may log personal information. We recommend using this for debugging "
"purposes only and deleting the logs when finished.</strong>"
"Log debug messages to the %1$sWooCommerce status log%2$s Note: this may log "
"personal information. We recommend using this for debugging purposes only "
"and deleting the logs when finished.%3$s"
msgstr ""

#: includes/class-wc-xr-settings.php:378
#: includes/class-wc-xr-settings.php:387
msgid "Using %1$s uploaded at %2$s"
msgstr ""

#: includes/class-wc-xr-settings.php:433
#: includes/class-wc-xr-settings.php:442
msgid "Nonce verification failed!"
msgstr ""

#: includes/class-wc-xr-settings.php:510
#: includes/class-wc-xr-settings.php:519
msgid "Xero Settings"
msgstr ""

#: includes/class-wc-xr-settings.php:645 includes/class-wc-xr-settings.php:646
#: includes/class-wc-xr-settings.php:676 includes/class-wc-xr-settings.php:685
#: includes/class-wc-xr-settings.php:708
#: includes/class-wc-xr-settings.php:654 includes/class-wc-xr-settings.php:655
#: includes/class-wc-xr-settings.php:685 includes/class-wc-xr-settings.php:694
#: includes/class-wc-xr-settings.php:717
msgid "Xero OAuth"
msgstr ""

#: includes/class-wc-xr-settings.php:728
#: includes/class-wc-xr-settings.php:737
msgid "Xero for WooCommerce"
msgstr ""

#: includes/class-wc-xr-settings.php:732
#: includes/class-wc-xr-settings.php:741
msgid "Your settings have been saved."
msgstr ""

#: includes/class-wc-xr-settings.php:745
#: includes/class-wc-xr-settings.php:754
msgid "Missing required fields"
msgstr ""

#: includes/class-wc-xr-settings.php:751
#: includes/class-wc-xr-settings.php:760
msgid "There was an error saving your settings."
msgstr ""

#: includes/class-wc-xr-settings.php:768
#: includes/class-wc-xr-settings.php:777
msgid ""
"Settings for your Xero account including security keys and default account "
"numbers."
msgstr ""

#: includes/class-wc-xr-settings.php:771
#: includes/class-wc-xr-settings.php:780
#. translators: %1$s: opening anchor tag; %2$s: closing anchor tag
msgid "Please ensure you're following all %1$srequirements%2$s prior to setup."
msgstr ""

#: includes/class-wc-xr-settings.php:774
#: includes/class-wc-xr-settings.php:783
#. translators: %1$s: opening strong tag; %2$s: closing strong tag
msgid "%1$sAll%2$s text fields are required for the integration to work properly."
msgstr ""

#: includes/class-wc-xr-settings.php:798
#: includes/class-wc-xr-settings.php:807
msgid "Key not set"
msgstr ""

#: includes/class-wc-xr-settings.php:836
#: includes/class-wc-xr-settings.php:845
msgid "Disconnect from Xero"
msgstr ""

#: includes/class-wc-xr-settings.php:844
#: includes/class-wc-xr-settings.php:853
msgid "Sign in with Xero"
msgstr ""

#: includes/class-wc-xr-settings.php:849
#: includes/class-wc-xr-settings.php:858
#. translators: %1$s: line break tag; %2$s: opening anchor tag; %3$s: closing
#. anchor tag;
msgid ""
Expand All @@ -507,53 +510,53 @@ msgid ""
"%2$srequirements%3$s prior to setup."
msgstr ""

#: includes/class-wc-xr-settings.php:885
#: includes/class-wc-xr-settings.php:894
msgid ""
"Please use the following url as your redirect url when creating a Xero "
"application:"
msgstr ""

#: includes/class-wc-xr-settings.php:1044
#: includes/class-wc-xr-settings.php:1053
msgid ""
"Xero has securely saved the contents of key file %s to the database and no "
"longer requires it."
msgstr ""

#: includes/class-wc-xr-settings.php:1047
#: includes/class-wc-xr-settings.php:1056
msgid "Delete %s"
msgstr ""

#: includes/class-wc-xr-settings.php:1062
#: includes/class-wc-xr-settings.php:1071
msgid "Xero could not delete %s. Check permissions and try again."
msgstr ""

#: includes/class-wc-xr-settings.php:1070
#: includes/class-wc-xr-settings.php:1079
msgid "Xero successfully deleted %s."
msgstr ""

#: includes/class-wc-xr-settings.php:1092
#: includes/class-wc-xr-settings.php:1101
msgid ""
"Xero authentication using keys is in the process of being deprecated and "
"new private apps can no longer be created."
msgstr ""

#: includes/class-wc-xr-settings.php:1093
#: includes/class-wc-xr-settings.php:1102
msgid ""
"Please use new flow and the button available in Xero settings to authorize "
"your application."
msgstr ""

#: includes/class-wc-xr-settings.php:1095
#: includes/class-wc-xr-settings.php:1104
msgid "Go to Xero settings page"
msgstr ""

#: includes/class-wc-xr-settings.php:1112
#: includes/class-wc-xr-settings.php:1121
msgid ""
"Unable to fetch the Branding Theme details. Please ensure your Xero "
"connection is properly authenticated."
msgstr ""

#: includes/class-wc-xr-settings.php:1132
#: includes/class-wc-xr-settings.php:1141
msgid ""
"Xero account was disconnected because authentication keys were changed. "
"Please connect again."
Expand Down
2 changes: 1 addition & 1 deletion lib/packages/firebase/php-jwt/src/BeforeValidException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/firebase/php-jwt/src/CachedKeySet.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/firebase/php-jwt/src/ExpiredException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/firebase/php-jwt/src/JWK.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/firebase/php-jwt/src/JWT.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/
namespace Automattic\WooCommerce\Xero\Vendor\Firebase\JWT;
Expand Down
2 changes: 1 addition & 1 deletion lib/packages/firebase/php-jwt/src/Key.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license BSD-3-Clause
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/guzzlehttp/guzzle/src/BodySummarizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/guzzlehttp/guzzle/src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/guzzlehttp/guzzle/src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/guzzlehttp/guzzle/src/ClientTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/guzzlehttp/guzzle/src/Cookie/CookieJar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/packages/guzzlehttp/guzzle/src/Cookie/SetCookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @license MIT
*
* Modified by woocommerce on 25-March-2024 using Strauss.
* Modified by woocommerce on 20-May-2024 using Strauss.
* @see https://github.com/BrianHenryIE/strauss
*/

Expand Down
Loading

0 comments on commit 3745582

Please sign in to comment.