Skip to content

Commit

Permalink
Merge pull request #8 from alexminza/v1.1.4
Browse files Browse the repository at this point in the history
v1.1.4
  • Loading branch information
alexminza authored Mar 25, 2020
2 parents 982e764 + 796534f commit af065ac
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 17 deletions.
Binary file modified languages/wc-moldovaagroindbank-ro_RO.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions languages/wc-moldovaagroindbank-ro_RO.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
# This file is distributed under the same license as the WooCommerce Moldova Agroindbank Payment Gateway package.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Moldova Agroindbank Payment Gateway 1.1.3\n"
"Project-Id-Version: WooCommerce Moldova Agroindbank Payment Gateway 1.1.4\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-"
"moldovaagroindbank\n"
"POT-Creation-Date: 2019-12-04 19:38+0200\n"
"PO-Revision-Date: 2019-12-04 19:42+0200\n"
"POT-Creation-Date: 2020-03-25 13:50+0200\n"
"PO-Revision-Date: 2020-03-25 13:51+0200\n"
"Last-Translator: Alexander Minza <alex@alexminza.com>\n"
"Language-Team: \n"
"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.4\n"
"X-Generator: Poedit 2.3\n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
"2:1));\n"

Expand Down
Binary file modified languages/wc-moldovaagroindbank-ru_RU.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions languages/wc-moldovaagroindbank-ru_RU.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
# This file is distributed under the same license as the WooCommerce Moldova Agroindbank Payment Gateway package.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Moldova Agroindbank Payment Gateway 1.1.3\n"
"Project-Id-Version: WooCommerce Moldova Agroindbank Payment Gateway 1.1.4\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-"
"moldovaagroindbank\n"
"POT-Creation-Date: 2019-12-04 19:38+0200\n"
"PO-Revision-Date: 2019-12-04 19:42+0200\n"
"POT-Creation-Date: 2020-03-25 13:50+0200\n"
"PO-Revision-Date: 2020-03-25 13:51+0200\n"
"Last-Translator: Alexander Minza <alex@alexminza.com>\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.4\n"
"X-Generator: Poedit 2.3\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

Expand Down
10 changes: 5 additions & 5 deletions languages/wc-moldovaagroindbank.pot
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Copyright (C) 2019 WooCommerce Moldova Agroindbank Payment Gateway
# Copyright (C) 2020 WooCommerce Moldova Agroindbank Payment Gateway
# This file is distributed under the same license as the WooCommerce Moldova Agroindbank Payment Gateway package.
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Moldova Agroindbank Payment Gateway 1.1.3\n"
"Project-Id-Version: WooCommerce Moldova Agroindbank Payment Gateway 1.1.4\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-moldovaagroindbank\n"
"POT-Creation-Date: 2019-12-04 19:38+0200\n"
"POT-Creation-Date: 2020-03-25 13:50+0200\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"X-Generator: Poedit 2.2.4\n"
"X-Generator: Poedit 2.3\n"

#: wc-moldovaagroindbank.php:163
msgid "Enable/Disable"
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: alexminza
Donate link: https://www.paypal.me/AlexMinza
Tags: WooCommerce, Moldova, Agroindbank, MAIB, payment, gateway
Requires at least: 4.8
Tested up to: 5.3
Tested up to: 5.3.2
Stable tag: trunk
Requires PHP: 7.0
License: GPLv3 or later
Expand Down Expand Up @@ -77,6 +77,9 @@ You can also contribute to the plugin by translating it. Simply visit [translate

== Changelog ==

= 1.1.4 =
Updated WC tested up to 4.0.1

= 1.1.3 =
Minor improvements

Expand All @@ -103,6 +106,9 @@ Initial release

== Upgrade Notice ==

= 1.1.4 =
Updated WC tested up to 4.0.1

= 1.1 =
Simplified payment gateway setup.
See Changelog for details.
10 changes: 7 additions & 3 deletions wc-moldovaagroindbank.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Moldova Agroindbank Payment Gateway
* Description: WooCommerce Payment Gateway for Moldova Agroindbank
* Plugin URI: https://github.com/alexminza/wc-moldovaagroindbank
* Version: 1.1.3
* Version: 1.1.4
* Author: Alexander Minza
* Author URI: https://profiles.wordpress.org/alexminza
* Developer: Alexander Minza
Expand All @@ -13,9 +13,9 @@
* License: GPLv3 or later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Requires at least: 4.8
* Tested up to: 5.3
* Tested up to: 5.3.2
* WC requires at least: 3.3
* WC tested up to: 3.8.1
* WC tested up to: 4.0.1
*/

//Looking to contribute code to this plugin? Go ahead and fork the repository over at GitHub https://github.com/alexminza/wc-moldovaagroindbank
Expand Down Expand Up @@ -1349,6 +1349,10 @@ public static function is_wc_active() {
#region Register activation hooks
function woocommerce_moldovaagroindbank_activation() {
woocommerce_moldovaagroindbank_init();

if(!class_exists('WC_MoldovaAgroindbank'))
die('WooCommerce is required for this plugin to work');

WC_MoldovaAgroindbank::register_scheduled_actions();
}

Expand Down

0 comments on commit af065ac

Please sign in to comment.