Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BCSAT-77] New translations, update .pot, readme, .gitignore #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/tmp
/tmp-svn
/tmp-plugin
.idea
2 changes: 1 addition & 1 deletion assets/js/frontend/blocks.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Contributors: Satispay
Tags: woocommerce, satispay, payment method
Requires at least: 5.0
Tested up to: 6.6.0
Stable tag: 2.2.6
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 ==

Expand Down Expand Up @@ -36,6 +36,10 @@ 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 ==

= 2.2.7 =
* Updated translations

= 2.2.6 =
* Updated compatibility to WP-6.6.0

Expand Down
2 changes: 1 addition & 1 deletion resources/js/frontend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const defaultLabel = __(
);

const defaultDescription = __(
'Do it smart. Choose Satispay and pay with a tap!'
'People Paying People. Choose Satispay and pay with a tap!'
);

const iconUrl = settings.icon;
Expand Down
9 changes: 4 additions & 5 deletions wc-satispay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. Choose Satispay and pay with a tap!';
const SUPPORTS = array(
'products',
'refunds'
Expand All @@ -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. Choose Satispay and pay with a tap!', 'woo-satispay');
$this->has_fields = false;
$this->supports = self::SUPPORTS;

Expand Down
4 changes: 2 additions & 2 deletions woo-satispay.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
/*
* Plugin Name: WooCommerce Satispay
* 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.6
* Version: 2.2.7
* WC tested up to: 8.9.2
*/

Expand Down
55 changes: 36 additions & 19 deletions woo-satispay.pot
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Copyright (C) 2024 Satispay
# Copyright (C) 2025 Satispay
# This file is distributed under the same license as the WooCommerce Satispay plugin.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Satispay 2.2.6\n"
"Project-Id-Version: WooCommerce Satispay 2.2.7\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-satispay\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-06-25T09:03:33+00:00\n"
"POT-Creation-Date: 2025-03-06T09:08:21+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Generator: WP-CLI 2.11.0\n"
"X-Domain: woo-satispay\n"

#. Plugin Name of the plugin
Expand All @@ -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 ""

Expand All @@ -39,63 +42,77 @@ 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. Choose Satispay and pay with a tap!"
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 ""

#: wc-satispay.php:125
#: wc-satispay.php:124
msgid "Get a six characters Activation Code from Online Shop section on <a href=\"%s\" target=\"_blank\">Satispay Dashboard</a>."
msgstr ""

#: wc-satispay.php:128
#: wc-satispay.php:127
msgid "Sandbox"
msgstr ""

#: wc-satispay.php:129
#: wc-satispay.php:128
msgid "Sandbox Mode"
msgstr ""

#: wc-satispay.php:132
#: wc-satispay.php:131
msgid "Sandbox Mode can be used to test payments. Request a <a href=\"%s\" target=\"_blank\">Sandbox Account</a>."
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 ""

#: wc-satispay.php:217
#: wc-satispay.php:216
msgid "The Activation Code \"%s\" is invalid"
msgstr ""

#: wc-satispay.php:235
#: wc-satispay.php:234
msgid "Satispay is not correctly configured, get an Activation Code from Online Shop section on <a href=\"%s\" target=\"_blank\">Satispay Dashboard</a>"
msgstr ""

#: woo-satispay.php:53
msgid "Settings"
msgstr ""

#: woo-satispay.php:70
msgid "Every 4 hours"
msgstr ""