WordPress.org

Plugin Directory

Changeset 1657559


Ignore:
Timestamp:
05/15/17 09:11:12 (2 months ago)
Author:
RistoNiinemets
Message:

add version 1.3.1 with collectnet

Location:
estonian-shipping-methods-for-woocommerce
Files:
77 added
19 edited

Legend:

Unmodified
Added
Removed
  • estonian-shipping-methods-for-woocommerce/trunk/estonian-shipping-methods-for-woocommerce.php

    r1573069 r1657559  
    44    Plugin URI: https://github.com/KonektOU/estonian-shipping-methods-for-woocommerce 
    55    Description: Extends WooCommerce with most commonly used Estonian shipping methods. 
    6     Version: 1.2.1 
     6    Version: 1.3.1 
    77    Author: Konekt OÜ 
    88    Author URI: http://www.konekt.ee 
     
    5656        'WC_Estonian_Shipping_Method_DPD_Shops_EE' => false, 
    5757        'WC_Estonian_Shipping_Method_DPD_Shops_LV' => false, 
    58         'WC_Estonian_Shipping_Method_DPD_Shops_LT' => false 
     58        'WC_Estonian_Shipping_Method_DPD_Shops_LT' => false, 
     59 
     60        // Collect.net 
     61        'WC_Estonian_Shipping_Method_Collect_Net' => false 
    5962    ); 
    6063 
     
    99102     */ 
    100103    public function includes() { 
     104        // Compatibility helpers 
     105        require_once WC_ESTONIAN_SHIPPING_METHODS_INCLUDES_PATH . '/compatibility-helpers.php'; 
     106 
    101107        // Abstract classes 
    102108        require_once WC_ESTONIAN_SHIPPING_METHODS_INCLUDES_PATH . '/abstracts/class-wc-estonian-shipping-method.php'; 
     
    118124        require_once WC_ESTONIAN_SHIPPING_METHODS_INCLUDES_PATH . '/methods/class-wc-estonian-shipping-method-dpd-shops-lv.php'; 
    119125        require_once WC_ESTONIAN_SHIPPING_METHODS_INCLUDES_PATH . '/methods/class-wc-estonian-shipping-method-dpd-shops-lt.php'; 
     126 
     127        require_once WC_ESTONIAN_SHIPPING_METHODS_INCLUDES_PATH . '/methods/class-wc-estonian-shipping-method-collect-net.php'; 
    120128    } 
    121129 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/abstracts/class-wc-estonian-shipping-method-dpd-shops.php

    r1544544 r1657559  
    1212abstract class WC_Estonian_Shipping_Method_DPD_Shops extends WC_Estonian_Shipping_Method_Terminals { 
    1313 
     14    /** 
     15     * URL where to fetch the locations from 
     16     * 
     17     * @var string 
     18     */ 
    1419    public $terminals_url = 'ftp://ftp.dpd.ee/parcelshop/psexport_latest.csv'; 
    1520 
     
    6368    } 
    6469 
     70    /** 
     71     * Check if shipping is available 
     72     * 
     73     * @param  array $package 
     74     * @return bool 
     75     */ 
    6576    function is_available( $package = array() ) { 
    6677        return parent::is_available( $package ) && ( ! isset( $this->country ) || ( isset( $this->country ) && isset( $package['destination'] ) && isset( $package['destination']['country'] ) && $package['destination']['country'] == $this->country ) ); 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/abstracts/class-wc-estonian-shipping-method-omniva.php

    r1544544 r1657559  
    1212abstract class WC_Estonian_Shipping_Method_Omniva extends WC_Estonian_Shipping_Method_Terminals { 
    1313 
     14    /** 
     15     * URL where to fetch the locations from 
     16     * 
     17     * @var string 
     18     */ 
    1419    public $terminals_url = 'https://www.omniva.ee/locations.json'; 
     20 
     21    /** 
     22     * Which variable in the locations will contain address value 
     23     * 
     24     * @var string 
     25     */ 
     26    public $variable_address = 'A5_NAME'; 
     27 
     28    /** 
     29     * Which variable in the locations will contain address value 
     30     * 
     31     * @var string 
     32     */ 
     33    public $variable_city = 'A2_NAME'; 
    1534 
    1635    /** 
     
    2443    } 
    2544 
     45    /** 
     46     * Fetches locations and stores them to cache. 
     47     * 
     48     * @return array Terminals 
     49     */ 
    2650    public function get_terminals( $filter_country = false, $filter_type = 0 ) { 
    2751        // Fetch terminals from cache 
     
    4468                    'zipcode'    => $location->ZIP, 
    4569                    'name'       => $location->NAME, 
    46                     'address'    => $location->A5_NAME, 
    47                     'city'       => $location->A2_NAME, 
     70                    'address'    => $location->{ $this->variable_address }, 
     71                    'city'       => $location->{ $this->variable_city }, 
    4872                ); 
    4973            } 
     
    5579        return $locations; 
    5680    } 
     81 
     82    /** 
     83     * Check if shipping is available 
     84     * 
     85     * @param  array $package 
     86     * @return bool 
     87     */ 
     88    function is_available( $package = array() ) { 
     89        return parent::is_available( $package ) && ( ! isset( $this->country ) || ( isset( $this->country ) && isset( $package['destination'] ) && isset( $package['destination']['country'] ) && $package['destination']['country'] == $this->country ) ); 
     90    } 
    5791} 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/abstracts/class-wc-estonian-shipping-method-smartpost.php

    r1544544 r1657559  
    6464    } 
    6565 
     66    /** 
     67     * Check if shipping is available 
     68     * 
     69     * @param  array $package 
     70     * @return bool 
     71     */ 
    6672    function is_available( $package = array() ) { 
    6773        return parent::is_available( $package ) && ( ! isset( $this->country ) || ( isset( $this->country ) && isset( $package['destination'] ) && isset( $package['destination']['country'] ) && $package['destination']['country'] == $this->country ) ); 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/abstracts/class-wc-estonian-shipping-method-terminals.php

    r1553323 r1657559  
    169169    function show_selected_terminal( $order ) { 
    170170        // Create order instance if needed 
    171         if( is_int( $order ) ) { 
     171        if( is_numeric( $order ) ) { 
    172172            $order         = wc_get_order( $order ); 
    173173        } 
    174174 
    175175        // Store order ID 
    176         $this->order_id    = $order->id; 
     176        $this->order_id    = wc_esm_get_order_id( $order ); 
    177177 
    178178        // Check if the order has our shipping method 
    179179        if( $order->has_shipping_method( $this->id ) ) { 
    180180            // Fetch selected terminal ID 
    181             $terminal_id   = $this->get_order_terminal( $order->id ); 
     181            $terminal_id   = $this->get_order_terminal( $this->order_id ); 
    182182            $terminal_name = $this->get_terminal_name( $terminal_id ); 
    183183 
     
    263263     * @return array            Sorted terminals 
    264264     */ 
    265     function get_sorted_terminals( $terminals = false ) { 
     265    function get_sorted_terminals( $terminals = FALSE ) { 
    266266        $sort_by          = $this->get_sorting_option(); 
    267267        $terminals        = $terminals ? $terminals : $this->get_terminals(); 
     
    296296     * @return array            Grouped terminals 
    297297     */ 
    298     function get_grouped_terminals( $terminals = false ) { 
     298    function get_grouped_terminals( $terminals = FALSE ) { 
    299299        $group_by          = $this->get_grouping_option(); 
    300300        $terminals         = $terminals ? $terminals : $this->get_terminals(); 
     
    432432        } 
    433433        else { 
    434             return null; 
     434            return NULL; 
    435435        } 
    436436    } 
     
    636636     */ 
    637637    function get_order_terminal( $order_id ) { 
    638         return (int) get_post_meta( $order_id, $this->field_name, true ); 
     638        return (int) get_post_meta( $order_id, $this->field_name, TRUE ); 
    639639    } 
    640640 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/abstracts/class-wc-estonian-shipping-method.php

    r1541100 r1657559  
    6060                'description'          => __( 'Without taxes', 'wc-estonian-shipping-methods' ), 
    6161                'default'              => '0', 
    62                 'desc_tip'             => true 
     62                'desc_tip'             => TRUE 
    6363            ), 
    6464            'free_shipping_amount'     => array( 
     
    6868                'description'          => __( 'Shipping will be free of charge, if order total is equal or bigger than this value. Zero will disable free shipping.', 'wc-estonian-shipping-methods' ), 
    6969                'default'              => '0', 
    70                 'desc_tip'             => true 
     70                'desc_tip'             => TRUE 
    7171            ), 
    7272            'tax_status'               => array( 
     
    9999     */ 
    100100    public function calculate_shipping( $package = array() ) { 
    101         $is_free            = false; 
     101        $is_free            = FALSE; 
    102102        $free_shipping_from = intval( $this->free_shipping_amount ); 
    103103 
    104         if( $free_shipping_from > 0 && isset( $package['contents_cost'] ) && intval( $package['contents_cost'] ) >= $free_shipping_from ) 
    105             $is_free        = true; 
     104        if( $free_shipping_from > 0 && isset( $package['contents_cost'] ) && intval( $package['contents_cost'] ) >= $free_shipping_from ) { 
     105            $is_free        = TRUE; 
     106        } 
    106107 
    107108        $args = array( 
     
    111112        ); 
    112113 
    113         if( $this->tax_status == 'none' ) 
    114             $args['taxes'] = false; 
     114        if( $this->tax_status == 'none' ) { 
     115            $args['taxes'] = FALSE; 
     116        } 
    115117 
    116118        $this->add_rate( $args ); 
     
    127129        if( isset( $this->order_id ) && $this->order_id ) { 
    128130            $order   = wc_get_order( $this->order_id ); 
    129             $country = $order->shipping_country; 
     131            $country = wc_esm_get_order_shipping_country( $order ); 
    130132        } 
    131133        elseif( WC()->customer ) { 
     
    149151        if ( defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG === TRUE ) { 
    150152            $logger = new WC_Logger(); 
    151             $logger->add( $this->id, is_array( $data ) || is_object( $data ) ? print_r( $data, TRUE ) : $data ); 
     153            $logger->add( $this->id, is_array( $data ) || is_object( $data ) ? print_r( $data, TRUE ) : var_export( $data, true ) ); 
    152154        } 
    153155    } 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-dpd-shops-ee.php

    r1544544 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id                 = 'dpd_shops_ee'; 
    1920        $this->method_title       = __( 'DPD Shops Estonia', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country            = 'EE'; 
    2226        $this->terminals_template = 'dpd'; 
    23  
    24         // Add/merge form fields 
    25         parent::__construct(); 
    2627    } 
    2728} 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-dpd-shops-lt.php

    r1544544 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id                 = 'dpd_shops_lt'; 
    1920        $this->method_title       = __( 'DPD Shops Lithuania', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country            = 'LT'; 
    2226        $this->terminals_template = 'dpd'; 
    23  
    24         // Add/merge form fields 
    25         parent::__construct(); 
    2627    } 
    2728} 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-dpd-shops-lv.php

    r1544544 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id                 = 'dpd_shops_lv'; 
    1920        $this->method_title       = __( 'DPD Shops Latvia', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country            = 'LV'; 
    2226        $this->terminals_template = 'dpd'; 
    23  
    24         // Add/merge form fields 
    25         parent::__construct(); 
    2627    } 
    2728} 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-ee.php

    r1541100 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id           = 'omniva_parcel_machines_ee'; 
    1920        $this->method_title = __( 'Omniva Estonia', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country      = 'EE'; 
    22  
    23         // Add/merge form fields 
    24         parent::__construct(); 
    2526    } 
    2627 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lt.php

    r1553323 r1657559  
    1616     */ 
    1717    function __construct() { 
    18         $this->id           = 'omniva_parcel_machines_lt'; 
    19         $this->method_title = __( 'Omniva Lithuania', 'wc-estonian-shipping-methods' ); 
     18        // Identify method 
     19        $this->id               = 'omniva_parcel_machines_lt'; 
     20        $this->method_title     = __( 'Omniva Lithuania', 'wc-estonian-shipping-methods' ); 
    2021 
    21         $this->country      = 'LT'; 
     22        // Construct parent 
     23        parent::__construct(); 
    2224 
    23         // Add/merge form fields 
    24         parent::__construct(); 
    25     } 
     25        $this->country          = 'LT'; 
    2626 
    27     public function get_terminals( $filter_country = false, $filter_type = 0 ) { 
    28         // Fetch terminals from cache 
    29         $terminals_cache = $this->get_terminals_cache(); 
    30  
    31         if( $terminals_cache !== null ) { 
    32             return $terminals_cache; 
    33         } 
    34  
    35         $terminals_json  = file_get_contents( $this->terminals_url ); 
    36         $terminals_json  = json_decode( $terminals_json ); 
    37  
    38         $filter_country  = $filter_country ? $filter_country : $this->get_shipping_country(); 
    39         $locations       = array(); 
    40  
    41         foreach( $terminals_json as $key => $location ) { 
    42             if( $location->A0_NAME == $filter_country && $location->TYPE == $filter_type ) { 
    43                 $locations[] = (object) array( 
    44                     'place_id'   => $location->ZIP, 
    45                     'zipcode'    => $location->ZIP, 
    46                     'name'       => $location->NAME, 
    47                     'address'    => $location->A2_NAME, 
    48                     'city'       => $location->A1_NAME, 
    49                 ); 
    50             } 
    51         } 
    52  
    53         // Save cache 
    54         $this->save_terminals_cache( $locations ); 
    55  
    56         return $locations; 
    57     } 
    58  
    59     function is_available( $package = array() ) { 
    60         return parent::is_available( $package ) && ( ! isset( $this->country ) || ( isset( $this->country ) && isset( $package['destination'] ) && isset( $package['destination']['country'] ) && $package['destination']['country'] == $this->country ) ); 
     27        // Set variables which will contain address and which city in locations 
     28        $this->variable_address = 'A2_NAME'; 
     29        $this->variable_city    = 'A1_NAME'; 
    6130    } 
    6231} 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lv.php

    r1553323 r1657559  
    1616     */ 
    1717    function __construct() { 
    18         $this->id           = 'omniva_parcel_machines_lv'; 
    19         $this->method_title = __( 'Omniva Latvia', 'wc-estonian-shipping-methods' ); 
     18        // Identify method 
     19        $this->id               = 'omniva_parcel_machines_lv'; 
     20        $this->method_title     = __( 'Omniva Latvia', 'wc-estonian-shipping-methods' ); 
    2021 
    21         $this->country      = 'LV'; 
     22        // Construct parent 
     23        parent::__construct(); 
    2224 
    23         // Add/merge form fields 
    24         parent::__construct(); 
    25     } 
     25        $this->country          = 'LV'; 
    2626 
    27     public function get_terminals( $filter_country = false, $filter_type = 0 ) { 
    28         // Fetch terminals from cache 
    29         $terminals_cache = $this->get_terminals_cache(); 
    30  
    31         if( $terminals_cache !== null ) { 
    32             return $terminals_cache; 
    33         } 
    34  
    35         $terminals_json  = file_get_contents( $this->terminals_url ); 
    36         $terminals_json  = json_decode( $terminals_json ); 
    37  
    38         $filter_country  = $filter_country ? $filter_country : $this->get_shipping_country(); 
    39         $locations       = array(); 
    40  
    41         foreach( $terminals_json as $key => $location ) { 
    42             if( $location->A0_NAME == $filter_country && $location->TYPE == $filter_type ) { 
    43                 $locations[] = (object) array( 
    44                     'place_id'   => $location->ZIP, 
    45                     'zipcode'    => $location->ZIP, 
    46                     'name'       => $location->NAME, 
    47                     'address'    => $location->A2_NAME, 
    48                     'city'       => $location->A1_NAME, 
    49                 ); 
    50             } 
    51         } 
    52  
    53         // Save cache 
    54         $this->save_terminals_cache( $locations ); 
    55  
    56         return $locations; 
    57     } 
    58  
    59     function is_available( $package = array() ) { 
    60         return parent::is_available( $package ) && ( ! isset( $this->country ) || ( isset( $this->country ) && isset( $package['destination'] ) && isset( $package['destination']['country'] ) && $package['destination']['country'] == $this->country ) ); 
     27        // Set variables which will contain address and which city in locations 
     28        $this->variable_address = 'A2_NAME'; 
     29        $this->variable_city    = 'A1_NAME'; 
    6130    } 
    6231} 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php

    r1541100 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id           = 'smartpost_courier'; 
    1920        $this->method_title = __( 'SmartCOURIER', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country      = 'EE'; 
    2226 
    23         // i18n 
     27        // Translations 
    2428        $this->i18n_selected_terminal = __( 'Chosen SmartCOURIER time widnow', 'wc-estonian-shipping-methods' ); 
    25  
    26         parent::__construct(); 
    2729 
    2830        // Add/merge form fields 
     
    6163        if( $order->has_shipping_method( $this->id ) ) { 
    6264            // Fetch selected terminal ID 
    63             $window_value  = $this->get_order_terminal( $order->id ); 
     65            $window_value  = $this->get_order_terminal( wc_esm_get_order_id( $order ) ); 
    6466            $time_windows  = $this->get_courier_time_windows(); 
    6567 
     
    8183            elseif( current_filter() == 'woocommerce_email_customer_details' ) { 
    8284                $terminal  = '<h2>' . $this->i18n_selected_terminal . '</h2>'; 
    83                 $terminal .= '<p>'. $terminal_name .'</p>'; 
     85                $terminal .= '<p>'. $window_name .'</p>'; 
    8486            } 
    8587            // Output selected terminal to everywhere else 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php

    r1541100 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id           = 'smartpost_estonia'; 
    1920        $this->method_title = __( 'Smartpost Estonia', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country      = 'EE'; 
    2226 
    23         parent::__construct(); 
    24  
    2527        // Add/merge form fields 
    26         $this->add_form_fields(); 
     28        $this->add_extra_form_fields(); 
    2729    } 
    2830 
    29     function add_form_fields() { 
    30         $this->form_fields = array_merge( $this->form_fields, array( 
     31    function add_extra_form_fields() { 
     32        $this->form_fields = array_merge( 
     33            $this->form_fields, 
     34            array( 
    3135                'terminals_filter' => array( 
    3236                    'title'                => __( 'Terminals filter', 'wc-estonian-shipping-methods' ), 
     
    3640                        'express'          => __( 'Only terminals with Express delivery', 'wc-estonian-shipping-methods' ), 
    3741                        'all'              => __( 'All terminals', 'wc-estonian-shipping-methods' ) 
    38                     ) 
    39                 ), 
    40                 'terminals_format' => array( 
    41                     'title'                => __( 'Terminals format', 'wc-estonian-shipping-methods' ), 
    42                     'type'                 => 'select', 
    43                     'default'              => 'name', 
    44                     'options'              => array( 
    45                         'name'             => __( 'Only terminal name', 'wc-estonian-shipping-methods' ), 
    46                         'with_address'     => __( 'Name with address', 'wc-estonian-shipping-methods' ) 
    47                     ) 
    48                 ), 
    49                 'sort_terminals' => array( 
    50                     'title'                => __( 'Sort terminals by', 'wc-estonian-shipping-methods' ), 
    51                     'type'                 => 'select', 
    52                     'default'              => 'alphabetically', 
    53                     'options'              => array( 
    54                         'none'             => __( 'No sorting', 'wc-estonian-shipping-methods' ), 
    55                         'alphabetically'   => __( 'Alphabetically', 'wc-estonian-shipping-methods' ), 
    56                         'cities_first'     => __( 'Bigger cities first, then alphabetically the rest', 'wc-estonian-shipping-methods' ) 
    57                     ) 
    58                 ), 
    59                 'group_terminals' => array( 
    60                     'title'                => __( 'Group terminals', 'wc-estonian-shipping-methods' ), 
    61                     'type'                 => 'select', 
    62                     'default'              => 'cities', 
    63                     'options'              => array( 
    64                         'cities'           => __( 'By cities', 'wc-estonian-shipping-methods' ) 
    6542                    ) 
    6643                ) 
  • estonian-shipping-methods-for-woocommerce/trunk/includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php

    r1541100 r1657559  
    1616     */ 
    1717    function __construct() { 
     18        // Identify method 
    1819        $this->id           = 'smartpost_finland'; 
    1920        $this->method_title = __( 'Smartpost Finland', 'wc-estonian-shipping-methods' ); 
    2021 
     22        // Construct parent 
     23        parent::__construct(); 
     24 
    2125        $this->country      = 'FI'; 
    2226 
    23         parent::__construct(); 
    24  
    2527        // Add/merge form fields 
    26         $this->add_form_fields(); 
     28        $this->add_extra_form_fields(); 
    2729    } 
    2830 
    29     function add_form_fields() { 
    30         $this->form_fields = array_merge( $this->form_fields, array( 
     31    function add_extra_form_fields() { 
     32        $this->form_fields = array_merge( 
     33            $this->form_fields, 
     34            array( 
    3135                'terminals_filter' => array( 
    3236                    'title'                => __( 'Terminals filter', 'wc-estonian-shipping-methods' ), 
     
    3741                        'postoffices'        => __( 'Only post offices', 'wc-estonian-shipping-methods' ), 
    3842                        'both'               => __( 'Both', 'wc-estonian-shipping-methods' ) 
    39                     ) 
    40                 ), 
    41                 'terminals_format' => array( 
    42                     'title'                => __( 'Terminals format', 'wc-estonian-shipping-methods' ), 
    43                     'type'                 => 'select', 
    44                     'default'              => 'name', 
    45                     'options'              => array( 
    46                         'name'             => __( 'Only terminal name', 'wc-estonian-shipping-methods' ), 
    47                         'with_address'     => __( 'Name with address', 'wc-estonian-shipping-methods' ) 
    48                     ) 
    49                 ), 
    50                 'sort_terminals' => array( 
    51                     'title'                => __( 'Sort terminals by', 'wc-estonian-shipping-methods' ), 
    52                     'type'                 => 'select', 
    53                     'default'              => 'alphabetically', 
    54                     'options'              => array( 
    55                         'none'             => __( 'No sorting', 'wc-estonian-shipping-methods' ), 
    56                         'alphabetically'   => __( 'Alphabetically', 'wc-estonian-shipping-methods' ), 
    57                         'cities_first'     => __( 'Bigger cities first, then alphabetically the rest', 'wc-estonian-shipping-methods' ) 
    58                     ) 
    59                 ), 
    60                 'group_terminals' => array( 
    61                     'title'                => __( 'Group terminals', 'wc-estonian-shipping-methods' ), 
    62                     'type'                 => 'select', 
    63                     'default'              => 'cities', 
    64                     'options'              => array( 
    65                         'cities'           => __( 'By cities', 'wc-estonian-shipping-methods' ) 
    6643                    ) 
    6744                ) 
  • estonian-shipping-methods-for-woocommerce/trunk/languages/wc-estonian-shipping-methods-et.po

    r1553323 r1657559  
    22msgstr "" 
    33"Project-Id-Version: Estonian Shipping Methods for WooCommerce\n" 
    4 "POT-Creation-Date: 2016-12-13 07:08+0200\n" 
    5 "PO-Revision-Date: 2016-12-13 07:08+0200\n" 
     4"POT-Creation-Date: 2017-05-15 11:15+0300\n" 
     5"PO-Revision-Date: 2017-05-15 11:15+0300\n" 
    66"Last-Translator: Risto Niinemets <risto@konekt.ee>\n" 
    77"Language-Team: Konekt OÜ <info@konekt.ee>\n" 
     
    1010"Content-Type: text/plain; charset=UTF-8\n" 
    1111"Content-Transfer-Encoding: 8bit\n" 
    12 "X-Generator: Poedit 1.8.11\n" 
     12"X-Generator: Poedit 2.0.2\n" 
    1313"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" 
    1414"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" 
     
    2424 
    2525#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:72 
    26 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:41 
    27 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:42 
    2826msgid "Terminals format" 
    2927msgstr "Vorming" 
    3028 
    3129#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:76 
    32 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:45 
    33 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:46 
    3430msgid "Only terminal name" 
    3531msgstr "Ainult automaadi nimetus" 
    3632 
    3733#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:77 
    38 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:46 
    39 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:47 
    4034msgid "Name with address" 
    4135msgstr "Automaadi nimetus koos aadressiga" 
    4236 
    4337#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:81 
    44 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:50 
    45 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:51 
    4638msgid "Sort terminals by" 
    4739msgstr "Automaatide järjestus" 
    4840 
    4941#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:85 
    50 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:54 
    51 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:55 
    5242msgid "No sorting" 
    5343msgstr "Ei järjestata" 
    5444 
    5545#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:86 
    56 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:55 
    57 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:56 
    5846msgid "Alphabetically" 
    5947msgstr "Tähestikuliselt" 
    6048 
    6149#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:87 
    62 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:56 
    63 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:57 
    6450msgid "Bigger cities first, then alphabetically the rest" 
    6551msgstr "Suuremad linnad ees" 
    6652 
    6753#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:91 
    68 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:60 
    69 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:61 
    7054msgid "Group terminals" 
    7155msgstr "Grupeeri automaadid" 
    7256 
    7357#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:95 
    74 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:64 
    75 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:65 
    7658msgid "By cities" 
    7759msgstr "Linna järgi" 
    7860 
    7961#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:229 
     62#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:122 
    8063msgid "Please select a parcel terminal" 
    8164msgstr "Palun vali pakiautomaat" 
     
    129112msgstr "Ilma maksudeta" 
    130113 
    131 #: includes/methods/class-wc-estonian-shipping-method-dpd-shops-ee.php:19 
     114#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:42 
     115msgid "Collect.net" 
     116msgstr "Collect.net pakirobotid" 
     117 
     118#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:52 
     119msgid "Chosen packrobot" 
     120msgstr "Valitud pakirobot" 
     121 
     122#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:72 
     123msgid "Order status" 
     124msgstr "Tellimuse staatus" 
     125 
     126#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:75 
     127msgid "" 
     128"Which order status will submit the data from WooCommerce to Collect.net " 
     129"application" 
     130msgstr "" 
     131"Millise tellimuse staatuse saavutamisel saadetakse informatsioon Collect.net " 
     132"iseteenindusse" 
     133 
     134#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:77 
     135msgid "Processing" 
     136msgstr "Töötluses" 
     137 
     138#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:78 
     139msgid "Completed" 
     140msgstr "Täidetud" 
     141 
     142#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:82 
     143msgid "Collect.net username" 
     144msgstr "Collect.net kasutajanimi" 
     145 
     146#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:86 
     147msgid "Collect.net password" 
     148msgstr "Collect.net salasõna" 
     149 
     150#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:98 
     151msgid "User Role" 
     152msgstr "Kasutaja roll" 
     153 
     154#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:101 
     155msgid "Which user role will be used to create tickets for Collect.net" 
     156msgstr "" 
     157"Millise kasutaja rolli alla luuakse Collect.net keskkonda tellimuste piletid" 
     158 
     159#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:150 
     160msgid "Please add country prefix to the phone number (eg. +372)." 
     161msgstr "Palun lisage telefoni numbrile riigi eesliide (näiteks +372)." 
     162 
     163#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:254 
     164#, php-format 
     165msgid "%s: Ticket created with ID %d." 
     166msgstr "%s: Pilet IDga %d on loodud." 
     167 
     168#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:262 
     169#, php-format 
     170msgid "%s: Ticket creation failed: %s" 
     171msgstr "%s: Pileti loomine ebaõnnestus: %s" 
     172 
     173#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:277 
     174#, php-format 
     175msgid "" 
     176"%s: Could not create a session with entered credentials. %s to review your " 
     177"settings." 
     178msgstr "" 
     179"%s: Sessiooni loomine iseteenindusega ebaõnnestus. %s, et muuta seadistusi." 
     180 
     181#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:277 
     182msgid "Click here" 
     183msgstr "Vajuta siia" 
     184 
     185#: includes/methods/class-wc-estonian-shipping-method-dpd-shops-ee.php:20 
    132186msgid "DPD Shops Estonia" 
    133187msgstr "DPD Eesti pakipoed" 
    134188 
    135 #: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lt.php:19 
     189#: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lt.php:20 
    136190msgid "DPD Shops Lithuania" 
    137191msgstr "DPD Leedu pakipoed" 
    138192 
    139 #: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lv.php:19 
     193#: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lv.php:20 
    140194msgid "DPD Shops Latvia" 
    141195msgstr "DPD Läti pakipoed" 
    142196 
    143 #: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-ee.php:19 
     197#: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-ee.php:20 
    144198msgid "Omniva Estonia" 
    145199msgstr "Omniva Eesti" 
    146200 
    147 #: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lt.php:19 
     201#: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lt.php:20 
    148202msgid "Omniva Lithuania" 
    149203msgstr "Omniva Leedu" 
    150204 
    151 #: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lv.php:19 
     205#: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lv.php:20 
    152206msgid "Omniva Latvia" 
    153207msgstr "Omniva Läti" 
    154208 
    155 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:19 
     209#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:20 
    156210msgid "SmartCOURIER" 
    157211msgstr "SmartKULLER" 
    158212 
    159 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:24 
     213#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:28 
    160214msgid "Chosen SmartCOURIER time widnow" 
    161215msgstr "Valitud SmartKULLERi ajavahemik" 
    162216 
    163 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:48 
     217#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:50 
    164218msgid "All times" 
    165219msgstr "Kõikidel aegadel" 
    166220 
    167 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:49 
     221#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:51 
    168222msgid "From 09:00 to 17:00" 
    169223msgstr "Alates 09:00 kuni 17:00" 
    170224 
    171 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:50 
     225#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:52 
    172226msgid "From 17:00 to 21:00" 
    173227msgstr "Alates 17:00 kuni 21:00" 
    174228 
    175 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:144 
     229#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:146 
    176230msgid "Please select a courier timewindow" 
    177231msgstr "Palun valige teile sobilik kulleri ajavahemik" 
    178232 
    179 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:19 
     233#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:20 
    180234msgid "Smartpost Estonia" 
    181235msgstr "Smartpost Eesti" 
    182236 
    183 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:32 
    184 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:32 
     237#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:36 
     238#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:36 
    185239msgid "Terminals filter" 
    186240msgstr "Automaatide valik" 
    187241 
    188 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:36 
     242#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:40 
    189243msgid "Only terminals with Express delivery" 
    190244msgstr "Ainult Express automaadid" 
    191245 
    192 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:37 
     246#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:41 
    193247msgid "All terminals" 
    194248msgstr "Kõik automaadid" 
    195249 
    196 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:19 
     250#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:20 
    197251msgid "Smartpost Finland" 
    198252msgstr "Smartpost Soome" 
    199253 
    200 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:36 
     254#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:40 
    201255msgid "Only terminals" 
    202256msgstr "Ainult pakiautomaadid" 
    203257 
    204 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:37 
     258#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:41 
    205259msgid "Only post offices" 
    206260msgstr "Ainult postkontorid" 
    207261 
    208 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:38 
     262#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:42 
    209263msgid "Both" 
    210264msgstr "Mõlemad" 
     265 
     266#: woocommerce/checkout/form-shipping-collect-net.php:2 
     267msgid "Choose packrobot" 
     268msgstr "Vali pakirobot" 
     269 
     270#: woocommerce/checkout/form-shipping-collect-net.php:5 
     271msgctxt "empty value label for terminals" 
     272msgid "- Choose packrobot -" 
     273msgstr "- Vali pakirobot -" 
    211274 
    212275#: woocommerce/checkout/form-shipping-dpd.php:2 
  • estonian-shipping-methods-for-woocommerce/trunk/languages/wc-estonian-shipping-methods.pot

    r1544544 r1657559  
    33msgstr "" 
    44"Project-Id-Version: Estonian Shipping Methods for WooCommerce\n" 
    5 "POT-Creation-Date: 2016-12-02 11:42+0200\n" 
     5"POT-Creation-Date: 2017-05-15 11:14+0300\n" 
    66"PO-Revision-Date: 2015-09-30 21:23+0200\n" 
    77"Last-Translator: Risto Niinemets <risto@konekt.ee>\n" 
     
    1111"Content-Type: text/plain; charset=UTF-8\n" 
    1212"Content-Transfer-Encoding: 8bit\n" 
    13 "X-Generator: Poedit 1.8.11\n" 
     13"X-Generator: Poedit 2.0.2\n" 
    1414"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;" 
    1515"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;" 
     
    2626 
    2727#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:72 
    28 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:41 
    29 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:42 
    3028msgid "Terminals format" 
    3129msgstr "" 
    3230 
    3331#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:76 
    34 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:45 
    35 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:46 
    3632msgid "Only terminal name" 
    3733msgstr "" 
    3834 
    3935#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:77 
    40 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:46 
    41 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:47 
    4236msgid "Name with address" 
    4337msgstr "" 
    4438 
    4539#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:81 
    46 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:50 
    47 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:51 
    4840msgid "Sort terminals by" 
    4941msgstr "" 
    5042 
    5143#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:85 
    52 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:54 
    53 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:55 
    5444msgid "No sorting" 
    5545msgstr "" 
    5646 
    5747#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:86 
    58 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:55 
    59 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:56 
    6048msgid "Alphabetically" 
    6149msgstr "" 
    6250 
    6351#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:87 
    64 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:56 
    65 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:57 
    6652msgid "Bigger cities first, then alphabetically the rest" 
    6753msgstr "" 
    6854 
    6955#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:91 
    70 #: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:99 
    71 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:60 
    72 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:61 
    7356msgid "Group terminals" 
    7457msgstr "" 
    7558 
    7659#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:95 
    77 #: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:103 
    78 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:64 
    79 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:65 
    8060msgid "By cities" 
    8161msgstr "" 
    8262 
    83 #: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:237 
     63#: includes/abstracts/class-wc-estonian-shipping-method-terminals.php:229 
     64#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:122 
    8465msgid "Please select a parcel terminal" 
    8566msgstr "" 
     
    131112msgstr "" 
    132113 
    133 #: includes/methods/class-wc-estonian-shipping-method-dpd-shops-ee.php:19 
     114#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:42 
     115msgid "Collect.net" 
     116msgstr "" 
     117 
     118#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:52 
     119msgid "Chosen packrobot" 
     120msgstr "" 
     121 
     122#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:72 
     123msgid "Order status" 
     124msgstr "" 
     125 
     126#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:75 
     127msgid "" 
     128"Which order status will submit the data from WooCommerce to Collect.net " 
     129"application" 
     130msgstr "" 
     131 
     132#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:77 
     133msgid "Processing" 
     134msgstr "" 
     135 
     136#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:78 
     137msgid "Completed" 
     138msgstr "" 
     139 
     140#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:82 
     141msgid "Collect.net username" 
     142msgstr "" 
     143 
     144#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:86 
     145msgid "Collect.net password" 
     146msgstr "" 
     147 
     148#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:98 
     149msgid "User Role" 
     150msgstr "" 
     151 
     152#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:101 
     153msgid "Which user role will be used to create tickets for Collect.net" 
     154msgstr "" 
     155 
     156#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:150 
     157msgid "Please add country prefix to the phone number (eg. +372)." 
     158msgstr "" 
     159 
     160#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:254 
     161#, php-format 
     162msgid "%s: Ticket created with ID %d." 
     163msgstr "" 
     164 
     165#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:262 
     166#, php-format 
     167msgid "%s: Ticket creation failed: %s" 
     168msgstr "" 
     169 
     170#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:277 
     171#, php-format 
     172msgid "" 
     173"%s: Could not create a session with entered credentials. %s to review " 
     174"your settings." 
     175msgstr "" 
     176 
     177#: includes/methods/class-wc-estonian-shipping-method-collect-net.php:277 
     178msgid "Click here" 
     179msgstr "" 
     180 
     181#: includes/methods/class-wc-estonian-shipping-method-dpd-shops-ee.php:20 
    134182msgid "DPD Shops Estonia" 
    135183msgstr "" 
    136184 
    137 #: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lt.php:19 
     185#: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lt.php:20 
    138186msgid "DPD Shops Lithuania" 
    139187msgstr "" 
    140188 
    141 #: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lv.php:19 
     189#: includes/methods/class-wc-estonian-shipping-method-dpd-shops-lv.php:20 
    142190msgid "DPD Shops Latvia" 
    143191msgstr "" 
    144192 
    145 #: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-ee.php:19 
     193#: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-ee.php:20 
    146194msgid "Omniva Estonia" 
    147195msgstr "" 
    148196 
    149 #: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lt.php:19 
     197#: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lt.php:20 
    150198msgid "Omniva Lithuania" 
    151199msgstr "" 
    152200 
    153 #: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lv.php:19 
     201#: includes/methods/class-wc-estonian-shipping-method-omniva-parcel-machines-lv.php:20 
    154202msgid "Omniva Latvia" 
    155203msgstr "" 
    156204 
    157 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:19 
     205#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:20 
    158206msgid "SmartCOURIER" 
    159207msgstr "" 
    160208 
    161 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:24 
     209#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:28 
    162210msgid "Chosen SmartCOURIER time widnow" 
    163211msgstr "" 
    164212 
    165 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:48 
     213#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:50 
    166214msgid "All times" 
    167215msgstr "" 
    168216 
    169 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:49 
     217#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:51 
    170218msgid "From 09:00 to 17:00" 
    171219msgstr "" 
    172220 
    173 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:50 
     221#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:52 
    174222msgid "From 17:00 to 21:00" 
    175223msgstr "" 
    176224 
    177 #: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:144 
     225#: includes/methods/class-wc-estonian-shipping-method-smartpost-courier.php:146 
    178226msgid "Please select a courier timewindow" 
    179227msgstr "" 
    180228 
    181 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:19 
     229#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:20 
    182230msgid "Smartpost Estonia" 
    183231msgstr "" 
    184232 
    185 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:32 
    186 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:32 
     233#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:36 
     234#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:36 
    187235msgid "Terminals filter" 
    188236msgstr "" 
    189237 
    190 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:36 
     238#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:40 
    191239msgid "Only terminals with Express delivery" 
    192240msgstr "" 
    193241 
    194 #: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:37 
     242#: includes/methods/class-wc-estonian-shipping-method-smartpost-estonia.php:41 
    195243msgid "All terminals" 
    196244msgstr "" 
    197245 
    198 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:19 
     246#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:20 
    199247msgid "Smartpost Finland" 
    200248msgstr "" 
    201249 
    202 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:36 
     250#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:40 
    203251msgid "Only terminals" 
    204252msgstr "" 
    205253 
    206 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:37 
     254#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:41 
    207255msgid "Only post offices" 
    208256msgstr "" 
    209257 
    210 #: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:38 
     258#: includes/methods/class-wc-estonian-shipping-method-smartpost-finland.php:42 
    211259msgid "Both" 
     260msgstr "" 
     261 
     262#: woocommerce/checkout/form-shipping-collect-net.php:2 
     263msgid "Choose packrobot" 
     264msgstr "" 
     265 
     266#: woocommerce/checkout/form-shipping-collect-net.php:5 
     267msgctxt "empty value label for terminals" 
     268msgid "- Choose packrobot -" 
    212269msgstr "" 
    213270 
  • estonian-shipping-methods-for-woocommerce/trunk/readme.txt

    r1573069 r1657559  
    33Tags: WooCommerce, shipping method, Estonia, smartpost, dpd, pakiautomaat, courier, omniva 
    44Requires at least: 4.1 
    5 Tested up to: 4.7 
    6 Stable tag: 1.2.1 
     5Tested up to: 4.7.4 
     6Stable tag: 1.3.1 
    77License: GPLv2 or later 
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    1818*   SmartPOST parcel terminals (Estonia, Finland) 
    1919*   SmartPOST courier 
     20*   Collect.net packrobots (Estonia) 
    2021 
    2122Supports WPML for multilingual sites. Current translations: 
     
    4546== Changelog == 
    4647 
     48= 1.3.1 = 
     49* Compatibility with WooCommerce 3.0.x 
     50 
     51= 1.3 = 
     52* Added Collect.net packrobots 
     53* Cleaned up code 
     54 
    4755= 1.2.1 = 
    4856* Added Lithuanian (thanks to @DomasWEB) and Russian translations (thanks to @avramchuk) 
Note: See TracChangeset for help on using the changeset viewer.