Skip to content

Commit

Permalink
Updating build script for notifcations.js.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeet committed Jan 22, 2024
1 parent 426f50f commit 94b4ed0
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 56 deletions.
127 changes: 72 additions & 55 deletions languages/btcpay-greenfield-for-woocommerce.pot
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Copyright (C) 2023 BTCPay Server
# Copyright (C) 2024 BTCPay Server
# This file is distributed under the same license as the BTCPay For Woocommerce V2 plugin.
msgid ""
msgstr ""
"Project-Id-Version: BTCPay For Woocommerce V2 2.4.0\n"
"Project-Id-Version: BTCPay For Woocommerce V2 2.4.1\n"
"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/create-a-ticket/\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-12-12T15:39:41+01:00\n"
"POT-Creation-Date: 2024-01-22T21:36:35+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Generator: WP-CLI 2.9.0\n"
"language-team: LANGUAGE <EMAIL@ADDRESS>\n"
"X-Domain: btcpay-greenfield-for-woocommerce\n"

Expand All @@ -35,65 +35,69 @@ msgstr ""
msgid "https://btcpayserver.org"
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:122
#: btcpay-greenfield-for-woocommerce.php:135
msgid "Plugin not configured yet, please %1$sconfigure the plugin here%2$s"
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:140
#: btcpay-greenfield-for-woocommerce.php:153
msgid "Your PHP version is %s but BTCPay Greenfield Payment plugin requires version 7.4+."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:146
#: btcpay-greenfield-for-woocommerce.php:159
msgid "WooCommerce seems to be not installed. Make sure you do before you activate BTCPayServer Payment Gateway."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:152
#: btcpay-greenfield-for-woocommerce.php:165
msgid "The PHP cURL extension is not installed. Make sure it is available otherwise this plugin will not work."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:162
#: btcpay-greenfield-for-woocommerce.php:175
msgid "Seems you have the old BTCPay for WooCommerce plugin installed. While it should work it is strongly recommended to not run both versions but rely on the maintained version (BTCPay Greenfield for WooCommerce)."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:336
#: btcpay-greenfield-for-woocommerce.php:186
msgid "Thank you for using BTCPay for WooCommerce! If you like the plugin, we would love if you %1$sleave us a review%2$s."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:370
msgid "Settings"
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:338
#: btcpay-greenfield-for-woocommerce.php:372
msgid "Debug log"
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:340
#: btcpay-greenfield-for-woocommerce.php:374
msgid "Docs"
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:342
#: btcpay-greenfield-for-woocommerce.php:376
msgid "Support Chat"
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:382
#: btcpay-greenfield-for-woocommerce.php:416
msgid "Error on verifiying redirected API wey with stored BTCPay Server url. Aborting API wizard. Please try again or do a manual setup."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:404
#: btcpay-greenfield-for-woocommerce.php:438
msgid "Successfully received api key and store id from BTCPay Server API. Please finish setup by saving this settings form."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:408
#: src/Admin/GlobalSettings.php:362
#: btcpay-greenfield-for-woocommerce.php:442
#: src/Admin/GlobalSettings.php:369
msgid "Successfully registered a new webhook on BTCPay Server."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:412
#: src/Admin/GlobalSettings.php:366
#: btcpay-greenfield-for-woocommerce.php:446
#: src/Admin/GlobalSettings.php:373
msgid "Could not register a new webhook on the store."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:421
#: btcpay-greenfield-for-woocommerce.php:455
msgid "Please make sure you only select one store on the BTCPay API authorization page."
msgstr ""

#: btcpay-greenfield-for-woocommerce.php:426
#: btcpay-greenfield-for-woocommerce.php:460
msgid "Error processing the data from BTCPay. Please try again."
msgstr ""

Expand Down Expand Up @@ -268,88 +272,97 @@ msgid "6 confirmations on-chain"
msgstr ""

#: src/Admin/GlobalSettings.php:210
msgid "Modal checkout"
msgid "Protect order status"
msgstr ""

#: src/Admin/GlobalSettings.php:213
msgctxt "global_settings"
msgid "Opens a modal overlay on the checkout page instead of redirecting to BTCPay Server."
msgid "Protects order status from changing if it is already \"processing\" or \"completed\". This will protect against orders getting cancelled via webhook if they were paid in the meantime with another payment gateway. Default is ON."
msgstr ""

#: src/Admin/GlobalSettings.php:217
msgid "Separate Payment Gateways"
msgid "Modal checkout"
msgstr ""

#: src/Admin/GlobalSettings.php:220
msgctxt "global_settings"
msgid "Make all supported and enabled payment methods available as their own payment gateway. This opens new possibilities like discounts for specific payment methods. See our <a href=\"https://docs.btcpayserver.org/FAQ/Integrations/#how-to-configure-additional-token-support-separate-payment-gateways\" target=\"_blank\">full guide here</a>"
msgid "Opens a modal overlay on the checkout page instead of redirecting to BTCPay Server."
msgstr ""

#: src/Admin/GlobalSettings.php:224
msgid "Send customer data to BTCPayServer"
msgid "Separate Payment Gateways"
msgstr ""

#: src/Admin/GlobalSettings.php:227
msgctxt "global_settings"
msgid "If you want customer email, address, etc. sent to BTCPay Server enable this option. By default for privacy and GDPR reasons this is disabled."
msgid "Make all supported and enabled payment methods available as their own payment gateway. This opens new possibilities like discounts for specific payment methods. See our <a href=\"https://docs.btcpayserver.org/FAQ/Integrations/#how-to-configure-additional-token-support-separate-payment-gateways\" target=\"_blank\">full guide here</a>"
msgstr ""

#: src/Admin/GlobalSettings.php:231
msgid "Sats-Mode"
msgid "Send customer data to BTCPayServer"
msgstr ""

#: src/Admin/GlobalSettings.php:234
msgctxt "global_settings"
msgid "Makes Satoshis/Sats available as currency \"SAT\" (can be found in WooCommerce->Settings->General) and handles conversion to BTC before creating the invoice on BTCPay."
msgid "If you want customer email, address, etc. sent to BTCPay Server enable this option. By default for privacy and GDPR reasons this is disabled."
msgstr ""

#: src/Admin/GlobalSettings.php:238
msgid "Debug Log"
msgid "Sats-Mode"
msgstr ""

#: src/Admin/GlobalSettings.php:241
msgctxt "global_settings"
msgid "Makes Satoshis/Sats available as currency \"SAT\" (can be found in WooCommerce->Settings->General) and handles conversion to BTC before creating the invoice on BTCPay."
msgstr ""

#: src/Admin/GlobalSettings.php:245
msgid "Debug Log"
msgstr ""

#: src/Admin/GlobalSettings.php:248
msgctxt "global_settings"
msgid "Enable logging <a href=\"%s\" class=\"button\">View Logs</a>"
msgstr ""

#: src/Admin/GlobalSettings.php:273
#: src/Admin/GlobalSettings.php:280
msgid "The provided API key scope is valid for multiple stores, please make sure to create one for a single store."
msgstr ""

#: src/Admin/GlobalSettings.php:281
#: src/Admin/GlobalSettings.php:288
msgid "The provided API key does not match the required permissions. Please make sure the following permissions are are given: %s"
msgstr ""

#: src/Admin/GlobalSettings.php:295
#: src/Admin/GlobalSettings.php:302
msgid "Your BTCPay Server is not fully synched yet. Until fully synched the checkout will not work."
msgstr ""

#: src/Admin/GlobalSettings.php:304
#: src/Admin/GlobalSettings.php:311
msgid "Your BTCPay Server version does not support refunds, please update to at least version 1.7.6 or newer."
msgstr ""

#: src/Admin/GlobalSettings.php:310
#: src/Admin/GlobalSettings.php:317
msgid "Your api key does not support refunds, if you want to use that feature you need to create a new API key with permission. See our guide <a href=\"https://docs.btcpayserver.org/WooCommerce/#create-a-new-api-key\" target=\"_blank\" rel=\"noreferrer\">here</a>."
msgstr ""

#: src/Admin/GlobalSettings.php:333
#: src/Admin/GlobalSettings.php:354
#: src/Admin/GlobalSettings.php:340
#: src/Admin/GlobalSettings.php:361
msgid "Successfully setup manual webhook."
msgstr ""

#: src/Admin/GlobalSettings.php:337
#: src/Admin/GlobalSettings.php:344
msgid "Webhook already exists, skipping webhook creation."
msgstr ""

#: src/Admin/GlobalSettings.php:379
#: src/Admin/GlobalSettings.php:386
msgid "No wallet configured on your BTCPay Server store settings. Make sure to add at least one otherwise this plugin will not work."
msgstr ""

#: src/Admin/GlobalSettings.php:385
#: src/Admin/GlobalSettings.php:392
msgid "Exception loading wallet information (payment methods) from BTCPay Server: %s."
msgstr ""

#: src/Admin/GlobalSettings.php:394
#: src/Admin/GlobalSettings.php:401
msgid "Error fetching data for this API key from server. Please check if the key is valid. Error: %s"
msgstr ""

Expand Down Expand Up @@ -424,59 +437,63 @@ msgctxt "js"
msgid "Payment aborted by you. Please try again or choose a different payment method."
msgstr ""

#: src/Gateway/AbstractGateway.php:463
#: src/Gateway/AbstractGateway.php:466
msgid "Webhook (%s) received from BTCPay, but the order is already processing or completed, skipping to update order status. Please manually check if everything is alright."
msgstr ""

#: src/Gateway/AbstractGateway.php:478
msgid "Invoice (partial) payment incoming (unconfirmed) after invoice was already expired."
msgstr ""

#: src/Gateway/AbstractGateway.php:466
#: src/Gateway/AbstractGateway.php:481
msgid "Invoice (partial) payment incoming (unconfirmed). Waiting for settlement."
msgstr ""

#: src/Gateway/AbstractGateway.php:485
#: src/Gateway/AbstractGateway.php:500
msgid "Invoice fully settled after invoice was already expired. Needs manual checking."
msgstr ""

#: src/Gateway/AbstractGateway.php:490
#: src/Gateway/AbstractGateway.php:505
msgid "(Partial) payment settled but invoice not settled yet (could be more transactions incoming). Needs manual checking."
msgstr ""

#: src/Gateway/AbstractGateway.php:494
#: src/Gateway/AbstractGateway.php:509
msgid "Invoice (partial) payment settled."
msgstr ""

#: src/Gateway/AbstractGateway.php:504
#: src/Gateway/AbstractGateway.php:519
msgid "Invoice payment received fully with overpayment, waiting for settlement."
msgstr ""

#: src/Gateway/AbstractGateway.php:506
#: src/Gateway/AbstractGateway.php:521
msgid "Invoice payment received fully, waiting for settlement."
msgstr ""

#: src/Gateway/AbstractGateway.php:512
#: src/Gateway/AbstractGateway.php:527
msgid "Invoice manually marked invalid."
msgstr ""

#: src/Gateway/AbstractGateway.php:514
#: src/Gateway/AbstractGateway.php:529
msgid "Invoice became invalid."
msgstr ""

#: src/Gateway/AbstractGateway.php:520
#: src/Gateway/AbstractGateway.php:535
msgid "Invoice expired but was paid partially, please check."
msgstr ""

#: src/Gateway/AbstractGateway.php:523
#: src/Gateway/AbstractGateway.php:538
msgid "Invoice expired."
msgstr ""

#: src/Gateway/AbstractGateway.php:529
#: src/Gateway/AbstractGateway.php:544
msgid "Invoice payment settled but was overpaid."
msgstr ""

#: src/Gateway/AbstractGateway.php:532
#: src/Gateway/AbstractGateway.php:547
msgid "Invoice payment settled."
msgstr ""

#: src/Gateway/AbstractGateway.php:575
#: src/Gateway/AbstractGateway.php:590
msgid "BTCPay invoice manually set to invalid because customer went back to checkout and changed payment gateway."
msgstr ""

Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ module.exports = {
patterns: [
{ from: 'resources/js/frontend/modalCheckout.js', to: 'frontend/', info: { minimized: true } },
{ from: 'resources/js/backend/gatewayIconMedia.js', to: 'backend/', info: { minimized: true } },
{ from: 'resources/js/backend/apiKeyRedirect.js', to: 'backend/', info: { minimized: true } }
{ from: 'resources/js/backend/apiKeyRedirect.js', to: 'backend/', info: { minimized: true } },
{ from: 'resources/js/backend/notifications.js', to: 'backend/', info: { minimized: true } }
]
})
]
Expand Down

0 comments on commit 94b4ed0

Please sign in to comment.