Changeset 1967651
- Timestamp:
- 11/02/2018 10:00:13 AM (7 years ago)
- Location:
- minimum-order-amount-for-woocommerce/trunk
- Files:
-
- 2 added
- 6 edited
-
README.txt (modified) (3 diffs)
-
dc-moafw.php (modified) (3 diffs)
-
includes/class-dc-moafw.php (modified) (2 diffs)
-
languages/dc-moafw-fr_FR.mo (added)
-
languages/dc-moafw-fr_FR.po (added)
-
languages/dc-moafw-pl_PL.mo (modified) (previous)
-
languages/dc-moafw-pl_PL.po (modified) (9 diffs)
-
public/class-dc-moafw-public.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
minimum-order-amount-for-woocommerce/trunk/README.txt
r1833221 r1967651 4 4 Contributors: dcurasi 5 5 Tags: woocommerce, order, woocommerce order, minimum order, woocommerce minimum order, shop, cart, woocommerce cart, product, products, minimum order amount, amount, minimum amount 6 Requires at least: 3. 0.17 Tested up to: 4.9. 48 Stable tag: 1. 4.06 Requires at least: 3.2.0 7 Tested up to: 4.9.8 8 Stable tag: 1.5.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 23 23 * Italiano 24 24 * Polish 25 * French 25 26 26 27 … … 51 52 52 53 == Changelog == 54 55 = 1.5.0 - 02/11/18 = 56 * New - Added compatibility with Polylang Pro, thanks to Steven Ray 57 * New - Added French translation, thanks to Steven Ray 58 * Fix - Fixex Polish translation, thanks to Steven Ray 53 59 54 60 = 1.4.0 - 04/03/18 = -
minimum-order-amount-for-woocommerce/trunk/dc-moafw.php
r1833221 r1967651 10 10 * 11 11 * @link https://github.com/dcurasi 12 * @since 1. 4.012 * @since 1.5.0 13 13 * @package Dc_Moafw 14 14 * … … 17 17 * Plugin URI: https://github.com/dcurasi/dc-moafw 18 18 * Description: Minimum Order Amount for Woocommerce allows you to set easily and fast a minimum amount for the woocommerce orders. 19 * Version: 1. 4.019 * Version: 1.5.0 20 20 * Author: Dario Curasì 21 21 * Author URI: https://github.com/dcurasi … … 24 24 * Text Domain: dc-moafw 25 25 * Domain Path: /languages 26 * WC requires at least: 2.1.0 27 * WC tested up to: 3.5.1 26 28 */ 27 29 -
minimum-order-amount-for-woocommerce/trunk/includes/class-dc-moafw.php
r1796027 r1967651 70 70 71 71 $this->plugin_name = 'dc-moafw'; 72 $this->version = '1. 3.1';72 $this->version = '1.5.0'; 73 73 74 74 $this->load_dependencies(); … … 159 159 $this->loader->add_action( 'admin_notices', $plugin_admin, 'error_notice' ); 160 160 } 161 if ( in_array( 'polylang/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {161 if ( in_array( 'polylang/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'polylang-pro/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { 162 162 $this->loader->add_action( 'plugins_loaded', $plugin_admin, 'dc_moafw_register_string_polylang' ); 163 163 } -
minimum-order-amount-for-woocommerce/trunk/languages/dc-moafw-pl_PL.po
r1795770 r1967651 3 3 "Project-Id-Version: Minimum Order Amount for Woocommerce\n" 4 4 "POT-Creation-Date: 2018-01-02 13:22+0100\n" 5 "PO-Revision-Date: 2018- 01-02 13:25+0100\n"5 "PO-Revision-Date: 2018-11-02 10:29+0100\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: Dario Curasì <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 2. 0.5\n"12 "X-Generator: Poedit 2.2\n" 13 13 "X-Poedit-Basepath: ..\n" 14 14 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " … … 23 23 "to install WooCommerce because the plugin is working properly." 24 24 msgstr "" 25 "Minim um Order Amount for Woocommerce jest aktywny ale nie działa. Musisz"26 " zainstalować WooCommerce, żeby wtyczka działała prawidłowo."25 "Minimalna Kwota Zamówienia dla Woocommerce jest aktywna, ale nie działa. " 26 "Musisz zainstalować WooCommerce ponieważ plugin dziala prawidlowo." 27 27 28 28 #: admin/partials/dc-moafw-admin-display.php:17 29 29 msgid "Minimum Order Amount for Woocommerce" 30 msgstr "Minim um Order Amount forWoocommerce"30 msgstr "Minimalna Kwota Zamówienia dla Woocommerce" 31 31 32 32 #: admin/partials/dc-moafw-admin-display.php:22 … … 36 36 #: admin/partials/dc-moafw-admin-display.php:27 37 37 msgid "Enable / Disable" 38 msgstr "Włącz / Wyłącz"38 msgstr "Włączanie / Wyłączanie" 39 39 40 40 #: admin/partials/dc-moafw-admin-display.php:31 41 41 msgid "Activate Options" 42 msgstr " Włącz Opcje"42 msgstr "Aktywacja Opcji" 43 43 44 44 #: admin/partials/dc-moafw-admin-display.php:37 … … 48 48 #: admin/partials/dc-moafw-admin-display.php:42 49 49 msgid "The minimum amount with which you can place your order." 50 msgstr "Minimalna kwota do złożenia zamówienia."50 msgstr "Minimalna kwota, z którą możesz złożyć zamówienie." 51 51 52 52 #: admin/partials/dc-moafw-admin-display.php:48 53 53 msgid "Message" 54 msgstr " Wiadomość"54 msgstr "Komunikat" 55 55 56 56 #: admin/partials/dc-moafw-admin-display.php:54 … … 60 60 "message." 61 61 msgstr "" 62 " Powiadomienie, które pojawia się jeśli minimalna kwota nie jest osiągnięta."63 " Wstaw [minimum] w miejsce, w którym chcesz pokazać minimalną wartość w"64 "w iadomości."62 "Ogłoszenie komunikat, który pojawi się, jeżeli minimalna kwota nie jest " 63 "osiągnięta. Wstaw [minimum] w miejsce, gdzie chcesz wykazać minimalną " 64 "wartość w polu Wiadomość." 65 65 66 66 #: admin/partials/dc-moafw-admin-display.php:60 67 67 msgid "Current Total Text" 68 msgstr " Tekst Obecnej Sumy"68 msgstr "Aktualnie Całkowity Tekst" 69 69 70 70 #: admin/partials/dc-moafw-admin-display.php:65 … … 73 73 "you want to show the current cart total." 74 74 msgstr "" 75 "Tekst obecnej sumy koszyka. Wstaw [current] w miejce, w którym chcesz "76 " pokazać obecną sumękoszyka."75 "Tekst całosci aktualnego koszyka. Wstaw [obecny] w miejsce, w którym chcesz " 76 "wyświetlić całość aktualnego koszyka." 77 77 78 78 #: admin/partials/dc-moafw-admin-display.php:71 79 79 msgid "Currency Display Type" 80 msgstr " Typ wyświetlania waluty"80 msgstr "Waluta Typ Wyświetlacza" 81 81 82 82 #: admin/partials/dc-moafw-admin-display.php:75 … … 93 93 "is \"symbol\", \"EUR\" if is \"text\")." 94 94 msgstr "" 95 "Sposób , w jaki waluta pojawia się w wiadomości powiadomienia (tj. \"€\""96 "je śli jest \"symbol\", \"EUR\", jeśli jest \"tekst\")."95 "Sposób waluty powiadamiania pojawi się komunikat (tzn. \"&Euro;\" jeżeli " 96 "jest to \"symbol\", \"EUR\". Jeżeli jest \"tekstem\")." 97 97 98 98 #: admin/partials/dc-moafw-admin-display.php:83 … … 109 109 "(Note: the message will not be displayed if the cart is empty)" 110 110 msgstr "" 111 "Włącz tę opcję aby wyświetlać wiadomość powiadomienia równieżna stronach "112 "sklepu. (Uwaga: wiadomość nie będzie wyświetlana jeśli koszyk jest pusty)"111 "Włącz tę opcję, aby wyświetlić komunikat informacyjny także na stronach " 112 "sklepu. (Uwaga: komunikat nie będzie wyświetlany, jeśli wózek jest pusty)" 113 113 114 114 #: includes/class-dc-moafw-activator.php:35 115 115 msgid "A Minimum of [minimum] is required before checking out." 116 msgstr "Minimum [minimum] jest potrzebne aby złożyć zamówienie."116 msgstr "Minimum [minimum] jest wymagana przed wymeldowaniem." 117 117 118 118 #: includes/class-dc-moafw-activator.php:36 119 119 msgid "Current cart's total: [current]" 120 msgstr " Obecna suma koszyka: [current]"120 msgstr "Bieżący Coszyk jest Tałkowita: [current]" -
minimum-order-amount-for-woocommerce/trunk/public/class-dc-moafw-public.php
r1833221 r1967651 223 223 * Get a message 224 224 * 225 * @since 1. 3.0225 * @since 1.5.0 226 226 */ 227 227 public function dc_moafw_get_message() { 228 228 $price_format = get_woocommerce_price_format(); 229 if ( in_array( 'polylang/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins') ) ) && function_exists('pll__') ) {229 if ( ( in_array( 'polylang/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'polylang-pro/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) && function_exists('pll__') ) { 230 230 return str_replace('[minimum]', $price_format, pll__(get_option('dc_moafw_message'))); 231 231 … … 238 238 * Get a current cart text 239 239 * 240 * @since 1. 3.0240 * @since 1.5.0 241 241 */ 242 242 public function dc_moafw_get_current_cart_text() { 243 243 $price_format = str_replace(array('1', '2'), array('3', '4'), get_woocommerce_price_format()); 244 if ( in_array( 'polylang/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins') ) ) && function_exists('pll__') ) {244 if ( ( in_array( 'polylang/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'polylang-pro/polylang.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) && function_exists('pll__') ) { 245 245 return str_replace('[current]', $price_format, pll__(get_option('dc_moafw_current_total_text'))); 246 246 }
Note: See TracChangeset
for help on using the changeset viewer.