diff --git a/.gitignore b/.gitignore index b2ee44f..125a720 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /tmp /tmp-svn /tmp-plugin +.idea \ No newline at end of file diff --git a/assets/js/frontend/blocks.js b/assets/js/frontend/blocks.js index 53e2458..a9720c2 100644 --- a/assets/js/frontend/blocks.js +++ b/assets/js/frontend/blocks.js @@ -1 +1 @@ -(()=>{"use strict";const t=window.React,e=window.wp.i18n,n=window.wc.wcBlocksRegistry,a=window.wp.htmlEntities,i=(0,window.wc.wcSettings.getSetting)("satispay_data",{}),s=(0,e.__)("Satispay"),c=(0,e.__)("Do it smart. Choose Satispay and pay with a tap!"),o=i.icon,l=(0,a.decodeEntities)(i.title)||s,r=()=>(0,a.decodeEntities)(i.description||c),w={name:"satispay",label:(0,t.createElement)((e=>{const{PaymentMethodLabel:n}=e.components,a=(0,t.createElement)("img",{src:o,alt:l,name:l});return(0,t.createElement)(n,{text:l,icon:a})}),null),content:(0,t.createElement)(r,null),edit:(0,t.createElement)(r,null),canMakePayment:()=>!0,ariaLabel:l,supports:{features:i.supports},icon:i.icon};(0,n.registerPaymentMethod)(w)})(); \ No newline at end of file +(()=>{"use strict";const t=window.React,e=window.wp.i18n,n=window.wc.wcBlocksRegistry,a=window.wp.htmlEntities,i=(0,window.wc.wcSettings.getSetting)("satispay_data",{}),s=(0,e.__)("Satispay"),c=(0,e.__)("People Paying People"),o=i.icon,l=(0,a.decodeEntities)(i.title)||s,r=()=>(0,a.decodeEntities)(i.description||c),w={name:"satispay",label:(0,t.createElement)((e=>{const{PaymentMethodLabel:n}=e.components,a=(0,t.createElement)("img",{src:o,alt:l,name:l});return(0,t.createElement)(n,{text:l,icon:a})}),null),content:(0,t.createElement)(r,null),edit:(0,t.createElement)(r,null),canMakePayment:()=>!0,ariaLabel:l,supports:{features:i.supports},icon:i.icon};(0,n.registerPaymentMethod)(w)})(); \ No newline at end of file diff --git a/readme.txt b/readme.txt index 033bf7c..c6edab6 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Stable tag: 2.2.7 License: MIT License URI: https://opensource.org/licenses/MIT -Save time and money by accepting payments from your customers with Satispay. Free, simple, secure! #doitsmart +Save time and money by accepting payments from your customers with Satispay. Free, simple, secure! #peoplepayingpeople == Description == @@ -36,8 +36,14 @@ Manage all of your refund requests directly with the Refund function integrated As soon as the customer confirms the payment, the transaction is completed, thus eliminating the possibility of chargeback. == Changelog == +<<<<<<< HEAD + += 2.2.7 = +* Updated translations +======= = 2.2.7 = * Updated compatibility to WP-6.8.1 +>>>>>>> master = 2.2.6 = * Updated compatibility to WP-6.6.0 diff --git a/resources/js/frontend/index.js b/resources/js/frontend/index.js index d63f7fb..39b80bb 100644 --- a/resources/js/frontend/index.js +++ b/resources/js/frontend/index.js @@ -11,7 +11,7 @@ const defaultLabel = __( ); const defaultDescription = __( - 'Do it smart. Choose Satispay and pay with a tap!' + 'People Paying People' ); const iconUrl = settings.icon; diff --git a/wc-satispay.php b/wc-satispay.php index 1082bff..38b5e06 100644 --- a/wc-satispay.php +++ b/wc-satispay.php @@ -8,8 +8,7 @@ class WC_Satispay extends WC_Payment_Gateway { const METHOD_TITLE = 'Satispay'; - const ORDER_BUTTON_TEXT = 'Pay with Satispay'; - const METHOD_DESCRIPTION = 'Do it smart. Choose Satispay and pay with a tap!'; + const METHOD_DESCRIPTION = 'People Paying People'; const SUPPORTS = array( 'products', 'refunds' @@ -20,9 +19,9 @@ public function __construct() { $GLOBALS['hide_save_button'] = false; } $this->id = 'satispay'; - $this->method_title = __(self::METHOD_TITLE, 'woo-satispay'); - $this->order_button_text = __(self::ORDER_BUTTON_TEXT, 'woo-satispay'); - $this->method_description = __(self::METHOD_DESCRIPTION, 'woo-satispay'); + $this->method_title = __('Satispay', 'woo-satispay'); + $this->order_button_text = __('Pay with Satispay', 'woo-satispay'); + $this->method_description = __('People Paying People', 'woo-satispay'); $this->has_fields = false; $this->supports = self::SUPPORTS; diff --git a/woo-satispay.php b/woo-satispay.php index a3fa3d5..00b9179 100644 --- a/woo-satispay.php +++ b/woo-satispay.php @@ -2,7 +2,7 @@ /* * Plugin Name: Satispay for WooCommerce * Plugin URI: https://wordpress.org/plugins/woo-satispay/ - * Description: Save time and money by accepting payments from your customers with Satispay. Free, simple, secure! #doitsmart + * Description: Save time and money by accepting payments from your customers with Satispay. Free, simple, secure! #peoplepayingpeople * Author: Satispay * Author URI: https://www.satispay.com/ * Version: 2.2.7 diff --git a/woo-satispay.pot b/woo-satispay.pot index 63c704a..b0095a4 100644 --- a/woo-satispay.pot +++ b/woo-satispay.pot @@ -26,11 +26,14 @@ msgstr "" #. Description of the plugin #: woo-satispay.php -msgid "Save time and money by accepting payments from your customers with Satispay. Free, simple, secure! #doitsmart" +msgid "Save time and money by accepting payments from your customers with Satispay. Free, simple, secure! #peoplepayingpeople" msgstr "" #. Author of the plugin #: woo-satispay.php +#: wc-satispay.php:22 +#: assets/js/frontend/blocks.js:1 +#: resources/js/frontend/index.js:9 msgid "Satispay" msgstr "" @@ -39,15 +42,25 @@ msgstr "" msgid "https://www.satispay.com/" msgstr "" -#: wc-satispay.php:117 +#: wc-satispay.php:23 +msgid "Pay with Satispay" +msgstr "" + +#: wc-satispay.php:24 +#: assets/js/frontend/blocks.js:1 +#: resources/js/frontend/index.js:13 +msgid "People Paying People" +msgstr "" + +#: wc-satispay.php:116 msgid "Enable/Disable" msgstr "" -#: wc-satispay.php:118 +#: wc-satispay.php:117 msgid "Enable Satispay" msgstr "" -#: wc-satispay.php:123 +#: wc-satispay.php:122 msgid "Activation Code" msgstr "" @@ -56,11 +69,11 @@ msgstr "" msgid "Get a six characters Activation Code from Online Shop section on Satispay Dashboard." msgstr "" -#: wc-satispay.php:128 +#: wc-satispay.php:127 msgid "Sandbox" msgstr "" -#: wc-satispay.php:129 +#: wc-satispay.php:128 msgid "Sandbox Mode" msgstr "" @@ -69,24 +82,24 @@ msgstr "" msgid "Sandbox Mode can be used to test payments. Request a Sandbox Account." msgstr "" -#: wc-satispay.php:135 +#: wc-satispay.php:134 msgid "Finalize unhandled payments" msgstr "" -#: wc-satispay.php:136 +#: wc-satispay.php:135 msgid "Enable cron" msgstr "" -#: wc-satispay.php:139 +#: wc-satispay.php:138 msgid "Finalize unhandled Satispay payments with a cron." msgstr "" +#: wc-satispay.php:141 #: wc-satispay.php:142 -#: wc-satispay.php:143 msgid "Finalize pending payments up to" msgstr "" -#: wc-satispay.php:146 +#: wc-satispay.php:145 msgid "Choose a number of hours, default is four and minimum is two." msgstr "" @@ -103,3 +116,7 @@ msgstr "" #: woo-satispay.php:53 msgid "Settings" msgstr "" + +#: woo-satispay.php:70 +msgid "Every 4 hours" +msgstr "" \ No newline at end of file