Added Paymill and PT language

This commit is contained in:
Luis Martins
2014-11-17 09:48:25 +00:00
parent de9d5edf6f
commit 773a05faab
3 changed files with 158 additions and 24 deletions
+24 -1
View File
@@ -88,6 +88,7 @@ class vendocrat_WC_Payment_Methods {
'ogone' => 'Ogone', 'ogone' => 'Ogone',
'paybox' => 'Paybox', 'paybox' => 'Paybox',
'paylife' => 'Paylife', 'paylife' => 'Paylife',
'paymill' => 'Paymill',
'paypal' => 'PayPal', 'paypal' => 'PayPal',
'paysafecard' => 'paysafecard', 'paysafecard' => 'paysafecard',
'postepay' => 'postepay', 'postepay' => 'postepay',
@@ -333,6 +334,17 @@ class vendocrat_WC_Payment_Methods {
$methods.= ' cheque'; $methods.= ' cheque';
break; break;
case 'paymill' :
$methods.= ' paymill';
$methods.= ' credit-card';
$methods.= ' visa';
$methods.= ' mastercard';
$methods.= ' american-express';
$methods.= ' discover';
$methods.= ' diners';
$methods.= ' jcb';
break;
case 'paypal' : case 'paypal' :
$methods.= ' credit-card'; $methods.= ' credit-card';
$methods.= ' paypal'; $methods.= ' paypal';
@@ -368,7 +380,7 @@ class vendocrat_WC_Payment_Methods {
} else { } else {
$wirecard_gateways_subscription = array(); $wirecard_gateways_subscription = array();
} }
$wirecard_gateways = array_merge( $wirecard_gateways, $wirecard_gateways_subscription ); $wirecard_gateways = array_merge( $wirecard_gateways, $wirecard_gateways_subscription );
if ( count($wirecard_gateways) > 0 ) { if ( count($wirecard_gateways) > 0 ) {
@@ -389,6 +401,17 @@ class vendocrat_WC_Payment_Methods {
$methods.= ' ideal'; $methods.= ' ideal';
break; break;
case 'paymill' :
$methods.= ' paymill';
$methods.= ' credit-card';
$methods.= ' visa';
$methods.= ' mastercard';
$methods.= ' american-express';
$methods.= ' discover';
$methods.= ' diners';
$methods.= ' jcb';
break;
case 'paypal' : case 'paypal' :
$methods.= ' credit-card'; $methods.= ' credit-card';
$methods.= ' paypal'; $methods.= ' paypal';
@@ -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 <hello@vendocr.at>\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 ""
+23 -23
View File
@@ -16,96 +16,96 @@ msgstr ""
"X-Poedit-SearchPath-0: ..\n" "X-Poedit-SearchPath-0: ..\n"
#: ../classes/class-wc-payment-methods.php:60 #: ../classes/class-wc-payment-methods.php:60
msgid "Bank Transfer" msgid "Transferência Bancária"
msgstr "" msgstr ""
#: ../classes/class-wc-payment-methods.php:65 #: ../classes/class-wc-payment-methods.php:65
msgid "Cash" msgid "Dinheiro"
msgstr "" msgstr ""
#: ../classes/class-wc-payment-methods.php:66 #: ../classes/class-wc-payment-methods.php:66
msgid "Cash on Delivery" msgid "Contra Entrega"
msgstr "" msgstr ""
#: ../classes/class-wc-payment-methods.php:69 #: ../classes/class-wc-payment-methods.php:69
msgid "Pay with Cheque" msgid "Cheque"
msgstr "" msgstr ""
#: ../classes/class-wc-payment-methods.php:71 #: ../classes/class-wc-payment-methods.php:71
msgid "Credit Card" msgid "Cartão de Crédito"
msgstr "" msgstr ""
#: ../classes/class-wc-payment-methods.php:76 #: ../classes/class-wc-payment-methods.php:76
#: ../classes/class-wc-payment-methods.php:77 #: ../classes/class-wc-payment-methods.php:77
#: ../classes/class-wc-payment-methods.php:83 #: ../classes/class-wc-payment-methods.php:83
#: ../classes/class-wc-payment-methods.php:95 #: ../classes/class-wc-payment-methods.php:95
msgid "Invoice" msgid "Factura"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:33 #: ../classes/class-widget-wc-payment-methods.php:33
msgid "Payment Methods" msgid "Métodos de Pagamento"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:34 #: ../classes/class-widget-wc-payment-methods.php:34
msgid "Easily display your accepted payment methods" msgid "Apresente facilmente os métodos de pagamento disponíveis"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:35 #: ../classes/class-widget-wc-payment-methods.php:35
msgid "Accepted Payment Methods" msgid "Métodos de Pagamento Aceites"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:107 #: ../classes/class-widget-wc-payment-methods.php:107
msgid "Title" msgid "Título"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:111 #: ../classes/class-widget-wc-payment-methods.php:111
msgid "Style" msgid "Estilos"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:113 #: ../classes/class-widget-wc-payment-methods.php:113
msgid "Default" msgid "Normal"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:114 #: ../classes/class-widget-wc-payment-methods.php:114
msgid "Inverse" msgid "Invertido"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:115 #: ../classes/class-widget-wc-payment-methods.php:115
msgid "Outline" msgid "Contorno"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:119 #: ../classes/class-widget-wc-payment-methods.php:119
msgid "Add Tooltip markup?" msgid "Adicionar código para Tooltip?"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:121 #: ../classes/class-widget-wc-payment-methods.php:121
msgid "No" msgid "Não"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:122 #: ../classes/class-widget-wc-payment-methods.php:122
msgid "Yes" msgid "Sim"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:126 #: ../classes/class-widget-wc-payment-methods.php:126
msgid "Placement" msgid "Posicionamento"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:128 #: ../classes/class-widget-wc-payment-methods.php:128
msgid "Top" msgid "Topo"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:129 #: ../classes/class-widget-wc-payment-methods.php:129
msgid "Right" msgid "Direita"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:130 #: ../classes/class-widget-wc-payment-methods.php:130
msgid "Bottom" msgid "Inferior"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:131 #: ../classes/class-widget-wc-payment-methods.php:131
msgid "Left" msgid "Esquerda"
msgstr "" msgstr ""
#: ../classes/class-widget-wc-payment-methods.php:135 #: ../classes/class-widget-wc-payment-methods.php:135
msgid "Extra classes" msgid "Classes Extra"
msgstr "" msgstr ""