Plugin Directory

Changeset 1967651


Ignore:
Timestamp:
11/02/2018 10:00:13 AM (7 years ago)
Author:
dcurasi
Message:
  • New - Added compatibility with Polylang Pro, thanks to Steven Ray
  • New - Added French translation, thanks to Steven Ray
  • Fix - Fixex Polish translation, thanks to Steven Ray
Location:
minimum-order-amount-for-woocommerce/trunk
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • minimum-order-amount-for-woocommerce/trunk/README.txt

    r1833221 r1967651  
    44Contributors: dcurasi
    55Tags: 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.1
    7 Tested up to: 4.9.4
    8 Stable tag: 1.4.0
     6Requires at least: 3.2.0
     7Tested up to: 4.9.8
     8Stable tag: 1.5.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.txt
     
    2323* Italiano
    2424* Polish
     25* French
    2526
    2627
     
    5152
    5253== 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
    5359
    5460= 1.4.0 - 04/03/18 =
  • minimum-order-amount-for-woocommerce/trunk/dc-moafw.php

    r1833221 r1967651  
    1010 *
    1111 * @link              https://github.com/dcurasi
    12  * @since             1.4.0
     12 * @since             1.5.0
    1313 * @package           Dc_Moafw
    1414 *
     
    1717 * Plugin URI:        https://github.com/dcurasi/dc-moafw
    1818 * Description:       Minimum Order Amount for Woocommerce allows you to set easily and fast a minimum amount for the woocommerce orders.
    19  * Version:           1.4.0
     19 * Version:           1.5.0
    2020 * Author:            Dario Curasì
    2121 * Author URI:        https://github.com/dcurasi
     
    2424 * Text Domain:       dc-moafw
    2525 * Domain Path:       /languages
     26 * WC requires at least: 2.1.0
     27 * WC tested up to: 3.5.1
    2628 */
    2729
  • minimum-order-amount-for-woocommerce/trunk/includes/class-dc-moafw.php

    r1796027 r1967651  
    7070
    7171        $this->plugin_name = 'dc-moafw';
    72         $this->version = '1.3.1';
     72        $this->version = '1.5.0';
    7373
    7474        $this->load_dependencies();
     
    159159            $this->loader->add_action( 'admin_notices', $plugin_admin, 'error_notice' );
    160160        }
    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' ) ) ) ) {
    162162            $this->loader->add_action( 'plugins_loaded', $plugin_admin, 'dc_moafw_register_string_polylang' );
    163163        }
  • minimum-order-amount-for-woocommerce/trunk/languages/dc-moafw-pl_PL.po

    r1795770 r1967651  
    33"Project-Id-Version: Minimum Order Amount for Woocommerce\n"
    44"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"
    66"Last-Translator: \n"
    77"Language-Team: Dario Curasì <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 2.0.5\n"
     12"X-Generator: Poedit 2.2\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
     
    2323"to install WooCommerce because the plugin is working properly."
    2424msgstr ""
    25 "Minimum 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."
    2727
    2828#: admin/partials/dc-moafw-admin-display.php:17
    2929msgid "Minimum Order Amount for Woocommerce"
    30 msgstr "Minimum Order Amount for Woocommerce"
     30msgstr "Minimalna Kwota Zamówienia dla Woocommerce"
    3131
    3232#: admin/partials/dc-moafw-admin-display.php:22
     
    3636#: admin/partials/dc-moafw-admin-display.php:27
    3737msgid "Enable / Disable"
    38 msgstr "Włącz / Wyłącz"
     38msgstr "Włączanie / Wyłączanie"
    3939
    4040#: admin/partials/dc-moafw-admin-display.php:31
    4141msgid "Activate Options"
    42 msgstr "Włącz Opcje"
     42msgstr "Aktywacja Opcji"
    4343
    4444#: admin/partials/dc-moafw-admin-display.php:37
     
    4848#: admin/partials/dc-moafw-admin-display.php:42
    4949msgid "The minimum amount with which you can place your order."
    50 msgstr "Minimalna kwota do złożenia zamówienia."
     50msgstr "Minimalna kwota, z którą możesz złożyć zamówienie."
    5151
    5252#: admin/partials/dc-moafw-admin-display.php:48
    5353msgid "Message"
    54 msgstr "Wiadomość"
     54msgstr "Komunikat"
    5555
    5656#: admin/partials/dc-moafw-admin-display.php:54
     
    6060"message."
    6161msgstr ""
    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 "wiadomoś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ść."
    6565
    6666#: admin/partials/dc-moafw-admin-display.php:60
    6767msgid "Current Total Text"
    68 msgstr "Tekst Obecnej Sumy"
     68msgstr "Aktualnie Całkowity Tekst"
    6969
    7070#: admin/partials/dc-moafw-admin-display.php:65
     
    7373"you want to show the current cart total."
    7474msgstr ""
    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."
    7777
    7878#: admin/partials/dc-moafw-admin-display.php:71
    7979msgid "Currency Display Type"
    80 msgstr "Typ wyświetlania waluty"
     80msgstr "Waluta Typ Wyświetlacza"
    8181
    8282#: admin/partials/dc-moafw-admin-display.php:75
     
    9393"is \"symbol\", \"EUR\" if is \"text\")."
    9494msgstr ""
    95 "Sposób, w jaki waluta pojawia się w wiadomości powiadomienia (tj. \"&euro;\" "
    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\")."
    9797
    9898#: admin/partials/dc-moafw-admin-display.php:83
     
    109109"(Note: the message will not be displayed if the cart is empty)"
    110110msgstr ""
    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)"
    113113
    114114#: includes/class-dc-moafw-activator.php:35
    115115msgid "A Minimum of [minimum] is required before checking out."
    116 msgstr "Minimum [minimum] jest potrzebne aby złożyć zamówienie."
     116msgstr "Minimum [minimum] jest wymagana przed wymeldowaniem."
    117117
    118118#: includes/class-dc-moafw-activator.php:36
    119119msgid "Current cart's total: [current]"
    120 msgstr "Obecna suma koszyka: [current]"
     120msgstr "Bieżący Coszyk jest Tałkowita: [current]"
  • minimum-order-amount-for-woocommerce/trunk/public/class-dc-moafw-public.php

    r1833221 r1967651  
    223223     * Get a message
    224224     *
    225      * @since    1.3.0
     225     * @since    1.5.0
    226226     */
    227227    public function dc_moafw_get_message() {
    228228        $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__') ) {
    230230            return str_replace('[minimum]', $price_format, pll__(get_option('dc_moafw_message')));
    231231
     
    238238     * Get a current cart text
    239239     *
    240      * @since    1.3.0
     240     * @since    1.5.0
    241241     */
    242242    public function dc_moafw_get_current_cart_text() {
    243243        $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__') ) {
    245245            return str_replace('[current]', $price_format, pll__(get_option('dc_moafw_current_total_text')));
    246246        }
Note: See TracChangeset for help on using the changeset viewer.