From 10a168173f2ab59994a5e1015dff14da0099acbe Mon Sep 17 00:00:00 2001 From: Alexander Minza Date: Wed, 25 Mar 2020 12:12:11 +0200 Subject: [PATCH] v1.0.7 Updated WC tested up to 4.0.1 --- languages/wc-alcohol-ro_RO.mo | Bin 2492 -> 2490 bytes languages/wc-alcohol-ro_RO.po | 44 ++++++++++++++++---------------- languages/wc-alcohol-ru_RU.mo | Bin 3050 -> 3048 bytes languages/wc-alcohol-ru_RU.po | 44 ++++++++++++++++---------------- languages/wc-alcohol.pot | 46 +++++++++++++++++----------------- readme.txt | 11 ++++---- wc-alcohol.php | 6 ++++- 7 files changed, 78 insertions(+), 73 deletions(-) diff --git a/languages/wc-alcohol-ro_RO.mo b/languages/wc-alcohol-ro_RO.mo index 0a726fc8cb072a1086763198ac1f46c3cad1fc73..f2bd7f1d0bbef530f9a82cf6204e0a6722f325d3 100644 GIT binary patch delta 202 zcmdlZyi0h(p88{q3=Hd77#JKF7#K>~7#O61^fn+Z0HiMgX)z%E7)W~q>0dya4@kSQ zL+DT-T?OQ)K>7E9v?P%K4oHgvX$}qs1`!}F2c*@3v@wtdN-;zOX^?y}2ZJ0#AdpcB z6c7f|r-5`2kiHM3eSvh&=19iL%#7xf-?BvU85!sr80#9DDi|7A8JSKFWj)DgyjhWL GHZuUWpd8Nt delta 204 zcmdlbyhnJ#p86Av3=Hd77#JKF7#Pag7#O61^bQ~`0Hm(~X)z%E6i9mm=|4c44@i5k zL+EfIT?OQ)LHQ4Xv?P%K0Z5AiX)X>11`!~w0HoD{v?-7VN-@L&X^?y>2ZJ0#AdpcF z6c7f|XMuDNkbVfHeSvh|=19iL%#3D}-?BvU8CvQZ8tEDsDHvK<8CgsYWj)Dkq-U~O Io^3WW00S5uWdHyG diff --git a/languages/wc-alcohol-ro_RO.po b/languages/wc-alcohol-ro_RO.po index 45f1704..f29ecad 100644 --- a/languages/wc-alcohol-ro_RO.po +++ b/languages/wc-alcohol-ro_RO.po @@ -2,69 +2,69 @@ # This file is distributed under the same license as the WooCommerce Alcohol Sale Restrictions package. msgid "" msgstr "" -"Project-Id-Version: WooCommerce Alcohol Sale Restrictions 1.0.6\n" +"Project-Id-Version: WooCommerce Alcohol Sale Restrictions 1.0.7\n" "Report-Msgid-Bugs-To: https://github.com/alexminza/wc-alcohol/issues\n" -"POT-Creation-Date: 2019-12-02 18:26+0200\n" -"PO-Revision-Date: 2019-12-02 18:28+0200\n" +"POT-Creation-Date: 2020-03-25 10:23+0200\n" +"PO-Revision-Date: 2020-03-25 10:25+0200\n" "Last-Translator: Alexander Minza \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" -#: wc-alcohol.php:87 +#: wc-alcohol.php:91 msgid "Alcohol sale restrictions" msgstr "Restricții vânzare alcool" -#: wc-alcohol.php:157 +#: wc-alcohol.php:161 msgid "Settings" msgstr "Setări" -#: wc-alcohol.php:178 +#: wc-alcohol.php:182 msgid "Alcohol sale limitations during restriction hours" msgstr "Interdicții de vânzare alcool în timpul orelor de restricție" -#: wc-alcohol.php:184 +#: wc-alcohol.php:188 msgid "Enable restrictions" msgstr "Activează restricții" -#: wc-alcohol.php:185 +#: wc-alcohol.php:189 msgid "Enable sale limitations during restriction hours" msgstr "Activează interdicția de vânzare alcool în timpul orelor de restricție" -#: wc-alcohol.php:191 +#: wc-alcohol.php:195 msgid "Restriction time start" msgstr "Început restricție" -#: wc-alcohol.php:192 +#: wc-alcohol.php:196 msgid "Example: 22:00" msgstr "Exemplu: 22:00" -#: wc-alcohol.php:199 +#: wc-alcohol.php:203 msgid "Restriction time end" msgstr "Sfârșit restricție" -#: wc-alcohol.php:200 +#: wc-alcohol.php:204 msgid "Example: 09:00" msgstr "Exemplu: 09:00" -#: wc-alcohol.php:207 +#: wc-alcohol.php:211 msgid "Restricted categories" msgstr "Categorii restricționate" -#: wc-alcohol.php:213 +#: wc-alcohol.php:217 msgid "Select restricted categories" msgstr "Selectează categoriile restricționate" -#: wc-alcohol.php:220 +#: wc-alcohol.php:224 msgid "Warning message" msgstr "Mesaj de avertizare" -#: wc-alcohol.php:221 +#: wc-alcohol.php:225 msgid "" "Warning message displayed to the customers when trying to purchase products " "from the selected categories during restriction hours." @@ -72,7 +72,7 @@ msgstr "" "Mesajul de avertizare afișat clienților la încercarea de a cumpăra produse " "din categoriile selectate în intervalul orar restricționat." -#: wc-alcohol.php:222 +#: wc-alcohol.php:226 msgid "" "Format: %1$s - Category, %2$s - Restriction time " "start, %3$s - Restriction time end" @@ -80,7 +80,7 @@ msgstr "" "Format: %1$s - Categorie, %2$s - Început " "restricție, %3$s - Sfârșit restricție" -#: wc-alcohol.php:223 +#: wc-alcohol.php:227 msgid "" "The sale of products in the \"%1$s\" category is prohibited from %2$s to " "%3$s." @@ -88,15 +88,15 @@ msgstr "" "Produsele din categoria \"%1$s\" nu pot fi comercializate între orele %2$s - " "%3$s." -#: wc-alcohol.php:229 +#: wc-alcohol.php:233 msgid "Show warning on" msgstr "Arată avertisment pe" -#: wc-alcohol.php:230 +#: wc-alcohol.php:234 msgid "Product pages" msgstr "Pagini produse" -#: wc-alcohol.php:238 +#: wc-alcohol.php:242 msgid "Category pages" msgstr "Pagini categorii" diff --git a/languages/wc-alcohol-ru_RU.mo b/languages/wc-alcohol-ru_RU.mo index 8f56bd0610ee4d2c7ec1a97a90f3c7d1b898e341..4e1d2fddc0eaa105cf8c0d31ca727e76bf772e2c 100644 GIT binary patch delta 202 zcmaDQ{z81hp8DsE3=Hd77#LC*7#OCpF))|`>EA$F6-XPgGcc$F=?EZQ3Zxr=v@nqV z2Bo<;7#NlS`Eo#75l9~f(%L}!DU>hB$-tlt977tA zaSte92&7%P7#My4>2e@l4x|e0-kW;CDtmL-bM$UxV?Sl7r@!O+0U$aHcj>q$oA J&5CR%SpjAH9+vAyf)6-b+~Gcc$F=_nvw3Z$EWv@nqV z0i}637#NlS`3gW<5l9~e(%L}!Ig~HV$-tltDC3GEQb@G@JaEC5q3`QrFN(*T6`@(89{dVsa?!NoFHG Klg;vMCs_ftlpies diff --git a/languages/wc-alcohol-ru_RU.po b/languages/wc-alcohol-ru_RU.po index 0bfdeb9..a668a0c 100644 --- a/languages/wc-alcohol-ru_RU.po +++ b/languages/wc-alcohol-ru_RU.po @@ -2,69 +2,69 @@ # This file is distributed under the same license as the WooCommerce Alcohol Sale Restrictions package. msgid "" msgstr "" -"Project-Id-Version: WooCommerce Alcohol Sale Restrictions 1.0.6\n" +"Project-Id-Version: WooCommerce Alcohol Sale Restrictions 1.0.7\n" "Report-Msgid-Bugs-To: https://github.com/alexminza/wc-alcohol/issues\n" -"POT-Creation-Date: 2019-12-02 18:26+0200\n" -"PO-Revision-Date: 2019-12-02 18:28+0200\n" +"POT-Creation-Date: 2020-03-25 10:23+0200\n" +"PO-Revision-Date: 2020-03-25 10:25+0200\n" "Last-Translator: Alexander Minza \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" -#: wc-alcohol.php:87 +#: wc-alcohol.php:91 msgid "Alcohol sale restrictions" msgstr "Ограничения продажи алкоголя" -#: wc-alcohol.php:157 +#: wc-alcohol.php:161 msgid "Settings" msgstr "Настройки" -#: wc-alcohol.php:178 +#: wc-alcohol.php:182 msgid "Alcohol sale limitations during restriction hours" msgstr "Запрет продажи алкоголя во время действия ограничений" -#: wc-alcohol.php:184 +#: wc-alcohol.php:188 msgid "Enable restrictions" msgstr "Включить ограничения" -#: wc-alcohol.php:185 +#: wc-alcohol.php:189 msgid "Enable sale limitations during restriction hours" msgstr "Включить запрет продажи алкоголя во время действия ограничений" -#: wc-alcohol.php:191 +#: wc-alcohol.php:195 msgid "Restriction time start" msgstr "Начало ограничения" -#: wc-alcohol.php:192 +#: wc-alcohol.php:196 msgid "Example: 22:00" msgstr "Пример: 22:00" -#: wc-alcohol.php:199 +#: wc-alcohol.php:203 msgid "Restriction time end" msgstr "Конец ограничения" -#: wc-alcohol.php:200 +#: wc-alcohol.php:204 msgid "Example: 09:00" msgstr "Пример: 09:00" -#: wc-alcohol.php:207 +#: wc-alcohol.php:211 msgid "Restricted categories" msgstr "Ограниченные категории" -#: wc-alcohol.php:213 +#: wc-alcohol.php:217 msgid "Select restricted categories" msgstr "Выберите ограниченные категории" -#: wc-alcohol.php:220 +#: wc-alcohol.php:224 msgid "Warning message" msgstr "Предупреждающее сообщение" -#: wc-alcohol.php:221 +#: wc-alcohol.php:225 msgid "" "Warning message displayed to the customers when trying to purchase products " "from the selected categories during restriction hours." @@ -72,7 +72,7 @@ msgstr "" "Предупреждающее сообщение, отображаемое клиентам при попытке приобрести " "товары из выбранных категорий во время действия ограничений." -#: wc-alcohol.php:222 +#: wc-alcohol.php:226 msgid "" "Format: %1$s - Category, %2$s - Restriction time " "start, %3$s - Restriction time end" @@ -80,21 +80,21 @@ msgstr "" "Формат: %1$s - Категория, %2$s - Начало " "ограничения, %3$s - Конец ограничения" -#: wc-alcohol.php:223 +#: wc-alcohol.php:227 msgid "" "The sale of products in the \"%1$s\" category is prohibited from %2$s to " "%3$s." msgstr "Продажа товаров из категории “%1$s” запрещена с %2$s до %3$s." -#: wc-alcohol.php:229 +#: wc-alcohol.php:233 msgid "Show warning on" msgstr "Показывать предупреждение на" -#: wc-alcohol.php:230 +#: wc-alcohol.php:234 msgid "Product pages" msgstr "Страницах товаров" -#: wc-alcohol.php:238 +#: wc-alcohol.php:242 msgid "Category pages" msgstr "Страницах категорий" diff --git a/languages/wc-alcohol.pot b/languages/wc-alcohol.pot index 1d07514..a995eec 100644 --- a/languages/wc-alcohol.pot +++ b/languages/wc-alcohol.pot @@ -1,88 +1,88 @@ -# Copyright (C) 2019 WooCommerce Alcohol Sale Restrictions +# Copyright (C) 2020 WooCommerce Alcohol Sale Restrictions # This file is distributed under the same license as the WooCommerce Alcohol Sale Restrictions package. #, fuzzy msgid "" msgstr "" -"Project-Id-Version: WooCommerce Alcohol Sale Restrictions 1.0.6\n" +"Project-Id-Version: WooCommerce Alcohol Sale Restrictions 1.0.7\n" "Report-Msgid-Bugs-To: https://github.com/alexminza/wc-alcohol/issues\n" -"POT-Creation-Date: 2019-12-02 18:26+0200\n" +"POT-Creation-Date: 2020-03-25 10:23+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 \n" "Language-Team: LANGUAGE \n" -"X-Generator: Poedit 2.2.4\n" +"X-Generator: Poedit 2.3\n" -#: wc-alcohol.php:87 +#: wc-alcohol.php:91 msgid "Alcohol sale restrictions" msgstr "" -#: wc-alcohol.php:157 +#: wc-alcohol.php:161 msgid "Settings" msgstr "" -#: wc-alcohol.php:178 +#: wc-alcohol.php:182 msgid "Alcohol sale limitations during restriction hours" msgstr "" -#: wc-alcohol.php:184 +#: wc-alcohol.php:188 msgid "Enable restrictions" msgstr "" -#: wc-alcohol.php:185 +#: wc-alcohol.php:189 msgid "Enable sale limitations during restriction hours" msgstr "" -#: wc-alcohol.php:191 +#: wc-alcohol.php:195 msgid "Restriction time start" msgstr "" -#: wc-alcohol.php:192 +#: wc-alcohol.php:196 msgid "Example: 22:00" msgstr "" -#: wc-alcohol.php:199 +#: wc-alcohol.php:203 msgid "Restriction time end" msgstr "" -#: wc-alcohol.php:200 +#: wc-alcohol.php:204 msgid "Example: 09:00" msgstr "" -#: wc-alcohol.php:207 +#: wc-alcohol.php:211 msgid "Restricted categories" msgstr "" -#: wc-alcohol.php:213 +#: wc-alcohol.php:217 msgid "Select restricted categories" msgstr "" -#: wc-alcohol.php:220 +#: wc-alcohol.php:224 msgid "Warning message" msgstr "" -#: wc-alcohol.php:221 +#: wc-alcohol.php:225 msgid "Warning message displayed to the customers when trying to purchase products from the selected categories during restriction hours." msgstr "" -#: wc-alcohol.php:222 +#: wc-alcohol.php:226 msgid "Format: %1$s - Category, %2$s - Restriction time start, %3$s - Restriction time end" msgstr "" -#: wc-alcohol.php:223 +#: wc-alcohol.php:227 msgid "The sale of products in the \"%1$s\" category is prohibited from %2$s to %3$s." msgstr "" -#: wc-alcohol.php:229 +#: wc-alcohol.php:233 msgid "Show warning on" msgstr "" -#: wc-alcohol.php:230 +#: wc-alcohol.php:234 msgid "Product pages" msgstr "" -#: wc-alcohol.php:238 +#: wc-alcohol.php:242 msgid "Category pages" msgstr "" diff --git a/readme.txt b/readme.txt index efb29d7..e888d9d 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,7 @@ Contributors: alexminza Donate link: https://www.paypal.me/AlexMinza Tags: woocommerce, alcohol, sale, restriction Requires at least: 4.8 -Tested up to: 5.3 -WC requires at least: 3.2 -WC tested up to: 3.8.1 +Tested up to: 5.3.2 Stable tag: trunk Requires PHP: 7.0 License: GPLv3 or later @@ -44,6 +42,9 @@ You can also contribute to the plugin by translating it. Simply visit [translate == Changelog == += 1.0.7 = +Updated WC tested up to 4.0.1 + = 1.0.6 = Minor changes @@ -64,5 +65,5 @@ Initial release == Upgrade Notice == -= 1.0.6 = -Minor changes += 1.0.7 = +Updated WC tested up to 4.0.1 diff --git a/wc-alcohol.php b/wc-alcohol.php index 6ff1748..e17c95b 100644 --- a/wc-alcohol.php +++ b/wc-alcohol.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Alcohol Sale Restrictions * Description: WooCommerce alcohol sale limitations during restriction hours * Plugin URI: https://wordpress.org/plugins/wc-alcohol/ - * Version: 1.0.6 + * Version: 1.0.7 * Author: Alexander Minza * Author URI: https://profiles.wordpress.org/alexminza * Developer: Alexander Minza @@ -12,6 +12,10 @@ * Domain Path: /languages * 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.2 + * WC requires at least: 3.2 + * 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-alcohol