From a3ca3902b4d3104722d5d6d1f568e74765dd31bc Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 23 Oct 2014 18:16:47 +0200 Subject: [PATCH] Update to 0.3.0 --- README.md | 2 +- assets/css/payment-methods.css | 63 ++-- .../class-wc-payment-methods.php | 351 ++++++++++++------ ...hp => class-widget-wc-payment-methods.php} | 46 +-- languages/payment-methods-de_AT.mo | Bin 1454 -> 0 bytes languages/payment-methods-de_AT.po | 104 ------ languages/payment-methods-de_DE.mo | Bin 1454 -> 0 bytes languages/payment-methods-de_DE.po | 104 ------ languages/payment-methods-en_GB.po | 101 ----- languages/payment-methods-en_US.mo | Bin 497 -> 0 bytes languages/payment-methods-en_US.po | 101 ----- languages/payment-methods-it_IT.mo | Bin 1479 -> 0 bytes languages/payment-methods-it_IT.po | 104 ------ languages/payment-methods.mo | Bin 497 -> 0 bytes languages/payment-methods.pot | 101 ----- .../woocommerce-payment-methods-de_AT.mo | Bin 0 -> 1578 bytes .../woocommerce-payment-methods-de_AT.po | 111 ++++++ .../woocommerce-payment-methods-de_DE.mo | Bin 0 -> 1578 bytes .../woocommerce-payment-methods-de_DE.po | 111 ++++++ .../woocommerce-payment-methods-it_IT.mo | Bin 0 -> 1605 bytes .../woocommerce-payment-methods-it_IT.po | 111 ++++++ ...n_GB.mo => woocommerce-payment-methods.mo} | Bin 497 -> 497 bytes languages/woocommerce-payment-methods.pot | 111 ++++++ readme.txt | 13 +- woocommerce-payment-methods.php | 27 ++ 25 files changed, 771 insertions(+), 790 deletions(-) rename payment-methods.php => classes/class-wc-payment-methods.php (57%) rename classes/{class-widget-payment-methods.php => class-widget-wc-payment-methods.php} (76%) delete mode 100644 languages/payment-methods-de_AT.mo delete mode 100644 languages/payment-methods-de_AT.po delete mode 100644 languages/payment-methods-de_DE.mo delete mode 100644 languages/payment-methods-de_DE.po delete mode 100644 languages/payment-methods-en_GB.po delete mode 100644 languages/payment-methods-en_US.mo delete mode 100644 languages/payment-methods-en_US.po delete mode 100644 languages/payment-methods-it_IT.mo delete mode 100644 languages/payment-methods-it_IT.po delete mode 100644 languages/payment-methods.mo delete mode 100644 languages/payment-methods.pot create mode 100644 languages/woocommerce-payment-methods-de_AT.mo create mode 100644 languages/woocommerce-payment-methods-de_AT.po create mode 100644 languages/woocommerce-payment-methods-de_DE.mo create mode 100644 languages/woocommerce-payment-methods-de_DE.po create mode 100644 languages/woocommerce-payment-methods-it_IT.mo create mode 100644 languages/woocommerce-payment-methods-it_IT.po rename languages/{payment-methods-en_GB.mo => woocommerce-payment-methods.mo} (83%) create mode 100644 languages/woocommerce-payment-methods.pot create mode 100644 woocommerce-payment-methods.php diff --git a/README.md b/README.md index a5e85d4..0e8bf78 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -WooCommerce Payment Methods 0.2.1 +WooCommerce Payment Methods 0.3.0 ================================= Easily display your accepted payment methods diff --git a/assets/css/payment-methods.css b/assets/css/payment-methods.css index 71514ac..8651487 100644 --- a/assets/css/payment-methods.css +++ b/assets/css/payment-methods.css @@ -2,10 +2,10 @@ * vendocrat Payment Methods styles * * @package vendocrat - * @subpackage Payment Methods/Assets + * @subpackage Payment Methods * * @since 2014-09-08 - * @version 2014-09-22 + * @version 2014-10-21 * * @author Poellmann Alexander Manfred * @copyright Copyright 2014 vendocrat. All Rights Reserved. @@ -61,6 +61,7 @@ #payment ul.payment_methods .payment_method_paypal label img, #payment ul.payment_methods .payment_method_stripe label img, #payment ul.payment_methods .payment_method_wirecard label img, +#payment ul.payment_methods .payment_method_wirecard_checkout_page label img, #payment ul.payment_methods .payment_method_ClickAndBuy label img, #payment ul.payment_methods .payment_method_sofortgateway label img, #payment ul.payment_methods .payment_method_cash_on_delivery label img, @@ -68,17 +69,22 @@ #payment ul.payment_methods .payment_method_coinbase label img { display:none;} -#payment ul.payment_methods .payment_method_bacs label:before, -#payment ul.payment_methods .payment_method_cheque label:before, -#payment ul.payment_methods .payment_method_mijireh_checkout label:before, -#payment ul.payment_methods .payment_method_paypal label:before, -#payment ul.payment_methods .payment_method_stripe label:before, -#payment ul.payment_methods .payment_method_wirecard label:before, -#payment ul.payment_methods .payment_method_ClickAndBuy label:before, -#payment ul.payment_methods .payment_method_sofortgateway label:before, -#payment ul.payment_methods .payment_method_cash_on_delivery label:before, -#payment ul.payment_methods .payment_method_bitpay label:before, -#payment ul.payment_methods .payment_method_coinbase label:before { +#payment ul.payment_methods .payment_method_bacs > label:before, +#payment ul.payment_methods .payment_method_cheque > label:before, +#payment ul.payment_methods .payment_method_mijireh_checkout > label:before, +#payment ul.payment_methods .payment_method_ccard > label:before, +#payment ul.payment_methods .payment_method_paypal > label:before, +#payment ul.payment_methods .payment_method_stripe > label:before, +#payment ul.payment_methods .payment_method_wirecard > label:before, +#payment ul.payment_methods .payment_method_wirecard > .payment_method_select > label:before, +#payment ul.payment_methods .payment_method_wirecard_checkout_page > label:before, +#payment ul.payment_methods .payment_method_pbx > label:before, +#payment ul.payment_methods .payment_method_ClickAndBuy > label:before, +#payment ul.payment_methods .payment_method_sofortgateway > label:before, +#payment ul.payment_methods .payment_method_sofortueberweisung > label:before, +#payment ul.payment_methods .payment_method_cash_on_delivery > label:before, +#payment ul.payment_methods .payment_method_bitpay > label:before, +#payment ul.payment_methods .payment_method_coinbase > label:before { display:inline; margin-right:10px;padding:2px 6px; vertical-align:middle; @@ -97,35 +103,42 @@ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;} - #payment ul.payment_methods .payment_method_bacs label:before { + #payment ul.payment_methods .payment_method_bacs > label:before { content:'\f005';} - #payment ul.payment_methods .payment_method_cheque label:before { + #payment ul.payment_methods .payment_method_cheque > label:before { content:'\f00a';} - #payment ul.payment_methods .payment_method_mijireh_checkout label:before { + #payment ul.payment_methods .payment_method_mijireh_checkout > label:before, + #payment ul.payment_methods .payment_method_ccard > label:before { content:'\f012';} - #payment ul.payment_methods .payment_method_paypal label:before { + #payment ul.payment_methods .payment_method_paypal > label:before { content:'\f033';} - #payment ul.payment_methods .payment_method_stripe label:before { + #payment ul.payment_methods .payment_method_stripe > label:before { content:'\f03e';} - #payment ul.payment_methods .payment_method_wirecard label:before { + #payment ul.payment_methods .payment_method_wirecard > label:before, + #payment ul.payment_methods .payment_method_wirecard > .payment_method_select > label:before, + #payment ul.payment_methods .payment_method_wirecard_checkout_page > label:before { content:'\f049';} - #payment ul.payment_methods .payment_method_ClickAndBuy label:before { + #payment ul.payment_methods .payment_method_pbx > label:before { + content:'\f031';} + + #payment ul.payment_methods .payment_method_ClickAndBuy > label:before { content:'\f011';} - #payment ul.payment_methods .payment_method_sofortgateway label:before { - content:'\f03e';} + #payment ul.payment_methods .payment_method_sofortgateway > label:before, + #payment ul.payment_methods .payment_method_sofortueberweisung > label:before { + content:'\f03c';} - #payment ul.payment_methods .payment_method_cash_on_delivery label:before { + #payment ul.payment_methods .payment_method_cash_on_delivery > label:before { content:'\f00d';} - #payment ul.payment_methods .payment_method_bitpay label:before, - #payment ul.payment_methods .payment_method_coinbase label:before { + #payment ul.payment_methods .payment_method_bitpay > label:before, + #payment ul.payment_methods .payment_method_coinbase > label:before { content:'\f006';} /* diff --git a/payment-methods.php b/classes/class-wc-payment-methods.php similarity index 57% rename from payment-methods.php rename to classes/class-wc-payment-methods.php index dbee6e8..c1eb01b 100644 --- a/payment-methods.php +++ b/classes/class-wc-payment-methods.php @@ -1,25 +1,34 @@ Easily display your accepted payment methods from WooCommerce. Handcrafted with ♥ by vendocrat in Vienna. - * Version: 0.2.2 - * Author: vendocrat - * Author URI: http://vendocr.at/ - * License: GNU General Public License v3.0 - * License URI: http://www.gnu.org/licenses/gpl-3.0.html + * Payment Methods + * + * @package vendocrat + * @subpackage Payment Methods + * + * @since 2014-09-08 + * @version 2014-10-21 + * + * @author Poellmann Alexander Manfred + * @copyright Copyright 2014 vendocrat. All Rights Reserved. + * @link http://vendocr.at/ */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly -if ( ! in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) - return; +if ( ! class_exists( 'vendocrat_WC_Payment_Methods' ) ) : -if ( ! class_exists( 'vendocrat_Woo_Payment_Methods' ) ) : +class vendocrat_WC_Payment_Methods { -class vendocrat_Woo_Payment_Methods { + /* File var */ + private $file; - public $payment_methods; + /* Basic vars */ + public $version; + public $plugin_url; + public $plugin_dir; + + /* Payment methods */ + public $available_methods; /** * Constructor @@ -27,21 +36,77 @@ class vendocrat_Woo_Payment_Methods { * @since 2014-08-15 * @version 2014-09-22 **************************************************/ - function __construct() { - define( 'PAYMENT_METHODS_DIR', plugin_dir_path( __FILE__ ) ); - define( 'PAYMENT_METHODS_URI', plugin_dir_url( __FILE__ ) ); + function __construct( $file ) { + // setup dir/uri + $this->file = $file; + $this->plugin_url = trailingslashit( plugins_url( '', $plugin = $file ) ); + $this->plugin_dir = trailingslashit( dirname( $file ) ); - define( 'PAYMENT_METHODS_CSS_URI', trailingslashit( PAYMENT_METHODS_URI . 'assets/css' ) ); - define( 'PAYMENT_METHODS_IMG_URI', trailingslashit( PAYMENT_METHODS_URI . 'assets/img' ) ); + // definitions + $this->defines(); + // load functions and classes $this->load_functions(); $this->load_classes(); // load text domain - add_action( 'plugins_loaded', array( &$this, 'load_plugin_textdomain' ) ); + $this->load_plugin_textdomain(); + // add_action( 'plugins_loaded', array( &$this, 'load_plugin_textdomain' ) ); - // wirt payment methods array - add_action( 'plugins_loaded', array( &$this, 'payment_methods' ) ); + $this->available_methods = array( + 'amazon' => 'Amazon', + 'american-express' => 'American Express', + 'atm' => 'ATM', + 'bank-transfer' => __( 'Bank Transfer', 'woocommerce-payment-methods' ), + 'bankomat' => 'Bankomat', + 'bitcoin' => 'Bitcoin', + 'braintree' => 'Braintree', + 'carta-si' => 'Carta Si', + 'cash' => __( 'Cash', 'woocommerce-payment-methods' ), + 'cash-on-delivery' => __( 'Cash on Delivery', 'woocommerce-payment-methods' ), + 'cb' => 'CB', + 'cirrus' => 'Cirrus', + 'cheque' => __( 'Pay with Cheque', 'woocommerce-payment-methods' ), + 'clickandbuy' => 'ClickAndBuy', + 'credit-card' => __( 'Credit Card', 'woocommerce-payment-methods' ), + 'diners' => 'Diners Club', + 'discover' => 'Discover', + 'ec' => 'EC (Electronic Cash)', + 'eps' => 'Eps', + 'fattura' => __( 'Invoice', 'woocommerce-payment-methods' ), + 'facture' => __( 'Invoice', 'woocommerce-payment-methods' ), + 'flattr' => 'Flattr', + 'giropay' => 'Giropay', + 'gittip' => 'Gittip', + 'google-wallet' => 'Google Wallet', + 'ideal' => 'Ideal', + 'invoice' => __( 'Invoice', 'woocommerce-payment-methods' ), + 'jcb' => 'JCB', + 'maestro' => 'Maestro', + 'mastercard' => 'MasterCard', + 'mastercard-securecode' => 'MasterCard Securecode', + 'ogone' => 'Ogone', + 'paybox' => 'Paybox', + 'paylife' => 'Paylife', + 'paypal' => 'PayPal', + 'paysafecard' => 'paysafecard', + 'postepay' => 'postepay', + 'quick' => 'Quick', + 'invoice' => __( 'Invoice', 'woocommerce-payment-methods' ), + 'ripple' => 'Ripple', + 'skrill' => 'Skrill', + 'sofort' => 'SofortÜberweisung', + 'square' => 'Square', + 'stripe' => 'Stripe', + 'truste' => 'Truste', + 'unionpay' => 'Unionpay', + 'verified-by-visa' => 'Verified By Visa', + 'verisign' => 'Verisign', + 'visa' => 'Visa', + 'visa-electron' => 'Visa Electron', + 'western-union' => 'Western Union', + 'wirecard' => 'Wirecard', + ); // scripts and styles if ( ! is_admin() ) : @@ -57,19 +122,25 @@ class vendocrat_Woo_Payment_Methods { } /** - * Load theme textdomain + * Definitions * * @return void - * - * @since 2014-09-08 - * @version 2014-09-08 + * + * @since 2014-09-22 + * @version 2014-09-22 **************************************************/ - static function load_plugin_textdomain() { - load_plugin_textdomain( 'payment-methods', false, basename( dirname( __FILE__ ) ) . '/languages/' ); + function defines() { + // Plugin + define( 'WC_PAYMENT_METHODS_DIR', $this->plugin_dir ); + define( 'WC_PAYMENT_METHODS_URI', $this->plugin_url ); + + // Assets + define( 'WC_PAYMENT_METHODS_CSS_URI', trailingslashit( WC_PAYMENT_METHODS_URI . 'assets/css' ) ); + define( 'WC_PAYMENT_METHODS_IMG_URI', trailingslashit( WC_PAYMENT_METHODS_URI . 'assets/img' ) ); } /** - * Override some WooCommerce plugin functionality + * Load functions * * @return void * @@ -79,7 +150,7 @@ class vendocrat_Woo_Payment_Methods { function load_functions() {} /** - * Override some WooCommerce plugin functionality + * Load classes * * @return void * @@ -88,6 +159,33 @@ class vendocrat_Woo_Payment_Methods { **************************************************/ function load_classes() {} + /** + * Load theme textdomain + * + * @return void + * + * @since 2014-09-08 + * @version 2014-09-08 + **************************************************/ +/* + static function load_plugin_textdomain() { + load_plugin_textdomain( 'payment-methods', false, basename( $this->plugin_dir ) .'/languages/' ); + } +*/ + public function load_plugin_textdomain() { + $locale = apply_filters( 'plugin_locale', get_locale(), 'woocommerce-payment-methods' ); + $dir = trailingslashit( WP_LANG_DIR ); + + /** + * Frontend/global Locale. Looks in: + * - WP_LANG_DIR/woocommerce-payment-methods/woocommerce-payment-methods-LOCALE.mo + * - woocommerce-payment-methods/languages/woocommerce-payment-methods-LOCALE.mo (which if not found falls back to:) + * - WP_LANG_DIR/plugins/woocommerce-payment-methods-LOCALE.mo + */ + load_textdomain( 'woocommerce-payment-methods', $dir .'woocommerce-payment-methods/woocommerce-payment-methods-'. $locale .'.mo' ); + load_plugin_textdomain( 'woocommerce-payment-methods', false, plugin_basename( $this->plugin_dir ) .'/languages/' ); + } + /** * Enqueue Styles * @@ -98,11 +196,11 @@ class vendocrat_Woo_Payment_Methods { **************************************************/ function enqueue_styles() { if ( ! wp_style_is( 'vendocrat-paymentfont', 'registered' ) ) { - wp_register_style( 'vendocrat-paymentfont', PAYMENT_METHODS_CSS_URI .'paymentfont.min.css', array(), false, 'all' ); + wp_register_style( 'vendocrat-paymentfont', WC_PAYMENT_METHODS_CSS_URI .'paymentfont.min.css', array(), false, 'all' ); } wp_enqueue_style( 'vendocrat-paymentfont' ); - wp_register_style( 'payment-methods', PAYMENT_METHODS_CSS_URI .'payment-methods.css', array(), false, 'all' ); + wp_register_style( 'payment-methods', WC_PAYMENT_METHODS_CSS_URI .'payment-methods.css', array(), false, 'all' ); wp_enqueue_style( 'payment-methods' ); } @@ -125,74 +223,8 @@ class vendocrat_Woo_Payment_Methods { * @version 2014-09-08 **************************************************/ function register_widgets() { - require_once PAYMENT_METHODS_DIR .'classes/class-widget-payment-methods.php'; - register_widget( 'vendocrat_Widget_Payment_Methods' ); - } - - - /** - * Payment Methods array - * - * @return void - * - * @since 2014-09-21 - * @version 2014-09-22 - **************************************************/ - function payment_methods() { - $this->payment_methods = array( - 'amazon' => 'Amazon', - 'american-express' => 'American Express', - 'atm' => 'ATM', - 'bank-transfer' => __( 'Bank Transfer', 'payment-methods' ), - 'bankomat' => 'Bankomat', - 'bitcoin' => 'Bitcoin', - 'braintree' => 'Braintree', - 'carta-si' => 'Carta Si', - 'cash' => __( 'Cash', 'payment-methods' ), - 'cash-on-delivery' => __( 'Cash on Delivery', 'payment-methods' ), - 'cb' => 'CB', - 'cirrus' => 'Cirrus', - // 'cheque' => __( 'Pay with Cheque', 'payment-methods' ), - 'clickandbuy' => 'ClickAndBuy', - 'credit-card' => 'Credit Card', - 'diners' => 'Diners Club', - 'discover' => 'Discover', - 'ec' => 'EC (Electronic Cash)', - 'eps' => 'Eps', - 'fattura' => __( 'Invoice', 'payment-methods' ), - 'facture' => __( 'Invoice', 'payment-methods' ), - 'flattr' => 'Flattr', - 'giropay' => 'Giropay', - 'gittip' => 'Gittip', - 'google-wallet' => 'Google Wallet', - 'ideal' => 'Ideal', - 'invoice' => __( 'Invoice', 'payment-methods' ), - 'jcb' => 'JCB', - 'maestro' => 'Maestro', - 'mastercard' => 'Mastercard', - 'mastercard-securecode' => 'Mastercard Securecode', - 'ogone' => 'Ogone', - 'paybox' => 'PayBox', - 'paylife' => 'Paylife', - 'paypal' => 'PayPal', - 'paysafecard' => 'paysafecard', - 'postepay' => 'postepay', - 'quick' => 'Quick', - 'invoice' => __( 'Invoice', 'payment-methods' ), - 'ripple' => 'Ripple', - 'skrill' => 'Skrill', - 'sofort' => 'SofortÜberweisung', - 'square' => 'Square', - 'stripe' => 'Stripe', - 'truste' => 'Truste', - 'unionpay' => 'Unionpay', - 'verified-by-visa' => 'Verified By Visa', - 'verisign' => 'Verisign', - 'visa' => 'Visa', - 'visa-electron' => 'Visa Electron', - 'western-union' => 'Western Union', - 'wirecard' => 'Wirecard', - ); + require_once WC_PAYMENT_METHODS_DIR .'classes/class-widget-wc-payment-methods.php'; + register_widget( 'vendocrat_Widget_WC_Payment_Methods' ); } /** @@ -248,11 +280,11 @@ class vendocrat_Woo_Payment_Methods { $icon = ''; // continue if we have no corresponding icon - if ( ! array_key_exists ( $slug, $this->payment_methods ) ) + if ( ! array_key_exists ( $slug, $this->available_methods ) ) continue; // retrieve title - $title = $this->payment_methods[$slug]; + $title = $this->available_methods[$slug]; // build icon class $iclass = 'pf pf-'. $slug .' '. $slug; @@ -307,6 +339,7 @@ class vendocrat_Woo_Payment_Methods { break; case 'paypal' : + $methods.= ' credit-card'; $methods.= ' paypal'; $methods.= ' visa'; $methods.= ' mastercard'; @@ -327,20 +360,88 @@ class vendocrat_Woo_Payment_Methods { break; case 'wirecard' : - $methods.= ' wirecard'; - $methods.= ' paypal'; - $methods.= ' visa'; - $methods.= ' mastercard'; - $methods.= ' american-express'; - $methods.= ' discover'; - $methods.= ' diners'; - $methods.= ' jcb'; - $methods.= ' maestro'; - $methods.= ' quick'; - $methods.= ' paybox'; - $methods.= ' paysafecard'; - $methods.= ' bank-transfer'; - $methods.= ' invoice'; + $options = get_option('woocommerce_wirecard_settings'); + + if ( is_array( $options['paymenttype_available'] ) ) { + $wirecard_gateways = $options['paymenttype_available']; + } else { + $wirecard_gateways = array(); + } + + if ( is_array( $options['subs_paymenttype_options'] ) ) { + $wirecard_gateways_subscription = $options['subs_paymenttype_options']; + } else { + $wirecard_gateways_subscription = array(); + } + + $wirecard_gateways = array_merge( $wirecard_gateways, $wirecard_gateways_subscription ); + + if ( count($wirecard_gateways) > 0 ) { + foreach ( $wirecard_gateways as $wirecard_gateway ) { + $wirecard_gateway = strtolower( $wirecard_gateway ); + + switch ( $wirecard_gateway ) { + case 'select' : + break; + + case 'ccard' : + $methods.= ' credit-card'; + $methods.= ' visa'; + $methods.= ' mastercard'; + break; + + case 'idl' : + $methods.= ' ideal'; + break; + + case 'paypal' : + $methods.= ' credit-card'; + $methods.= ' paypal'; + $methods.= ' visa'; + $methods.= ' mastercard'; + $methods.= ' american-express'; + $methods.= ' discover'; + $methods.= ' diners'; + $methods.= ' jcb'; + break; + + case 'pbx' : + $methods.= ' paybox'; + break; + + case 'psc' : + $methods.= ' paysafecard'; + break; + + case 'skrilldirect' : + case 'skrillwallet' : + $methods.= ' skrill'; + break; + + case 'sofortueberweisung' : + $methods.= ' sofort'; + $methods.= ' bank-transfer'; + break; + + case 'elv' : + case 'przelewy24' : + case 'moneta' : + case 'c2p' : + case 'bancontact_mistercash' : + case 'przelewy24' : + case 'installment' : + case 'poli' : + case 'ekonto' : + case 'instantbank' : + case 'mpass' : + break; + + default : + $methods.= ' '. $wirecard_gateway; + break; + } + } + } break; case 'ClickAndBuy' : @@ -399,19 +500,27 @@ class vendocrat_Woo_Payment_Methods { } // END Class -global $vendocrat_woo_payment_methods; -$vendocrat_woo_payment_methods = new vendocrat_Woo_Payment_Methods(); - /** * Output payment methods * * @since 2014-09-08 + * @version 2014-10-23 + **************************************************/ +function wc_payment_methods( $atts = array() ) { + global $vendocrat_wc_payment_methods; + + echo $vendocrat_wc_payment_methods->get_payment_methods( $atts ); +} + +/** + * Output payment methods + * + * @deprecated 2014-10-23 + * @since 2014-09-08 * @version 2014-09-08 **************************************************/ function v_woo_payment_methods( $atts = array() ) { - global $vendocrat_woo_payment_methods; - - echo $vendocrat_woo_payment_methods->get_payment_methods( $atts ); + wc_payment_methods( $atts ); } endif; diff --git a/classes/class-widget-payment-methods.php b/classes/class-widget-wc-payment-methods.php similarity index 76% rename from classes/class-widget-payment-methods.php rename to classes/class-widget-wc-payment-methods.php index bcab43e..d434b9e 100644 --- a/classes/class-widget-payment-methods.php +++ b/classes/class-widget-wc-payment-methods.php @@ -1,12 +1,12 @@ * @copyright Copyright 2014 vendocrat. All Rights Reserved. @@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly -class vendocrat_Widget_Payment_Methods extends WP_Widget { +class vendocrat_Widget_WC_Payment_Methods extends WP_Widget { public $slug; public $name; @@ -30,9 +30,9 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget { **************************************************/ function __construct() { $this->slug = 'vendocrat_payment_methods'; - $this->name = __( 'Payment Methods', 'payment-methods' ); - $this->desc = __( 'Easily display your accepted payment methods', 'payment-methods' ); - $this->title = __( 'Accepted Payment Methods', 'payment-methods' ); + $this->name = __( 'Payment Methods', 'woocommerce-payment-methods' ); + $this->desc = __( 'Easily display your accepted payment methods', 'woocommerce-payment-methods' ); + $this->title = __( 'Accepted Payment Methods', 'woocommerce-payment-methods' ); parent::__construct( $this->slug, @@ -70,7 +70,7 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget { echo $before_title . $title . $after_title; } - global $vendocrat_woo_payment_methods; + global $vendocrat_wc_payment_methods; $atts = array( 'methods' => $methods, @@ -79,7 +79,7 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget { 'placement' => $placement, 'xclass' => $xclass, ); - echo $vendocrat_woo_payment_methods->get_payment_methods( $atts ); + echo $vendocrat_wc_payment_methods->get_payment_methods( $atts ); echo $after_widget; } @@ -104,35 +104,35 @@ class vendocrat_Widget_Payment_Methods extends WP_Widget { $instance = wp_parse_args( (array) $instance, $defaults ); ?>

- +

- +

- +

- +

- +

7)B6vquMU&}|KdXv5+`o-+7th`8M;y{@ifoBvHk4#;rGYslV1wR zQ_yFj*P+irKfMbB9@CNue*tlDWhr#E;d%-i{N$^$hQE(o-4_pJ!fbW59|5?5M zMa|0~pSuF$6W`YBSHV-5{{TJ!UIXs|f3A7G=C9xhtp8T?ckm~~_$SDDe1*%O0e=J^ z1AhVep1(kj?{Dya@J7v>U>oxjFnR(!2eMrcWV??+e1b5*R184QzXCb$L-0ZH^LqU< z$aY_Y_{2B${5udKitj-#G4HXkPZrLZ>&3!v!nI)gC!s9tgZ*+&EDu4s4yU2)uL0$F zSUB!SpqvN4-BcFyoT^BL?5gpQY?K=mOIHN3SQN77oQb-UL*)mf>YP|ob|8CR*|1Mu zEV&rnP%NuZP6z3%Tp^WAVpRog#q#G1uTftXI`Bs#Po#ikQmqiD1xaeKsFqjKUL#J292QS8LAA<@&3M^}lDaA()M zPbiPcT9Leu%eAwa{J^Gmo#x?8FnRG*R_sbMA$$QCa5D#|xYGRD1KFEmwr z>y~XM3uub}GMwq;%_lrk<{=$%jIXLj{dCaX4g zg|_`n&hP2i_%L~gEFlICuKnruwlRF>LKM*BzC`ect=HaWVoNB)p>z%g-wYlK$zeKLjE zRC#IDkkBp47Rnc5r_yBb2-1+w%P5sGB-PBny(0jr?1VJjiHoCfbTv*44w77-_OZRy w$J+!~96?9hK@gjytyss4jl8%cCG>KfAYC@+b1@)5ZMd7sh^;;NdRK{m0VC3CyZ`_I diff --git a/languages/payment-methods-de_AT.po b/languages/payment-methods-de_AT.po deleted file mode 100644 index 19bf2f2..0000000 --- a/languages/payment-methods-de_AT.po +++ /dev/null @@ -1,104 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WooCommerce Payment Methods\n" -"POT-Creation-Date: 2014-09-22 00:09+0100\n" -"PO-Revision-Date: 2014-09-22 00:09+0100\n" -"Last-Translator: \n" -"Language-Team: vendocrat \n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../classes/class-widget-payment-methods.php:33 -msgid "Payment Methods" -msgstr "Zahlungsmethoden" - -#: ../classes/class-widget-payment-methods.php:34 -msgid "Easily display your accepted payment methods" -msgstr "Spielend leicht alle akzeptierten Zahlungsmethoden anzeigen" - -#: ../classes/class-widget-payment-methods.php:35 -msgid "Accepted Payment Methods" -msgstr "Akzeptierte Zahlungsmethoden" - -#: ../classes/class-widget-payment-methods.php:104 -msgid "Title" -msgstr "Titel" - -#: ../classes/class-widget-payment-methods.php:108 -msgid "Style" -msgstr "Stil" - -#: ../classes/class-widget-payment-methods.php:110 -msgid "Default" -msgstr "Standard" - -#: ../classes/class-widget-payment-methods.php:111 -msgid "Inverse" -msgstr "Inverse" - -#: ../classes/class-widget-payment-methods.php:112 -msgid "Outline" -msgstr "Kontur" - -#: ../classes/class-widget-payment-methods.php:116 -msgid "Add Tooltip markup?" -msgstr "Tooltip-Markup hinzufügen?" - -#: ../classes/class-widget-payment-methods.php:118 -msgid "No" -msgstr "Nein" - -#: ../classes/class-widget-payment-methods.php:119 -msgid "Yes" -msgstr "Ja" - -#: ../classes/class-widget-payment-methods.php:123 -msgid "Placement" -msgstr "Platzierung" - -#: ../classes/class-widget-payment-methods.php:125 -msgid "Top" -msgstr "Oben" - -#: ../classes/class-widget-payment-methods.php:126 -msgid "Right" -msgstr "Rechts" - -#: ../classes/class-widget-payment-methods.php:127 -msgid "Bottom" -msgstr "Unten" - -#: ../classes/class-widget-payment-methods.php:128 -msgid "Left" -msgstr "Links" - -#: ../classes/class-widget-payment-methods.php:132 -msgid "Extra classes" -msgstr "Zusätzliche Klassen" - -#: ../payment-methods.php:41 -msgid "Bank Transfer" -msgstr "Bank-Überweisung" - -#: ../payment-methods.php:46 -msgid "Cash" -msgstr "Bargeld" - -#: ../payment-methods.php:47 -msgid "Cash on Delivery" -msgstr "Nachname" - -#: ../payment-methods.php:57 ../payment-methods.php:58 -#: ../payment-methods.php:64 ../payment-methods.php:76 -msgid "Invoice" -msgstr "Rechnung" - -#~ msgid "Pay with Cheque" -#~ msgstr "Mit Scheck bezahlen" diff --git a/languages/payment-methods-de_DE.mo b/languages/payment-methods-de_DE.mo deleted file mode 100644 index 40bb946a6fd6c9db1b2b5219a2a9fddd86324f4b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1454 zcmZvaO>7)B6vquMU&}|Kd(>(vi_OsuI-yf$>ekmYN zL7#D-1a2-4Yz6Y}XXZ89Q zH7|pF?h1%cd|R(y1y5oA1NZ=V4ZH{Zx#snnzk(;Q{#(u8!JiQ0pCIS)6)t}U{1JQ% z`~~ED{sK9^zrp*#8#Ql&EzD2A=n3!~$aY-EbZ z+kFk<6W`SH??8koz6ZI)yvM>mSvY5|7Yn}$*MjYzgtD*?_RBf3JOt%BoQAT$29)Dr z;kX}xavuD46Isf0sv;G#qecU=QEpN!T@l1mQOK@yChAHKl|%5Sv7$mb8Kkpvm5e?lKN72SpoS)jH5IfO$wG(9sF57Gp_l4EpH=O1Q2SiF6upwU zQ6W$e>lQZ!Vmh6ZXwyLyTTW~bqtTYc?Gbm3%87FjJGxg!u^UH*L{~>1T_rxkogME! zp*$w*Me;r_*Uo101Ls!UU_d^n+pEy%Yb0aJg4ezFCqn?(KS^ zsp4C=Y%^IA*V?1m<}N9pmmOT6q;Sw|h^77* zZK}yfk{4BJhPD@`T|*X+J89EobJC`=)OI{PIKI{+J8jwI_{u){BhmrK#09PqTG{u= z6k`RK}20GynFE0Hm^G(r_m(4#V-)I5s#)a%0lR y_EsP75L|HtZEgEOY>~EN11~o8;*ONi%W;f!*__YCfB?1OZYCqP_u=bZCH@5=R%*Kd diff --git a/languages/payment-methods-de_DE.po b/languages/payment-methods-de_DE.po deleted file mode 100644 index 0a35640..0000000 --- a/languages/payment-methods-de_DE.po +++ /dev/null @@ -1,104 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WooCommerce Payment Methods\n" -"POT-Creation-Date: 2014-09-22 00:08+0100\n" -"PO-Revision-Date: 2014-09-22 00:09+0100\n" -"Last-Translator: \n" -"Language-Team: vendocrat \n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../classes/class-widget-payment-methods.php:33 -msgid "Payment Methods" -msgstr "Zahlungsmethoden" - -#: ../classes/class-widget-payment-methods.php:34 -msgid "Easily display your accepted payment methods" -msgstr "Spielend leicht alle akzeptierten Zahlungsmethoden anzeigen" - -#: ../classes/class-widget-payment-methods.php:35 -msgid "Accepted Payment Methods" -msgstr "Akzeptierte Zahlungsmethoden" - -#: ../classes/class-widget-payment-methods.php:104 -msgid "Title" -msgstr "Titel" - -#: ../classes/class-widget-payment-methods.php:108 -msgid "Style" -msgstr "Stil" - -#: ../classes/class-widget-payment-methods.php:110 -msgid "Default" -msgstr "Standard" - -#: ../classes/class-widget-payment-methods.php:111 -msgid "Inverse" -msgstr "Inverse" - -#: ../classes/class-widget-payment-methods.php:112 -msgid "Outline" -msgstr "Kontur" - -#: ../classes/class-widget-payment-methods.php:116 -msgid "Add Tooltip markup?" -msgstr "Tooltip-Markup hinzufügen?" - -#: ../classes/class-widget-payment-methods.php:118 -msgid "No" -msgstr "Nein" - -#: ../classes/class-widget-payment-methods.php:119 -msgid "Yes" -msgstr "Ja" - -#: ../classes/class-widget-payment-methods.php:123 -msgid "Placement" -msgstr "Platzierung" - -#: ../classes/class-widget-payment-methods.php:125 -msgid "Top" -msgstr "Oben" - -#: ../classes/class-widget-payment-methods.php:126 -msgid "Right" -msgstr "Rechts" - -#: ../classes/class-widget-payment-methods.php:127 -msgid "Bottom" -msgstr "Unten" - -#: ../classes/class-widget-payment-methods.php:128 -msgid "Left" -msgstr "Links" - -#: ../classes/class-widget-payment-methods.php:132 -msgid "Extra classes" -msgstr "Zusätzliche Klassen" - -#: ../payment-methods.php:41 -msgid "Bank Transfer" -msgstr "Bank-Überweisung" - -#: ../payment-methods.php:46 -msgid "Cash" -msgstr "Bargeld" - -#: ../payment-methods.php:47 -msgid "Cash on Delivery" -msgstr "Nachname" - -#: ../payment-methods.php:57 ../payment-methods.php:58 -#: ../payment-methods.php:64 ../payment-methods.php:76 -msgid "Invoice" -msgstr "Rechnung" - -#~ msgid "Pay with Cheque" -#~ msgstr "Mit Scheck bezahlen" diff --git a/languages/payment-methods-en_GB.po b/languages/payment-methods-en_GB.po deleted file mode 100644 index c06ed30..0000000 --- a/languages/payment-methods-en_GB.po +++ /dev/null @@ -1,101 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WooCommerce Payment Methods\n" -"POT-Creation-Date: 2014-09-22 00:09+0100\n" -"PO-Revision-Date: 2014-09-22 00:09+0100\n" -"Last-Translator: \n" -"Language-Team: vendocrat \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../classes/class-widget-payment-methods.php:33 -msgid "Payment Methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:34 -msgid "Easily display your accepted payment methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:35 -msgid "Accepted Payment Methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:104 -msgid "Title" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:108 -msgid "Style" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:110 -msgid "Default" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:111 -msgid "Inverse" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:112 -msgid "Outline" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:116 -msgid "Add Tooltip markup?" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:118 -msgid "No" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:119 -msgid "Yes" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:123 -msgid "Placement" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:125 -msgid "Top" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:126 -msgid "Right" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:127 -msgid "Bottom" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:128 -msgid "Left" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:132 -msgid "Extra classes" -msgstr "" - -#: ../payment-methods.php:41 -msgid "Bank Transfer" -msgstr "" - -#: ../payment-methods.php:46 -msgid "Cash" -msgstr "" - -#: ../payment-methods.php:47 -msgid "Cash on Delivery" -msgstr "" - -#: ../payment-methods.php:57 ../payment-methods.php:58 -#: ../payment-methods.php:64 ../payment-methods.php:76 -msgid "Invoice" -msgstr "" diff --git a/languages/payment-methods-en_US.mo b/languages/payment-methods-en_US.mo deleted file mode 100644 index 8da48f755d92e59e2a987cde68de4ee7a44876fe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 497 zcmaKn!A{#i5QeGX9a5fL~i`juie@CcJ|-@yF353L?6U^;sf!v_(xL}DoVavFh|;S}jXWU>sVvH@duf{faMP-);`oAlVeyQ(d zNiuW+Q%6O`ki@6)XX(6@>Kp^L$fbceO6!%!T1}j9f&tq;mtoi&z{_^{(Zc=^l23!p h{YzRuIA4TW71+RHF<8*1c|+*)GL`X4%L8$=^#szTkv0GT diff --git a/languages/payment-methods-en_US.po b/languages/payment-methods-en_US.po deleted file mode 100644 index 22b3266..0000000 --- a/languages/payment-methods-en_US.po +++ /dev/null @@ -1,101 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: WooCommerce Payment Methods\n" -"POT-Creation-Date: 2014-09-22 00:10+0100\n" -"PO-Revision-Date: 2014-09-22 00:10+0100\n" -"Last-Translator: \n" -"Language-Team: vendocrat \n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../classes/class-widget-payment-methods.php:33 -msgid "Payment Methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:34 -msgid "Easily display your accepted payment methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:35 -msgid "Accepted Payment Methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:104 -msgid "Title" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:108 -msgid "Style" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:110 -msgid "Default" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:111 -msgid "Inverse" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:112 -msgid "Outline" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:116 -msgid "Add Tooltip markup?" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:118 -msgid "No" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:119 -msgid "Yes" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:123 -msgid "Placement" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:125 -msgid "Top" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:126 -msgid "Right" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:127 -msgid "Bottom" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:128 -msgid "Left" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:132 -msgid "Extra classes" -msgstr "" - -#: ../payment-methods.php:41 -msgid "Bank Transfer" -msgstr "" - -#: ../payment-methods.php:46 -msgid "Cash" -msgstr "" - -#: ../payment-methods.php:47 -msgid "Cash on Delivery" -msgstr "" - -#: ../payment-methods.php:57 ../payment-methods.php:58 -#: ../payment-methods.php:64 ../payment-methods.php:76 -msgid "Invoice" -msgstr "" diff --git a/languages/payment-methods-it_IT.mo b/languages/payment-methods-it_IT.mo deleted file mode 100644 index 44c5bd70e3c025fec77d9c46adef1558980d2929..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1479 zcmaKrJ!~9B6vqb$U&nU{2q8d22O@jy83fK61NPZQ7B)F@$7f@Wci-&|*_*eTedpv5 zLP)eJL871t5*4DMAq}DdQKf;30wGGuP}1>#=OvZ`%4pyI?#;e=^XAR}em{QfQ-kp! z>=D>y*rTuyZomuU3iuHC7kEF|xzU)rz{kK_z?0xH@EP!4a2dQ6+y+mAuY(%@VLN}J zUuymDL0$hNs4WH-<3vl%q5aaKb!#s){sEW{tyS~irw)eJs(m;P!%<8JruU#j z>%AMM=g=A#V=d3A7Aow(&8HN^?vhNnXv|ts*b#FjzP3{r&(7+X%(@F_?I^m?j47IR z7U8MsyJoU@Sq^rCDt|z6ZZ>G_W|f#t*Z68~3*Xe0o7*|hqILi7S+{#m+dVhWOLR7` zT+>ivwgWOXq-39y*`cwR*Vvq%N#z5XYbzd9E+;*MIpfQTn4!!oG9xeg=Gwf2oP)^k zQ7*}Lk-UlIovoC_by z%r5UE^V`WQ6bLnFfdi((i|uuv>pqV!hivrtl`|40_CR\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../classes/class-widget-payment-methods.php:33 -msgid "Payment Methods" -msgstr "Metodi di pagamento" - -#: ../classes/class-widget-payment-methods.php:34 -msgid "Easily display your accepted payment methods" -msgstr "Mostra con facilità i tuoi metodi di pagamento accettati" - -#: ../classes/class-widget-payment-methods.php:35 -msgid "Accepted Payment Methods" -msgstr "Metodi di pagamento accettati" - -#: ../classes/class-widget-payment-methods.php:104 -msgid "Title" -msgstr "Titolo" - -#: ../classes/class-widget-payment-methods.php:108 -msgid "Style" -msgstr "Stile" - -#: ../classes/class-widget-payment-methods.php:110 -msgid "Default" -msgstr "Predefinito" - -#: ../classes/class-widget-payment-methods.php:111 -msgid "Inverse" -msgstr "Inverso" - -#: ../classes/class-widget-payment-methods.php:112 -msgid "Outline" -msgstr "Contorno" - -#: ../classes/class-widget-payment-methods.php:116 -msgid "Add Tooltip markup?" -msgstr "Aggiungere Tooltip markup?" - -#: ../classes/class-widget-payment-methods.php:118 -msgid "No" -msgstr "No" - -#: ../classes/class-widget-payment-methods.php:119 -msgid "Yes" -msgstr "Si" - -#: ../classes/class-widget-payment-methods.php:123 -msgid "Placement" -msgstr "Posizione" - -#: ../classes/class-widget-payment-methods.php:125 -msgid "Top" -msgstr "Sopra" - -#: ../classes/class-widget-payment-methods.php:126 -msgid "Right" -msgstr "Destra" - -#: ../classes/class-widget-payment-methods.php:127 -msgid "Bottom" -msgstr "Abbasso" - -#: ../classes/class-widget-payment-methods.php:128 -msgid "Left" -msgstr "Sinistra" - -#: ../classes/class-widget-payment-methods.php:132 -msgid "Extra classes" -msgstr "Classi extra" - -#: ../payment-methods.php:41 -msgid "Bank Transfer" -msgstr "Trasferimento bancario" - -#: ../payment-methods.php:46 -msgid "Cash" -msgstr "Contanti" - -#: ../payment-methods.php:47 -msgid "Cash on Delivery" -msgstr "Pagamento con contrassegno" - -#: ../payment-methods.php:57 ../payment-methods.php:58 -#: ../payment-methods.php:64 ../payment-methods.php:76 -msgid "Invoice" -msgstr "Fatture" - -#~ msgid "Pay with Cheque" -#~ msgstr "Paga con assegno" diff --git a/languages/payment-methods.mo b/languages/payment-methods.mo deleted file mode 100644 index 238ee100c186759641e6f91b1c8ff9b03a5d424d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 497 zcmaKn&yLeD5XKk5DM!v628jcRb#NjCt+QRNwzR8?Rzwi~+^Qj&ZL&)2$etGZAUq3i zv(LhWqV~ooeX_^%^Z4`q<43>FL=VJI#LvVJ#pmKdBk^x(j%6K~qjK-=sARRM)EDxh zan`_B=ccaf$d?2;?mMy!E8^N!A<91#YU&ADNc9ex45T`Ft@K!>DQIo<_@z#?7Epbp zT{BGlFSo?Ns_#qJC#K@ON)&SXPwOGwg zzer*oO`T;)uZn#yL79H?tG>m?W>D7X1M%c@F;}A#H{`e_uV%J%Rbw{>M&BEbzNs6s zBpHT)xudFKNa8o~Tj?B1b&Y{~\n" -"Language: en\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.7\n" -"X-Poedit-Basepath: .\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-KeywordsList: __;_e\n" -"X-Poedit-SearchPath-0: ..\n" - -#: ../classes/class-widget-payment-methods.php:33 -msgid "Payment Methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:34 -msgid "Easily display your accepted payment methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:35 -msgid "Accepted Payment Methods" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:104 -msgid "Title" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:108 -msgid "Style" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:110 -msgid "Default" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:111 -msgid "Inverse" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:112 -msgid "Outline" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:116 -msgid "Add Tooltip markup?" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:118 -msgid "No" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:119 -msgid "Yes" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:123 -msgid "Placement" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:125 -msgid "Top" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:126 -msgid "Right" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:127 -msgid "Bottom" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:128 -msgid "Left" -msgstr "" - -#: ../classes/class-widget-payment-methods.php:132 -msgid "Extra classes" -msgstr "" - -#: ../payment-methods.php:41 -msgid "Bank Transfer" -msgstr "" - -#: ../payment-methods.php:46 -msgid "Cash" -msgstr "" - -#: ../payment-methods.php:47 -msgid "Cash on Delivery" -msgstr "" - -#: ../payment-methods.php:57 ../payment-methods.php:58 -#: ../payment-methods.php:64 ../payment-methods.php:76 -msgid "Invoice" -msgstr "" diff --git a/languages/woocommerce-payment-methods-de_AT.mo b/languages/woocommerce-payment-methods-de_AT.mo new file mode 100644 index 0000000000000000000000000000000000000000..58519d15f114452bd64c168d291ad82456cb8c36 GIT binary patch literal 1578 zcmaKrOK)366vqb$P|T|>k5;0Kp%S8~T;m%mi0p=vI4(+KCsyJX=z?f`?}_i=@r=1M zH;MfX_yFCN9TFdbO?P31#EMN92w1W~LV^WL{>Q#))FSohp80uR=QYQ_o?W;jAm^bM zpua%hg5G@s1Elukd@lxH!TbjJBKQUP3~0aw(1WMJL-2X>Yf!d%EL@KYlM;04t)X2 zZ_2T9+{ePXv;A}B0>{L{wT8=wgzL$|@o}s(SxFKa2TEmEO-5vc>`=&D>cvW$%ARv3 z=&>BBd{~UHiB)BXvX?9C_b3;uE(A9cP35!MAf1(KWb{7e6Vc2m)j>8@o{BZvQ-ukl zrMxy1nQA{aY9c4D$fY{=KQ8@`O8>3HkSm!O$!11h6|?z6*>sIch*!k69%Mo6goz>1(}71f7N5gMH+NrB5~B4qx&>$2*}DAH zxuzS9C{O6o3RSvWy$ETlfRoXh3RIViwfIUD*P_MuWxQ06Q$)oAxzZeC)Zl z@*$d)*Qns~x~#O79TaLnQIFK9F89f%F3DApS2HrkeOxY7Rru(^*}6=r(pm4cPO^xr zwMx_3fc&H0WQ;%q9ftSt3feYgk|~rnEZ^*1kCsl(mCqctY~oUF2X(pB*P-%R^a)u) z3>;wB&0aaKeo*}oJM(F@syvNV$m+6M>6#)}Cc5tOk*`ZTo=yGoVnfbS@mL6ZZQr@pOysLS2m#x9*~?vToptPAr|4GyXmu`-;Zg*D}YB_bf(LYt zvMG1<&RCPdgGfU<$%0hIkW?qJ*#8A1m7S7?YjL~qN8g62!9|iAvmUn(dVHJUmZNEF zJM?0cv=tk8y&@MK{H1nqCmG5\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.7\n" +"X-Poedit-Basepath: .\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../classes/class-wc-payment-methods.php:60 +msgid "Bank Transfer" +msgstr "Bank-Überweisung" + +#: ../classes/class-wc-payment-methods.php:65 +msgid "Cash" +msgstr "Bargeld" + +#: ../classes/class-wc-payment-methods.php:66 +msgid "Cash on Delivery" +msgstr "Nachname" + +#: ../classes/class-wc-payment-methods.php:69 +msgid "Pay with Cheque" +msgstr "Mit Scheck bezahlen" + +#: ../classes/class-wc-payment-methods.php:71 +msgid "Credit Card" +msgstr "Kreditkarte" + +#: ../classes/class-wc-payment-methods.php:76 +#: ../classes/class-wc-payment-methods.php:77 +#: ../classes/class-wc-payment-methods.php:83 +#: ../classes/class-wc-payment-methods.php:95 +msgid "Invoice" +msgstr "Rechnung" + +#: ../classes/class-widget-wc-payment-methods.php:33 +msgid "Payment Methods" +msgstr "Zahlungsmethoden" + +#: ../classes/class-widget-wc-payment-methods.php:34 +msgid "Easily display your accepted payment methods" +msgstr "Spielend leicht alle akzeptierten Zahlungsmethoden anzeigen" + +#: ../classes/class-widget-wc-payment-methods.php:35 +msgid "Accepted Payment Methods" +msgstr "Akzeptierte Zahlungsmethoden" + +#: ../classes/class-widget-wc-payment-methods.php:107 +msgid "Title" +msgstr "Titel" + +#: ../classes/class-widget-wc-payment-methods.php:111 +msgid "Style" +msgstr "Stil" + +#: ../classes/class-widget-wc-payment-methods.php:113 +msgid "Default" +msgstr "Standard" + +#: ../classes/class-widget-wc-payment-methods.php:114 +msgid "Inverse" +msgstr "Inverse" + +#: ../classes/class-widget-wc-payment-methods.php:115 +msgid "Outline" +msgstr "Kontur" + +#: ../classes/class-widget-wc-payment-methods.php:119 +msgid "Add Tooltip markup?" +msgstr "Tooltip-Markup hinzufügen?" + +#: ../classes/class-widget-wc-payment-methods.php:121 +msgid "No" +msgstr "Nein" + +#: ../classes/class-widget-wc-payment-methods.php:122 +msgid "Yes" +msgstr "Ja" + +#: ../classes/class-widget-wc-payment-methods.php:126 +msgid "Placement" +msgstr "Platzierung" + +#: ../classes/class-widget-wc-payment-methods.php:128 +msgid "Top" +msgstr "Oben" + +#: ../classes/class-widget-wc-payment-methods.php:129 +msgid "Right" +msgstr "Rechts" + +#: ../classes/class-widget-wc-payment-methods.php:130 +msgid "Bottom" +msgstr "Unten" + +#: ../classes/class-widget-wc-payment-methods.php:131 +msgid "Left" +msgstr "Links" + +#: ../classes/class-widget-wc-payment-methods.php:135 +msgid "Extra classes" +msgstr "Zusätzliche Klassen" diff --git a/languages/woocommerce-payment-methods-de_DE.mo b/languages/woocommerce-payment-methods-de_DE.mo new file mode 100644 index 0000000000000000000000000000000000000000..58519d15f114452bd64c168d291ad82456cb8c36 GIT binary patch literal 1578 zcmaKrOK)366vqb$P|T|>k5;0Kp%S8~T;m%mi0p=vI4(+KCsyJX=z?f`?}_i=@r=1M zH;MfX_yFCN9TFdbO?P31#EMN92w1W~LV^WL{>Q#))FSohp80uR=QYQ_o?W;jAm^bM zpua%hg5G@s1Elukd@lxH!TbjJBKQUP3~0aw(1WMJL-2X>Yf!d%EL@KYlM;04t)X2 zZ_2T9+{ePXv;A}B0>{L{wT8=wgzL$|@o}s(SxFKa2TEmEO-5vc>`=&D>cvW$%ARv3 z=&>BBd{~UHiB)BXvX?9C_b3;uE(A9cP35!MAf1(KWb{7e6Vc2m)j>8@o{BZvQ-ukl zrMxy1nQA{aY9c4D$fY{=KQ8@`O8>3HkSm!O$!11h6|?z6*>sIch*!k69%Mo6goz>1(}71f7N5gMH+NrB5~B4qx&>$2*}DAH zxuzS9C{O6o3RSvWy$ETlfRoXh3RIViwfIUD*P_MuWxQ06Q$)oAxzZeC)Zl z@*$d)*Qns~x~#O79TaLnQIFK9F89f%F3DApS2HrkeOxY7Rru(^*}6=r(pm4cPO^xr zwMx_3fc&H0WQ;%q9ftSt3feYgk|~rnEZ^*1kCsl(mCqctY~oUF2X(pB*P-%R^a)u) z3>;wB&0aaKeo*}oJM(F@syvNV$m+6M>6#)}Cc5tOk*`ZTo=yGoVnfbS@mL6ZZQr@pOysLS2m#x9*~?vToptPAr|4GyXmu`-;Zg*D}YB_bf(LYt zvMG1<&RCPdgGfU<$%0hIkW?qJ*#8A1m7S7?YjL~qN8g62!9|iAvmUn(dVHJUmZNEF zJM?0cv=tk8y&@MK{H1nqCmG5\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.7\n" +"X-Poedit-Basepath: .\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../classes/class-wc-payment-methods.php:60 +msgid "Bank Transfer" +msgstr "Bank-Überweisung" + +#: ../classes/class-wc-payment-methods.php:65 +msgid "Cash" +msgstr "Bargeld" + +#: ../classes/class-wc-payment-methods.php:66 +msgid "Cash on Delivery" +msgstr "Nachname" + +#: ../classes/class-wc-payment-methods.php:69 +msgid "Pay with Cheque" +msgstr "Mit Scheck bezahlen" + +#: ../classes/class-wc-payment-methods.php:71 +msgid "Credit Card" +msgstr "Kreditkarte" + +#: ../classes/class-wc-payment-methods.php:76 +#: ../classes/class-wc-payment-methods.php:77 +#: ../classes/class-wc-payment-methods.php:83 +#: ../classes/class-wc-payment-methods.php:95 +msgid "Invoice" +msgstr "Rechnung" + +#: ../classes/class-widget-wc-payment-methods.php:33 +msgid "Payment Methods" +msgstr "Zahlungsmethoden" + +#: ../classes/class-widget-wc-payment-methods.php:34 +msgid "Easily display your accepted payment methods" +msgstr "Spielend leicht alle akzeptierten Zahlungsmethoden anzeigen" + +#: ../classes/class-widget-wc-payment-methods.php:35 +msgid "Accepted Payment Methods" +msgstr "Akzeptierte Zahlungsmethoden" + +#: ../classes/class-widget-wc-payment-methods.php:107 +msgid "Title" +msgstr "Titel" + +#: ../classes/class-widget-wc-payment-methods.php:111 +msgid "Style" +msgstr "Stil" + +#: ../classes/class-widget-wc-payment-methods.php:113 +msgid "Default" +msgstr "Standard" + +#: ../classes/class-widget-wc-payment-methods.php:114 +msgid "Inverse" +msgstr "Inverse" + +#: ../classes/class-widget-wc-payment-methods.php:115 +msgid "Outline" +msgstr "Kontur" + +#: ../classes/class-widget-wc-payment-methods.php:119 +msgid "Add Tooltip markup?" +msgstr "Tooltip-Markup hinzufügen?" + +#: ../classes/class-widget-wc-payment-methods.php:121 +msgid "No" +msgstr "Nein" + +#: ../classes/class-widget-wc-payment-methods.php:122 +msgid "Yes" +msgstr "Ja" + +#: ../classes/class-widget-wc-payment-methods.php:126 +msgid "Placement" +msgstr "Platzierung" + +#: ../classes/class-widget-wc-payment-methods.php:128 +msgid "Top" +msgstr "Oben" + +#: ../classes/class-widget-wc-payment-methods.php:129 +msgid "Right" +msgstr "Rechts" + +#: ../classes/class-widget-wc-payment-methods.php:130 +msgid "Bottom" +msgstr "Unten" + +#: ../classes/class-widget-wc-payment-methods.php:131 +msgid "Left" +msgstr "Links" + +#: ../classes/class-widget-wc-payment-methods.php:135 +msgid "Extra classes" +msgstr "Zusätzliche Klassen" diff --git a/languages/woocommerce-payment-methods-it_IT.mo b/languages/woocommerce-payment-methods-it_IT.mo new file mode 100644 index 0000000000000000000000000000000000000000..cab7d9ce9af888623a95382da61b938bc765b49c GIT binary patch literal 1605 zcmaKrOK%)S5XTz`5SF)jMF>!Xgk+S=X2%3DV;iv7cI0H8tg;&(7p(S7?QWCV?xCl~ z@p9wHfn#nU@h$iO9FRD3;1D4W9JnCmzyWUjYjzwf1f?`Jzv)+1bydx;3ny+U$SLSc z(3{ZLq2Jtx7o>Cld@Tl_!T19BIQS{}5SW7}z!H24JOm#FzXBfyZ-8gOZ$UZtQ#1cd z!{0zT{|AUi{n^al0-wbA?}jHIQ0ftkPk|4DuQgn3*aq>aa}Afl?{SA!@MX;Z1t%|p z3po5d7=aSsCU_F;fwF!TlzSAQ+~Z5|UGQu0G4MxF&i&l*CMf5B2kZEo@hwp7`~ynf zT1b|}{|YF1Tf_@X>TEN9s~N9?VrK)C5-dQ)zQ}V>v2`S3uLYI7J^>YfB62^8Rcb1+ zJ_|jPr|}{7UuY)ejv|t4xV%FopCS^c)ToyAG^K(m(|t3Wl4HF~Jn>nn*0W3xz0cVe zdTPS8s(4>*73J@Zx2=E#51_@6fZw+=ZNo#v)2sZ=`-R!b6ko096$h}9*pE?1meM+(vF z>y{_FJE703dVI%i`ngF-X4Dlsp0FD5EGIRzEN@?^PvD~;{AZMMw39_2!kP6h(I0u= z_0uVZl>VEcR{!!a!Zi(JXS8XU61~)k&qZ-3T6$B*%SpU+x)XOg*ce@*11lEqxvytR zj_UO0hJ8qMt7qJ}GGmH{WTuHeAeZ?x7}l#3%5(ogGtoBu-tE1Kw%pp?+1)z6McnSR zy52GF9}Q;(0%bbnv#5e~D>|JRq?XsN4!5J_<9$t;qb-;E%(`)+m-k`$#>(;e zi!{6LLss@|$%)?ETiK)I#Q~X+PWmt(b>N`gQs`I&h_=#&85=3GuiJ_lrBUnSv8~*g z0^QZlNVPPwogdjZE;Ye=wZ6ZPrt?ZNW*kiPZ<|fg;!t!Zx^nEW#{@RwI<5QNqlqY^ zk#&~6+Vy4K!#FfDsm(3_@SV1rD{nR0{2oDfrR}Xok%DP@->YrITm@1CSQo?6{}Q7Q o2t;C((DYGc|C1Hf_oe*;T}b#PYYPLm^WVVdUJZN!qXVn{1t^V#?f?J) literal 0 HcmV?d00001 diff --git a/languages/woocommerce-payment-methods-it_IT.po b/languages/woocommerce-payment-methods-it_IT.po new file mode 100644 index 0000000..1483c01 --- /dev/null +++ b/languages/woocommerce-payment-methods-it_IT.po @@ -0,0 +1,111 @@ +msgid "" +msgstr "" +"Project-Id-Version: WooCommerce Payment Methods\n" +"POT-Creation-Date: 2014-10-23 18:12+0100\n" +"PO-Revision-Date: 2014-10-23 18:12+0100\n" +"Last-Translator: \n" +"Language-Team: vendocrat \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.7\n" +"X-Poedit-Basepath: .\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../classes/class-wc-payment-methods.php:60 +msgid "Bank Transfer" +msgstr "Trasferimento bancario" + +#: ../classes/class-wc-payment-methods.php:65 +msgid "Cash" +msgstr "Contanti" + +#: ../classes/class-wc-payment-methods.php:66 +msgid "Cash on Delivery" +msgstr "Pagamento con contrassegno" + +#: ../classes/class-wc-payment-methods.php:69 +msgid "Pay with Cheque" +msgstr "Paga con assegno" + +#: ../classes/class-wc-payment-methods.php:71 +msgid "Credit Card" +msgstr "Carta di credito" + +#: ../classes/class-wc-payment-methods.php:76 +#: ../classes/class-wc-payment-methods.php:77 +#: ../classes/class-wc-payment-methods.php:83 +#: ../classes/class-wc-payment-methods.php:95 +msgid "Invoice" +msgstr "Fatture" + +#: ../classes/class-widget-wc-payment-methods.php:33 +msgid "Payment Methods" +msgstr "Metodi di pagamento" + +#: ../classes/class-widget-wc-payment-methods.php:34 +msgid "Easily display your accepted payment methods" +msgstr "Mostra con facilità i tuoi metodi di pagamento accettati" + +#: ../classes/class-widget-wc-payment-methods.php:35 +msgid "Accepted Payment Methods" +msgstr "Metodi di pagamento accettati" + +#: ../classes/class-widget-wc-payment-methods.php:107 +msgid "Title" +msgstr "Titolo" + +#: ../classes/class-widget-wc-payment-methods.php:111 +msgid "Style" +msgstr "Stile" + +#: ../classes/class-widget-wc-payment-methods.php:113 +msgid "Default" +msgstr "Predefinito" + +#: ../classes/class-widget-wc-payment-methods.php:114 +msgid "Inverse" +msgstr "Inverso" + +#: ../classes/class-widget-wc-payment-methods.php:115 +msgid "Outline" +msgstr "Contorno" + +#: ../classes/class-widget-wc-payment-methods.php:119 +msgid "Add Tooltip markup?" +msgstr "Aggiungere Tooltip markup?" + +#: ../classes/class-widget-wc-payment-methods.php:121 +msgid "No" +msgstr "No" + +#: ../classes/class-widget-wc-payment-methods.php:122 +msgid "Yes" +msgstr "Si" + +#: ../classes/class-widget-wc-payment-methods.php:126 +msgid "Placement" +msgstr "Posizione" + +#: ../classes/class-widget-wc-payment-methods.php:128 +msgid "Top" +msgstr "Sopra" + +#: ../classes/class-widget-wc-payment-methods.php:129 +msgid "Right" +msgstr "Destra" + +#: ../classes/class-widget-wc-payment-methods.php:130 +msgid "Bottom" +msgstr "Abbasso" + +#: ../classes/class-widget-wc-payment-methods.php:131 +msgid "Left" +msgstr "Sinistra" + +#: ../classes/class-widget-wc-payment-methods.php:135 +msgid "Extra classes" +msgstr "Classi extra" diff --git a/languages/payment-methods-en_GB.mo b/languages/woocommerce-payment-methods.mo similarity index 83% rename from languages/payment-methods-en_GB.mo rename to languages/woocommerce-payment-methods.mo index 238ee100c186759641e6f91b1c8ff9b03a5d424d..d518eb32a077dae1d45796f87a2651b507c4585f 100644 GIT binary patch delta 37 icmey!{E>M=Be$V}u92~Vp@o&9;lv(UWbVc-wu}JIH3}U7 delta 37 icmey!{E>M=Be#L2u91;~fq|8Q<-{IYWbVc-wu}JI`U)oi diff --git a/languages/woocommerce-payment-methods.pot b/languages/woocommerce-payment-methods.pot new file mode 100644 index 0000000..1b28f12 --- /dev/null +++ b/languages/woocommerce-payment-methods.pot @@ -0,0 +1,111 @@ +msgid "" +msgstr "" +"Project-Id-Version: WooCommerce Payment Methods\n" +"POT-Creation-Date: 2014-10-23 18:11+0100\n" +"PO-Revision-Date: 2014-10-23 18:11+0100\n" +"Last-Translator: \n" +"Language-Team: vendocrat \n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.7\n" +"X-Poedit-Basepath: .\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-SearchPath-0: ..\n" + +#: ../classes/class-wc-payment-methods.php:60 +msgid "Bank Transfer" +msgstr "" + +#: ../classes/class-wc-payment-methods.php:65 +msgid "Cash" +msgstr "" + +#: ../classes/class-wc-payment-methods.php:66 +msgid "Cash on Delivery" +msgstr "" + +#: ../classes/class-wc-payment-methods.php:69 +msgid "Pay with Cheque" +msgstr "" + +#: ../classes/class-wc-payment-methods.php:71 +msgid "Credit Card" +msgstr "" + +#: ../classes/class-wc-payment-methods.php:76 +#: ../classes/class-wc-payment-methods.php:77 +#: ../classes/class-wc-payment-methods.php:83 +#: ../classes/class-wc-payment-methods.php:95 +msgid "Invoice" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:33 +msgid "Payment Methods" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:34 +msgid "Easily display your accepted payment methods" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:35 +msgid "Accepted Payment Methods" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:107 +msgid "Title" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:111 +msgid "Style" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:113 +msgid "Default" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:114 +msgid "Inverse" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:115 +msgid "Outline" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:119 +msgid "Add Tooltip markup?" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:121 +msgid "No" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:122 +msgid "Yes" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:126 +msgid "Placement" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:128 +msgid "Top" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:129 +msgid "Right" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:130 +msgid "Bottom" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:131 +msgid "Left" +msgstr "" + +#: ../classes/class-widget-wc-payment-methods.php:135 +msgid "Extra classes" +msgstr "" diff --git a/readme.txt b/readme.txt index 6f78513..7f3559c 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: http://vendocr.at/donate/ Tags: woocommerce, credit card, logo, payment Requires at least: 3.5 Tested up to: 4.1 -Stable tag: 0.2.1 +Stable tag: 0.3.0 License: GNU General Public License v3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -24,7 +24,7 @@ This plugin uses the webfont [PaymentFont](https://github.com/vendocrat/PaymentF **Contributions** -Contributions are warmly welcome via [GitHub](https://github.com/vendocrat/). +Contributions are warmly welcome via [GitHub](https://github.com/vendocrat/WooCommerce-Payment-Methods). **Translations** @@ -34,13 +34,13 @@ Translations included: * German * Italian -Please contact us via [Twitter](https://twitter.com/vendocrat) or hit us on [GitHub](https://github.com/vendocrat/), if you have a translation you want to contribute! +Please contact us via [Twitter](https://twitter.com/vendocrat) or hit us on [GitHub](https://github.com/vendocrat/WooCommerce-Payment-Methods), if you have a translation you want to contribute! == Installation == 1. Upload 'woocommerce-payment-methods' to the '/wp-content/plugins/' directory 2. Activate the plugin through the 'Plugins' menu in WordPress -3. Display your accepted methods via: Shortcode [v_woo_payment_methods], Widget or template tag '. +3. Display your accepted methods via: Shortcode [wc_payment_methods], Widget or template tag '. 4. Done! == Frequently Asked Questions == @@ -73,4 +73,7 @@ Now using PaymentFont to display brand icons. Fixed textdomain issue plus some m Fixed typo. = 0.2.2 = -Added CSS to replace payment provider images on WooCommerce Checkout with PaymentFont icons (see screenshots). \ No newline at end of file +Added CSS to replace payment provider images on WooCommerce Checkout with PaymentFont icons (see screenshots). + += 0.3.0 = +Improved payment gateway function. Partial rewrite to fit our internal plugin standard. Improved l10n handling. \ No newline at end of file diff --git a/woocommerce-payment-methods.php b/woocommerce-payment-methods.php new file mode 100644 index 0000000..892b6d5 --- /dev/null +++ b/woocommerce-payment-methods.php @@ -0,0 +1,27 @@ +Easily display your accepted payment methods from WooCommerce. Handcrafted with ♥ by vendocrat in Vienna. + * Version: 0.3.0 + * Author: vendocrat + * Author URI: http://vendocr.at/ + * License: vendocrat Split License + * License URI: http://vendocr.at/legal/licenses + */ + +if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly + +// check dependencies +if ( ! in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) + return; + +// require classes +require_once( 'classes/class-wc-payment-methods.php' ); + +global $vendocrat_wc_payment_methods; +$vendocrat_wc_payment_methods = new vendocrat_WC_Payment_Methods( __FILE__ ); +$vendocrat_wc_payment_methods->version = '0.1.0'; + +/* + * E fatto! + */ \ No newline at end of file