Plugin Directory

Changeset 3017484


Ignore:
Timestamp:
01/04/2024 03:05:05 PM (2 years ago)
Author:
eligmaltd
Message:

Config patch. Update success note.

Location:
gls-pay/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • gls-pay/trunk/gls-pay.php

    r3005597 r3017484  
    33 * Plugin Name: GLS Pay
    44 * Description: Pay fast and secure with cards, crypto and other digital payments.
    5  * Version: 1.1.2
     5 * Version: 1.1.3
    66 * Author: Eligma Ltd.
    77 * Author URI: https://gocrypto.com
     
    6969
    7070                // set title and badge icon
    71                 $this->title = $config['title'];
    72                 $this->badgeIcon = $config['badge_icon'];
     71                if (!is_string($config) && !empty($config)) {
     72                    $this->title = $config['title'];
     73                    $this->badgeIcon = $config['badge_icon'];
     74                }
    7375
    7476                // set client form
     
    272274                        if ($transactionStatus === 'SUCCESS' || $transactionStatus === 'OVERPAID') {
    273275                            global $woocommerce;
    274                             /* translators: %s: payment method */
    275                             $statusMsg = sprintf(__('Payment completed with %s.', 'gls_pay'), $paymentMethod);
     276                            /* translators: %s %s: payment method, payment ID */
     277                            $statusMsg = sprintf(__('Payment completed with %s and payment ID: %s.', 'gls_pay'), $paymentMethod, $transactionId);
    276278                            $order->update_status('processing', $statusMsg);
    277279                            $woocommerce->cart->empty_cart();
  • gls-pay/trunk/languages/gls_pay-en_US.po

    r2771527 r3017484  
    22msgstr ""
    33"Project-Id-Version: GLS Pay\n"
    4 "POT-Creation-Date: 2022-07-19 13:10+0200\n"
    5 "PO-Revision-Date: 2022-08-17 11:30+0200\n"
     4"POT-Creation-Date: 2024-01-04 16:01+0100\n"
     5"PO-Revision-Date: 2024-01-04 16:01+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    2222"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2323
    24 #: gls-pay.php:54
     24#: gls-pay.php:56 trunk/gls-pay.php:56
    2525msgid "Place order"
    2626msgstr ""
    2727
    2828#. Description of the plugin/theme
    29 #: gls-pay.php:55
     29#: gls-pay.php:57 trunk/gls-pay.php:57
    3030msgid "Pay fast and secure with cards, crypto and other digital payments."
    3131msgstr ""
    3232
    33 #: gls-pay.php:150 gls-pay.php:154
     33#: gls-pay.php:157 gls-pay.php:161 trunk/gls-pay.php:155 trunk/gls-pay.php:159
    3434msgid "Something went wrong on pairing!"
    3535msgstr ""
    3636
    37 #: gls-pay.php:240 gls-pay.php:253 gls-pay.php:268 gls-pay.php:299
    38 #: gls-pay.php:305
     37#: gls-pay.php:245 gls-pay.php:257 gls-pay.php:294 gls-pay.php:300
     38#: trunk/gls-pay.php:243 trunk/gls-pay.php:255 trunk/gls-pay.php:292
     39#: trunk/gls-pay.php:298
    3940msgid "Payment failed!"
    4041msgstr ""
    4142
    42 #: gls-pay.php:260
     43#: gls-pay.php:264 trunk/gls-pay.php:262
    4344msgid "Order is already completed!"
    4445msgstr ""
    4546
    46 #. translators: %s: payment method
    47 #: gls-pay.php:281
     47#. translators: %s %s: payment method, payment ID
     48#: gls-pay.php:277
    4849#, php-format
    49 msgid "Payment completed with %s."
     50msgid "Payment completed with %s and payment ID: %s."
    5051msgstr ""
    5152
    5253#: includes/client-settings.php:12 includes/client-settings.php:14
     54#: trunk/includes/client-settings.php:12 trunk/includes/client-settings.php:14
    5355msgid "Enable"
    5456msgstr ""
    5557
    5658#: includes/client-settings.php:18 includes/pair-settings.php:12
     59#: trunk/includes/client-settings.php:18 trunk/includes/pair-settings.php:12
    5760msgid "Host"
    5861msgstr ""
    5962
    60 #: includes/client-settings.php:26
     63#: includes/client-settings.php:26 includes/pair-settings.php:22
     64#: trunk/includes/client-settings.php:26 trunk/includes/pair-settings.php:22
     65msgid "Skin"
     66msgstr ""
     67
     68#: includes/client-settings.php:31 trunk/includes/client-settings.php:31
    6169msgid "Client ID"
    6270msgstr ""
    6371
    64 #: includes/client-settings.php:34
     72#: includes/client-settings.php:39 trunk/includes/client-settings.php:39
    6573msgid "Client Secret"
    6674msgstr ""
    6775
    68 #: includes/client-settings.php:42 includes/pair-settings.php:27
     76#: includes/client-settings.php:47 includes/pair-settings.php:32
     77#: trunk/includes/client-settings.php:47 trunk/includes/pair-settings.php:32
    6978msgid "Sandbox"
    7079msgstr ""
    7180
    72 #: includes/pair-settings.php:17
     81#: includes/pair-settings.php:17 trunk/includes/pair-settings.php:17
    7382msgid "OTP"
    7483msgstr ""
    7584
    76 #: includes/pair-settings.php:22
     85#: includes/pair-settings.php:27 trunk/includes/pair-settings.php:27
    7786msgid "Terminal ID"
    7887msgstr ""
    7988
    80 #: includes/pair-settings.php:29
     89#: includes/pair-settings.php:34 trunk/includes/pair-settings.php:34
    8190msgid "Enable sandbox"
    8291msgstr ""
    8392
    84 #: includes/pair-settings.php:31
     93#: includes/pair-settings.php:36 trunk/includes/pair-settings.php:36
    8594msgid "Sandbox can be used to test payments"
     95msgstr ""
     96
     97#. translators: %s: payment method
     98#: trunk/gls-pay.php:275
     99#, php-format
     100msgid "Payment completed with %s."
    86101msgstr ""
    87102
  • gls-pay/trunk/languages/gls_pay-sl_SI.po

    r2771527 r3017484  
    22msgstr ""
    33"Project-Id-Version: GLS Pay\n"
    4 "POT-Creation-Date: 2022-08-03 09:41+0200\n"
    5 "PO-Revision-Date: 2022-08-17 11:30+0200\n"
     4"POT-Creation-Date: 2024-01-04 16:01+0100\n"
     5"PO-Revision-Date: 2024-01-04 16:01+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n%100<=4 ? 2 : 3);\n"
     12"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n"
     13"%100<=4 ? 2 : 3);\n"
    1314"X-Generator: Poedit 3.1.1\n"
    1415"X-Poedit-Basepath: ..\n"
     
    1617"X-Poedit-WPHeader: gls-pay.php\n"
    1718"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;"
    19 "esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;"
    20 "__ngettext_noop:1,2\n"
     19"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
     20"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
     21"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2122"X-Poedit-SearchPath-0: .\n"
    2223"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2324"X-Poedit-SearchPathExcluded-1: vendor\n"
    2425
    25 #: gls-pay.php:56
     26#: gls-pay.php:56 trunk/gls-pay.php:56
    2627msgid "Place order"
    2728msgstr "Oddaj naročilo"
    2829
    2930#. Description of the plugin/theme
    30 #: gls-pay.php:57
     31#: gls-pay.php:57 trunk/gls-pay.php:57
    3132msgid "Pay fast and secure with cards, crypto and other digital payments."
    32 msgstr "Hitro in varno plačevanje s karticami, kriptovalutami in drugimi digitalnimi načini plačil."
     33msgstr ""
     34"Hitro in varno plačevanje s karticami, kriptovalutami in drugimi digitalnimi "
     35"načini plačil."
    3336
    34 #: gls-pay.php:152 gls-pay.php:156
     37#: gls-pay.php:157 gls-pay.php:161 trunk/gls-pay.php:155 trunk/gls-pay.php:159
    3538msgid "Something went wrong on pairing!"
    3639msgstr "Something went wrong on pairing!"
    3740
    38 #: gls-pay.php:231 gls-pay.php:243 gls-pay.php:281 gls-pay.php:287
     41#: gls-pay.php:245 gls-pay.php:257 gls-pay.php:294 gls-pay.php:300
     42#: trunk/gls-pay.php:243 trunk/gls-pay.php:255 trunk/gls-pay.php:292
     43#: trunk/gls-pay.php:298
    3944msgid "Payment failed!"
    4045msgstr "Plačilo ni uspelo."
    4146
    42 #: gls-pay.php:250
     47#: gls-pay.php:264 trunk/gls-pay.php:262
    4348msgid "Order is already completed!"
    4449msgstr "Naročilo je zaključeno."
    4550
    46 #. translators: %s: payment method
    47 #: gls-pay.php:263
     51#. translators: %s %s: payment method, payment ID
     52#: gls-pay.php:277
    4853#, php-format
    49 msgid "Payment completed with %s."
    50 msgstr "Plačilo zaključeno prek %s."
     54msgid "Payment completed with %s and payment ID: %s."
     55msgstr "Plačilo zaključeno prek %s in ID: %s."
    5156
    5257#: includes/client-settings.php:12 includes/client-settings.php:14
     58#: trunk/includes/client-settings.php:12 trunk/includes/client-settings.php:14
    5359msgid "Enable"
    5460msgstr "Omogoči"
    5561
    5662#: includes/client-settings.php:18 includes/pair-settings.php:12
     63#: trunk/includes/client-settings.php:18 trunk/includes/pair-settings.php:12
    5764msgid "Host"
    5865msgstr "Host"
    5966
    60 #: includes/client-settings.php:26
     67#: includes/client-settings.php:26 includes/pair-settings.php:22
     68#: trunk/includes/client-settings.php:26 trunk/includes/pair-settings.php:22
     69msgid "Skin"
     70msgstr ""
     71
     72#: includes/client-settings.php:31 trunk/includes/client-settings.php:31
    6173msgid "Client ID"
    6274msgstr "Client ID"
    6375
    64 #: includes/client-settings.php:34
     76#: includes/client-settings.php:39 trunk/includes/client-settings.php:39
    6577msgid "Client Secret"
    6678msgstr "Client Secret"
    6779
    68 #: includes/client-settings.php:42 includes/pair-settings.php:27
     80#: includes/client-settings.php:47 includes/pair-settings.php:32
     81#: trunk/includes/client-settings.php:47 trunk/includes/pair-settings.php:32
    6982msgid "Sandbox"
    7083msgstr "Testno okolje"
    7184
    72 #: includes/pair-settings.php:17
     85#: includes/pair-settings.php:17 trunk/includes/pair-settings.php:17
    7386msgid "OTP"
    7487msgstr "OTP"
    7588
    76 #: includes/pair-settings.php:22
     89#: includes/pair-settings.php:27 trunk/includes/pair-settings.php:27
    7790msgid "Terminal ID"
    7891msgstr "Terminal ID"
    7992
    80 #: includes/pair-settings.php:29
     93#: includes/pair-settings.php:34 trunk/includes/pair-settings.php:34
    8194msgid "Enable sandbox"
    8295msgstr "Omogoči testno okolje"
    8396
    84 #: includes/pair-settings.php:31
     97#: includes/pair-settings.php:36 trunk/includes/pair-settings.php:36
    8598msgid "Sandbox can be used to test payments"
    8699msgstr "Testno okolje se uporablja za testna plačila."
     100
     101#. translators: %s: payment method
     102#: trunk/gls-pay.php:275
     103#, php-format
     104msgid "Payment completed with %s."
     105msgstr "Plačilo zaključeno prek %s."
    87106
    88107#. Plugin Name of the plugin/theme
  • gls-pay/trunk/readme.txt

    r3005597 r3017484  
    22Plugin Name: GLS Pay
    33Description: Pay fast and secure with cards, crypto and other digital payments.
    4 Stable tag: 1.1.2
     4Stable tag: 1.1.3
    55Author: Eligma Ltd.
    66Author URI: https://gocrypto.com
     
    5151== Changelog ==
    5252
     53= 1.1.3 =
     54Config patch. Update success note.
     55
    5356= 1.1.2 =
    5457Items price tax fix
Note: See TracChangeset for help on using the changeset viewer.