Skip to content

Commit

Permalink
v2.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kousikmukherjee committed Jul 1, 2024
1 parent 212e0bc commit 80a0c4a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 26 deletions.
6 changes: 3 additions & 3 deletions eu-vat-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: EU/UK VAT for WooCommerce
Plugin URI: https://wpfactory.com/item/eu-vat-for-woocommerce/
Description: Manage EU VAT in WooCommerce. Beautifully.
Version: 2.12.1
Version: 2.12.2
Author: WPFactory
Author URI: https://wpfactory.com/
Text Domain: eu-vat-for-woocommerce
Expand All @@ -22,7 +22,7 @@
* Main Alg_WC_EU_VAT Class
*
* @class Alg_WC_EU_VAT
* @version 2.12.0
* @version 2.12.2
* @since 1.0.0
*/
final class Alg_WC_EU_VAT {
Expand All @@ -33,7 +33,7 @@ final class Alg_WC_EU_VAT {
* @var string
* @since 1.0.0
*/
public $version = '2.12.1';
public $version = '2.12.2';
public $core = null;
public $settings = array();

Expand Down
7 changes: 4 additions & 3 deletions includes/class-alg-wc-eu-vat-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* EU VAT for WooCommerce - Core Class
*
* @version 2.11.7
* @version 2.12.2
* @since 1.0.0
* @author WPFactory
*/
Expand Down Expand Up @@ -882,7 +882,7 @@ function current_url() {
/**
* admin_inline_js.
*
* @version 1.4.1
* @version 2.12.2
* @since 1.4.1
*/
function admin_inline_js()
Expand Down Expand Up @@ -928,7 +928,8 @@ function alg_wc_eu_vat_validate_vat_admin() {
type: "POST",
url: '<?php echo admin_url("admin-ajax.php"); ?>',
data: data,
success: function( response ) {
success: function( resp ) {
var response = resp.res;
response = response.trim();
// $( 'body' ).trigger( 'update_checkout' );
$("#woocommerce-order-data").unblock();
Expand Down
38 changes: 19 additions & 19 deletions langs/eu-vat-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: eu-vat-for-woocommerce 2.12.1\n"
"Project-Id-Version: eu-vat-for-woocommerce 2.12.2\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/eu-vat-for-woocommerce\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: 2024-06-30T09:44:08+02:00\n"
"POT-Creation-Date: 2024-07-01T15:07:31+02:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: eu-vat-for-woocommerce\n"
Expand Down Expand Up @@ -37,11 +37,11 @@ msgstr ""

#: eu-vat-for-woocommerce-blocks-initialize.php:55
#: includes/admin/class-alg-wc-eu-vat-admin.php:356
#: includes/class-alg-wc-eu-vat-core.php:1167
#: includes/class-alg-wc-eu-vat-core.php:1169
#: includes/class-alg-wc-eu-vat-core.php:1286
#: includes/class-alg-wc-eu-vat-core.php:1366
#: includes/class-alg-wc-eu-vat-core.php:1398
#: includes/class-alg-wc-eu-vat-core.php:1168
#: includes/class-alg-wc-eu-vat-core.php:1170
#: includes/class-alg-wc-eu-vat-core.php:1287
#: includes/class-alg-wc-eu-vat-core.php:1367
#: includes/class-alg-wc-eu-vat-core.php:1399
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:86
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:94
#: build/eu-vat-for-woocommerce-checkout-eu-vat-field-block.js:1
Expand Down Expand Up @@ -169,7 +169,7 @@ msgid "VAT is valid."
msgstr ""

#: includes/class-alg-wc-eu-vat-ajax.php:55
#: includes/class-alg-wc-eu-vat-core.php:1813
#: includes/class-alg-wc-eu-vat-core.php:1814
#: includes/settings/class-alg-wc-eu-vat-settings-validation.php:272
msgid "VAT is not valid."
msgstr ""
Expand Down Expand Up @@ -201,38 +201,38 @@ msgid "(optional)"
msgstr ""

#: includes/class-alg-wc-eu-vat-ajax.php:125
#: includes/class-alg-wc-eu-vat-core.php:1540
#: includes/class-alg-wc-eu-vat-core.php:1541
msgid "Error: Country by IP does not match (%s)"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:201
#: includes/class-alg-wc-eu-vat-core.php:365
#: includes/class-alg-wc-eu-vat-core.php:1709
#: includes/class-alg-wc-eu-vat-core.php:1778
#: includes/class-alg-wc-eu-vat-core.php:1710
#: includes/class-alg-wc-eu-vat-core.php:1779
#: includes/settings/class-alg-wc-eu-vat-settings-validation.php:70
msgid "<strong>EU VAT Number</strong> is not valid."
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:334
#: includes/class-alg-wc-eu-vat-core.php:1756
#: includes/class-alg-wc-eu-vat-core.php:1757
msgid "Success (checkout): VAT ID valid. Matched with prevalidated VAT numbers."
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:360
#: includes/class-alg-wc-eu-vat-core.php:1786
#: includes/class-alg-wc-eu-vat-core.php:1787
msgid "Error: VAT is not valid (checkout)"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:427
msgid "VAT SHIFTED"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:978
#: includes/class-alg-wc-eu-vat-core.php:979
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:163
msgid "You didn't set your VAT ID. Are you sure you want to continue?"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:978
#: includes/class-alg-wc-eu-vat-core.php:979
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:171
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:180
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:202
Expand All @@ -252,21 +252,21 @@ msgstr ""
msgid "Yes"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:978
#: includes/class-alg-wc-eu-vat-core.php:979
msgid "No"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:1090
#: includes/class-alg-wc-eu-vat-core.php:1091
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:244
msgid "I don't have a VAT ID"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:1109
#: includes/class-alg-wc-eu-vat-core.php:1110
#: includes/settings/class-alg-wc-eu-vat-settings-general.php:260
msgid "I have a valid VAT but not exempted"
msgstr ""

#: includes/class-alg-wc-eu-vat-core.php:1362
#: includes/class-alg-wc-eu-vat-core.php:1363
msgid "Customer Decide"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wpcodefactory, omardabbas, karzin, anbinder, algoritmika, kousikmu
Tags: EU VAT, UK VAT, tax, vat validation, VAT
Requires at least: 6.1
Tested up to: 6.5
Stable tag: 2.12.1
Stable tag: 2.12.2
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -290,6 +290,9 @@ Once activated, access the plugin's settings by navigating to “WooCommerce > S

== Changelog ==

= 2.12.2 - 01/07/2024 =
*Fix - admin_inline_js() for admin order creation.

= 2.12.1 - 30/06/2024 =
*Fix - deployment.

Expand Down

0 comments on commit 80a0c4a

Please sign in to comment.