From 77fba4aee33e090f9e7c26d408f2378e4b8794c4 Mon Sep 17 00:00:00 2001 From: d11n Date: Thu, 17 Oct 2024 15:51:40 +0200 Subject: [PATCH] Add more translations (#6302) * Newlines * Dashboard * Add more translations * Moar * Remove   from translated texts * Dictionary controller translations * Batch 1 of controller updates * Batch 2 of controller updates * Component translations * Batch 3 of controller updates * Fixes --- .../ITempDataDictionaryExtensions.cs | 17 +- BTCPayServer.Tests/UnitTest1.cs | 2 +- .../Components/AppSales/Default.cshtml | 29 +- .../Components/AppTopItems/Default.cshtml | 51 +- .../Components/InvoiceStatus/Default.cshtml | 8 +- .../Components/LabelManager/Default.cshtml | 2 +- BTCPayServer/Components/Pager/Default.cshtml | 6 +- .../StoreLightningBalance/Default.cshtml | 18 +- .../StoreLightningServices/Default.cshtml | 2 +- .../Components/StoreNumbers/Default.cshtml | 2 +- .../Controllers/UIAccountController.cs | 26 +- BTCPayServer/Controllers/UIAppsController.cs | 20 +- .../Controllers/UIInvoiceController.UI.cs | 66 +- .../Controllers/UIInvoiceController.cs | 4 + .../Controllers/UILNURLAuthController.cs | 15 +- BTCPayServer/Controllers/UILNURLController.cs | 32 +- .../Controllers/UIManageController.APIKeys.cs | 14 +- .../UIManageController.Notifications.cs | 3 +- .../Controllers/UIManageController.cs | 25 +- .../Controllers/UIPaymentRequestController.cs | 32 +- .../Controllers/UIPublicController.cs | 10 +- .../UIPullPaymentController.Boltcard.cs | 38 +- .../Controllers/UIPullPaymentController.cs | 26 +- .../Controllers/UIServerController.Plugins.cs | 24 +- .../Controllers/UIServerController.Roles.cs | 22 +- .../Controllers/UIServerController.Storage.cs | 30 +- .../UIServerController.Translations.cs | 31 +- .../Controllers/UIServerController.Users.cs | 40 +- .../Controllers/UIServerController.cs | 66 +- ...torePullPaymentsController.PullPayments.cs | 44 +- .../Controllers/UIStoresController.Email.cs | 27 +- .../UIStoresController.Integrations.cs | 14 +- .../UIStoresController.LightningLike.cs | 21 +- .../Controllers/UIStoresController.Onchain.cs | 34 +- .../Controllers/UIStoresController.Rates.cs | 20 +- .../Controllers/UIStoresController.Roles.cs | 18 +- .../UIStoresController.Settings.cs | 28 +- .../Controllers/UIStoresController.Tokens.cs | 6 +- .../Controllers/UIStoresController.Users.cs | 10 +- .../Controllers/UIStoresController.cs | 4 + .../Controllers/UIUserStoresController.cs | 1 - .../Controllers/UIWalletsController.PSBT.cs | 32 +- .../Controllers/UIWalletsController.cs | 23 +- .../BitcoinLike/BitcoinLikePayoutHandler.cs | 2 +- BTCPayServer/Fido2/UIFido2Controller.cs | 18 +- BTCPayServer/Forms/UIFormsController.cs | 10 +- .../Models/ManageViewModels/IndexViewModel.cs | 2 + .../Models/StoreViewModels/TokensViewModel.cs | 1 + ...ningAutomatedPayoutProcessorsController.cs | 16 +- ...hainAutomatedPayoutProcessorsController.cs | 17 +- .../UIPayoutProcessorsController.cs | 14 +- .../Controllers/UICrowdfundController.cs | 6 +- .../Controllers/UIPayButtonController.cs | 8 +- .../Controllers/UIPointOfSaleController.cs | 6 +- .../Monero/UI/MoneroLikeStoreController.cs | 25 +- .../Zcash/UI/ZcashLikeStoreController.cs | 18 +- BTCPayServer/Services/Translations.Default.cs | 933 +++++++++++++++++- BTCPayServer/Services/Translations.cs | 8 - .../Shared/Bitcoin/NBXSyncSummary.cshtml | 22 +- .../Bitcoin/ViewBitcoinLikePaymentData.cshtml | 22 +- .../Shared/Crowdfund/NavExtension.cshtml | 2 +- .../Crowdfund/Public/ContributeForm.cshtml | 15 +- .../Crowdfund/Public/ViewCrowdfund.cshtml | 51 +- .../Shared/Crowdfund/UpdateCrowdfund.cshtml | 18 +- BTCPayServer/Views/Shared/EmailsBody.cshtml | 19 +- BTCPayServer/Views/Shared/EmailsTest.cshtml | 6 +- BTCPayServer/Views/Shared/ListRoles.cshtml | 24 +- .../Shared/PointOfSale/Public/Cart.cshtml | 4 +- .../Shared/PointOfSale/Public/Light.cshtml | 2 +- .../PointOfSale/Public/MinimalLight.cshtml | 2 +- .../Shared/PointOfSale/Public/Print.cshtml | 2 +- .../Public/RecentTransactions.cshtml | 2 +- .../Shared/PointOfSale/Public/Static.cshtml | 15 +- .../Shared/PointOfSale/Public/VueLight.cshtml | 6 +- .../Views/UIAccount/CheatPermissions.cshtml | 4 +- .../Views/UIAccount/ForgotPassword.cshtml | 8 +- .../ForgotPasswordConfirmation.cshtml | 4 +- BTCPayServer/Views/UIAccount/Lockout.cshtml | 6 +- BTCPayServer/Views/UIAccount/Login.cshtml | 6 +- .../Views/UIAccount/LoginWith2fa.cshtml | 4 +- .../Views/UIAccount/LoginWithFido2.cshtml | 12 +- .../Views/UIAccount/LoginWithLNURLAuth.cshtml | 6 +- .../UIAccount/LoginWithRecoveryCode.cshtml | 4 +- BTCPayServer/Views/UIAccount/Register.cshtml | 2 +- .../Views/UIAccount/SecondaryLogin.cshtml | 2 +- BTCPayServer/Views/UIAccount/SignedOut.cshtml | 2 +- BTCPayServer/Views/UIApps/ListApps.cshtml | 10 +- BTCPayServer/Views/UIError/Handle.cshtml | 4 +- BTCPayServer/Views/UIFido2/Create.cshtml | 14 +- BTCPayServer/Views/UIForms/FormsList.cshtml | 12 +- BTCPayServer/Views/UIForms/Modify.cshtml | 72 +- BTCPayServer/Views/UIForms/View.cshtml | 2 +- BTCPayServer/Views/UIHome/Home.cshtml | 4 +- .../Views/UIInvoice/Checkout-Cheating.cshtml | 12 +- .../Views/UIInvoice/CheckoutNoScript.cshtml | 10 +- .../Views/UIInvoice/CreateInvoice.cshtml | 18 +- BTCPayServer/Views/UIInvoice/Invoice.cshtml | 2 +- .../Views/UIInvoice/InvoiceReceipt.cshtml | 2 +- .../UIInvoice/InvoiceReceiptPrint.cshtml | 2 +- .../InvoiceStatusChangePartial.cshtml | 22 +- .../Views/UIInvoice/ListInvoices.cshtml | 77 +- .../ListInvoicesPaymentsPartial.cshtml | 19 +- .../Views/UIInvoice/_RefundModal.cshtml | 20 +- .../Views/UILNURL/EditLightningAddress.cshtml | 12 +- BTCPayServer/Views/UILNURLAuth/Create.cshtml | 8 +- .../Configure.cshtml | 10 +- .../ConfirmLightningPayout.cshtml | 2 +- BTCPayServer/Views/UIManage/APIKeys.cshtml | 16 +- BTCPayServer/Views/UIManage/AddApiKey.cshtml | 6 +- .../Views/UIManage/AuthorizeAPIKey.cshtml | 24 +- .../Views/UIManage/ConfirmAPIKey.cshtml | 4 +- .../Views/UIManage/EnableAuthenticator.cshtml | 18 +- .../UIManage/GenerateRecoveryCodes.cshtml | 6 +- BTCPayServer/Views/UIManage/Index.cshtml | 11 +- BTCPayServer/Views/UIManage/LoginCodes.cshtml | 2 +- .../UIManage/NotificationSettings.cshtml | 10 +- .../Views/UIManage/SetPassword.cshtml | 2 +- .../UIManage/TwoFactorAuthentication.cshtml | 40 +- .../GetStoreMoneroLikePaymentMethod.cshtml | 2 +- .../GetStoreMoneroLikePaymentMethods.cshtml | 11 +- .../Views/UINotifications/Index.cshtml | 22 +- .../Configure.cshtml | 22 +- .../EditPaymentRequest.cshtml | 20 +- .../GetPaymentRequests.cshtml | 30 +- .../ViewPaymentRequest.cshtml | 58 +- .../ConfigureStorePayoutProcessors.cshtml | 12 +- .../Views/UIPublic/PayButtonHandle.cshtml | 2 +- .../ShowLightningNodeInfo.cshtml | 4 +- .../UIPullPayment/EditPullPayment.cshtml | 6 +- .../Views/UIPullPayment/SetupBoltcard.cshtml | 4 +- .../UIPullPayment/ViewPullPayment.cshtml | 41 +- BTCPayServer/Views/UIServer/Branding.cshtml | 20 +- .../UIServer/CLightningRestServices.cshtml | 10 +- .../Views/UIServer/ConfiguratorService.cshtml | 10 +- .../UIServer/CreateTemporaryFileUrl.cshtml | 2 +- BTCPayServer/Views/UIServer/CreateUser.cshtml | 9 +- .../Views/UIServer/DynamicDnsService.cshtml | 8 +- .../Views/UIServer/DynamicDnsServices.cshtml | 24 +- .../EditAmazonS3StorageProvider.cshtml | 10 +- ...EditAzureBlobStorageStorageProvider.cshtml | 14 +- .../Views/UIServer/EditDictionary.cshtml | 21 +- .../EditFileSystemStorageProvider.cshtml | 10 +- ...itGoogleCloudStorageStorageProvider.cshtml | 14 +- BTCPayServer/Views/UIServer/Emails.cshtml | 2 +- BTCPayServer/Views/UIServer/Files.cshtml | 22 +- .../UIServer/LightningChargeServices.cshtml | 8 +- .../UIServer/LightningWalletServices.cshtml | 12 +- .../Views/UIServer/ListDictionaries.cshtml | 2 +- .../Views/UIServer/ListPlugins.cshtml | 90 +- BTCPayServer/Views/UIServer/ListStores.cshtml | 12 +- BTCPayServer/Views/UIServer/ListUsers.cshtml | 52 +- .../Views/UIServer/LndSeedBackup.cshtml | 10 +- .../Views/UIServer/LndServices.cshtml | 17 +- .../Views/UIServer/Maintenance.cshtml | 18 +- BTCPayServer/Views/UIServer/P2PService.cshtml | 18 +- BTCPayServer/Views/UIServer/Policies.cshtml | 39 +- BTCPayServer/Views/UIServer/RPCService.cshtml | 16 +- .../Views/UIServer/ResetUserPassword.cshtml | 4 +- BTCPayServer/Views/UIServer/SSHService.cshtml | 16 +- BTCPayServer/Views/UIServer/Services.cshtml | 32 +- BTCPayServer/Views/UIServer/Storage.cshtml | 8 +- BTCPayServer/Views/UIServer/User.cshtml | 19 +- .../Views/UIShopify/EditShopify.cshtml | 8 +- .../UIStorePullPayments/NewPullPayment.cshtml | 10 +- .../Views/UIStorePullPayments/Payouts.cshtml | 18 +- .../UIStorePullPayments/PullPayments.cshtml | 21 +- .../Views/UIStores/CheckoutAppearance.cshtml | 30 +- .../Views/UIStores/CreateToken.cshtml | 8 +- .../Views/UIStores/GeneralSettings.cshtml | 12 +- .../Views/UIStores/ImportWalletOptions.cshtml | 6 +- BTCPayServer/Views/UIStores/Lightning.cshtml | 5 +- .../Views/UIStores/LightningSettings.cshtml | 11 +- BTCPayServer/Views/UIStores/ListTokens.cshtml | 38 +- .../Views/UIStores/ModifyWebhook.cshtml | 22 +- BTCPayServer/Views/UIStores/Rates.cshtml | 26 +- .../Views/UIStores/RequestPairing.cshtml | 4 +- BTCPayServer/Views/UIStores/ShowToken.cshtml | 8 +- .../Views/UIStores/StoreEmailSettings.cshtml | 12 +- .../Views/UIStores/StoreEmails.cshtml | 35 +- BTCPayServer/Views/UIStores/StoreUsers.cshtml | 24 +- .../Views/UIStores/TestWebhook.cshtml | 6 +- .../Views/UIStores/WalletSettings.cshtml | 18 +- BTCPayServer/Views/UIStores/Webhooks.cshtml | 17 +- .../Views/UIStores/_GenerateWalletForm.cshtml | 38 +- .../Views/UIUserStores/CreateStore.cshtml | 4 +- .../Views/UIUserStores/ListStores.cshtml | 8 +- .../Views/UIWallets/CoinSelection.cshtml | 14 +- .../Views/UIWallets/ListWallets.cshtml | 14 +- .../Views/UIWallets/SignWithSeed.cshtml | 2 +- .../Views/UIWallets/WalletLabels.cshtml | 6 +- .../Views/UIWallets/WalletPSBT.cshtml | 6 +- .../Views/UIWallets/WalletPSBTCombine.cshtml | 4 +- .../Views/UIWallets/WalletPSBTDecoded.cshtml | 26 +- .../Views/UIWallets/WalletReceive.cshtml | 18 +- .../Views/UIWallets/WalletRescan.cshtml | 26 +- .../Views/UIWallets/WalletSend.cshtml | 30 +- .../Views/UIWallets/WalletSendVault.cshtml | 4 +- .../UIWallets/WalletSigningOptions.cshtml | 26 +- .../Views/UIWallets/WalletTransactions.cshtml | 24 +- BTCPayServer/Views/UIWallets/_PSBTInfo.cshtml | 23 +- .../UIWallets/_WalletTransactionsList.cshtml | 2 +- .../GetStoreZcashLikePaymentMethod.cshtml | 13 +- .../GetStoreZcashLikePaymentMethods.cshtml | 11 +- Changelog.md | 2 +- 204 files changed, 2639 insertions(+), 1556 deletions(-) diff --git a/BTCPayServer.Abstractions/Extensions/ITempDataDictionaryExtensions.cs b/BTCPayServer.Abstractions/Extensions/ITempDataDictionaryExtensions.cs index c9ed39e83..b39857cf3 100644 --- a/BTCPayServer.Abstractions/Extensions/ITempDataDictionaryExtensions.cs +++ b/BTCPayServer.Abstractions/Extensions/ITempDataDictionaryExtensions.cs @@ -10,7 +10,7 @@ public static class SetStatusMessageModelExtensions { public static void SetStatusSuccess(this ITempDataDictionary tempData, string statusMessage) { - tempData.SetStatusMessageModel(new StatusMessageModel() + tempData.SetStatusMessageModel(new StatusMessageModel { Severity = StatusMessageModel.StatusSeverity.Success, Message = statusMessage @@ -34,19 +34,14 @@ public static class SetStatusMessageModelExtensions tempData.TryGetValue("StatusMessageModel", out var model); if (successMessage != null || errorMessage != null) { - var parsedModel = new StatusMessageModel(); - parsedModel.Message = (string)successMessage ?? (string)errorMessage; - if (successMessage != null) + var parsedModel = new StatusMessageModel { - parsedModel.Severity = StatusMessageModel.StatusSeverity.Success; - } - else - { - parsedModel.Severity = StatusMessageModel.StatusSeverity.Error; - } + Message = (string)successMessage ?? (string)errorMessage, + Severity = successMessage != null ? StatusMessageModel.StatusSeverity.Success : StatusMessageModel.StatusSeverity.Error + }; return parsedModel; } - else if (model != null && model is string str) + if (model is string str) { return JObject.Parse(str).ToObject(); } diff --git a/BTCPayServer.Tests/UnitTest1.cs b/BTCPayServer.Tests/UnitTest1.cs index 93037a732..b9b306d92 100644 --- a/BTCPayServer.Tests/UnitTest1.cs +++ b/BTCPayServer.Tests/UnitTest1.cs @@ -648,7 +648,7 @@ namespace BTCPayServer.Tests var store2 = acc.GetController(); await store2.Pair(pairingCode.ToString(), store2.CurrentStore.Id); Assert.Contains(nameof(PairingResult.ReusedKey), - (string)store2.TempData[WellKnownTempData.ErrorMessage], StringComparison.CurrentCultureIgnoreCase); + store2.TempData[WellKnownTempData.ErrorMessage].ToString(), StringComparison.CurrentCultureIgnoreCase); } [Fact(Timeout = LongRunningTestTimeout * 2)] diff --git a/BTCPayServer/Components/AppSales/Default.cshtml b/BTCPayServer/Components/AppSales/Default.cshtml index 294de8b93..2d5b3dbd5 100644 --- a/BTCPayServer/Components/AppSales/Default.cshtml +++ b/BTCPayServer/Components/AppSales/Default.cshtml @@ -2,23 +2,30 @@ @using BTCPayServer.Abstractions.TagHelpers @using BTCPayServer.Plugins.Crowdfund @model BTCPayServer.Components.AppSales.AppSalesViewModel -@{ - var label = Model.AppType == CrowdfundAppType.AppType ? "Contributions" : "Sales"; -}
-

@Model.Name @label

+

+ @Model.Name + @if (Model.AppType == CrowdfundAppType.AppType) + { + Contributions + } + else + { + Sales + } +

@if (!string.IsNullOrEmpty(Model.AppUrl)) { - Manage + Manage }
@if (Model.InitialRendering) {
- Loading... + Loading...
@@ -39,7 +46,15 @@ {
- @Model.SalesCount Total @label + @Model.SalesCount + @if (Model.AppType == CrowdfundAppType.AppType) + { + Total Contributions + } + else + { + Total Sales + }
diff --git a/BTCPayServer/Components/AppTopItems/Default.cshtml b/BTCPayServer/Components/AppTopItems/Default.cshtml index 4fad551c6..bb375a154 100644 --- a/BTCPayServer/Components/AppTopItems/Default.cshtml +++ b/BTCPayServer/Components/AppTopItems/Default.cshtml @@ -1,18 +1,24 @@ @using BTCPayServer.Plugins.Crowdfund @model BTCPayServer.Components.AppTopItems.AppTopItemsViewModel -@{ - var label = Model.AppType == CrowdfundAppType.AppType ? "contribution" : "sale"; -}
-

Top @(Model.AppType == CrowdfundAppType.AppType ? "Perks" : "Items")

+

+ @if (Model.AppType == CrowdfundAppType.AppType) + { + Top Perks + } + else + { + Top Items + } +

@if (Model.InitialRendering) {
- Loading... + Loading...
@@ -45,7 +51,31 @@ @entry.Title - @entry.SalesCount @($"{label}{(entry.SalesCount == 1 ? "" : "s")}"), + + @entry.SalesCount + @if (Model.AppType == CrowdfundAppType.AppType) + { + if (entry.SalesCount == 1) + { + contribution + } + else + { + contributions + } + } + else + { + if (entry.SalesCount == 1) + { + sale + } + else + { + sales + } + }, + @entry.TotalFormatted
@@ -55,7 +85,14 @@ else {

- No @($"{label}s") have been made yet. + @if (Model.AppType == CrowdfundAppType.AppType) + { + No contributions have been made yet. + } + else + { + No sales have been made yet. + }

}
diff --git a/BTCPayServer/Components/InvoiceStatus/Default.cshtml b/BTCPayServer/Components/InvoiceStatus/Default.cshtml index a66199c11..6495b996a 100644 --- a/BTCPayServer/Components/InvoiceStatus/Default.cshtml +++ b/BTCPayServer/Components/InvoiceStatus/Default.cshtml @@ -10,7 +10,7 @@
@if (Model.IsArchived) { - archived + archived }
@if (canMark) @@ -21,13 +21,13 @@ diff --git a/BTCPayServer/Components/LabelManager/Default.cshtml b/BTCPayServer/Components/LabelManager/Default.cshtml index cced31ead..e50515fe7 100644 --- a/BTCPayServer/Components/LabelManager/Default.cshtml +++ b/BTCPayServer/Components/LabelManager/Default.cshtml @@ -11,7 +11,7 @@ walletId = Model.WalletObjectId.WalletId }): string.Empty; } - 0) {
  • - Prev + Prev
  • }
  • @@ -35,7 +35,7 @@ @if ((Model.Total is null && Model.CurrentPageCount >= Model.Count) || (Model.Total is not null && Model.Total.Value > Model.Skip + Model.Count)) {
  • - Next + Next
  • } @@ -45,7 +45,7 @@ {
    • - Page Size + Page Size
    • @foreach (var pageSize in pageSizeOptions) { diff --git a/BTCPayServer/Components/StoreLightningBalance/Default.cshtml b/BTCPayServer/Components/StoreLightningBalance/Default.cshtml index 59c40733e..e3dbba2ff 100644 --- a/BTCPayServer/Components/StoreLightningBalance/Default.cshtml +++ b/BTCPayServer/Components/StoreLightningBalance/Default.cshtml @@ -29,7 +29,7 @@

      @Model.TotalOffchain

      - @ViewLocalizer["{0} in channels", @Model.CryptoCode] + @ViewLocalizer["{0} in channels", Model.CryptoCode]
      @@ -41,7 +41,7 @@ @Model.Balance.OffchainBalance.Opening - @ViewLocalizer["{0} opening channels", @Model.CryptoCode] + @ViewLocalizer["{0} opening channels", Model.CryptoCode]
    } @@ -52,7 +52,7 @@ @Model.Balance.OffchainBalance.Local - @ViewLocalizer["{0} local balance", @Model.CryptoCode] + @ViewLocalizer["{0} local balance", Model.CryptoCode]
    } @@ -63,7 +63,7 @@ @Model.Balance.OffchainBalance.Remote - @ViewLocalizer["{0} remote balance", @Model.CryptoCode] + @ViewLocalizer["{0} remote balance", Model.CryptoCode]
    } @@ -74,7 +74,7 @@ @Model.Balance.OffchainBalance.Closing - @ViewLocalizer["{0} closing channels", @Model.CryptoCode] + @ViewLocalizer["{0} closing channels", Model.CryptoCode] } @@ -87,7 +87,7 @@

    @Model.TotalOnchain

    - @ViewLocalizer["{0} on-chain", @Model.CryptoCode] + @ViewLocalizer["{0} on-chain", Model.CryptoCode]
    @@ -98,7 +98,7 @@ @Model.Balance.OnchainBalance.Confirmed - @ViewLocalizer["{0} confirmed", @Model.CryptoCode] + @ViewLocalizer["{0} confirmed", Model.CryptoCode]
    } @@ -109,7 +109,7 @@ @Model.Balance.OnchainBalance.Unconfirmed - @ViewLocalizer["{0} unconfirmed", @Model.CryptoCode] + @ViewLocalizer["{0} unconfirmed", Model.CryptoCode] } @@ -120,7 +120,7 @@ @Model.Balance.OnchainBalance.Reserved - @ViewLocalizer["{0} reserved", @Model.CryptoCode] + @ViewLocalizer["{0} reserved", Model.CryptoCode] } diff --git a/BTCPayServer/Components/StoreLightningServices/Default.cshtml b/BTCPayServer/Components/StoreLightningServices/Default.cshtml index 4ddbee12c..3deb55c34 100644 --- a/BTCPayServer/Components/StoreLightningServices/Default.cshtml +++ b/BTCPayServer/Components/StoreLightningServices/Default.cshtml @@ -12,7 +12,7 @@ asp-route-storeId="@Model.Store.Id" target="_blank" id="PublicNodeInfo" - text-translate="true"> + text-translate="true"> Node Info diff --git a/BTCPayServer/Components/StoreNumbers/Default.cshtml b/BTCPayServer/Components/StoreNumbers/Default.cshtml index a323544a6..1b3f26fff 100644 --- a/BTCPayServer/Components/StoreNumbers/Default.cshtml +++ b/BTCPayServer/Components/StoreNumbers/Default.cshtml @@ -6,7 +6,7 @@ {
    - Loading... + Loading...
    } -
    -
    Enable payment methods only when amount is …
    +
    Enable payment methods only when amount is …
    @for (var index = 0; index < Model.PaymentMethodCriteria.Count; index++) { @@ -102,34 +101,34 @@ }

    - Checkout + Checkout

    - +
    - minutes + minutes
    @@ -151,7 +150,8 @@ @if (!string.IsNullOrEmpty(Model.PaymentSoundUrl)) { }
    @@ -195,7 +195,7 @@
    -
    Detects the language of the customer's browser.
    +
    Detects the language of the customer's browser.
    @@ -211,7 +211,7 @@ -
    +
    For support requests related to partially paid invoices. A "Contact Us" button with this link will be shown on the invoice expired page. Can contain the placeholders {OrderId} and {InvoiceId}. @@ -226,7 +226,7 @@
    -

    Receipt

    +

    Receipt

    diff --git a/BTCPayServer/Views/UIStores/CreateToken.cshtml b/BTCPayServer/Views/UIStores/CreateToken.cshtml index 4c1f5a8e7..93bae8b1c 100644 --- a/BTCPayServer/Views/UIStores/CreateToken.cshtml +++ b/BTCPayServer/Views/UIStores/CreateToken.cshtml @@ -13,9 +13,9 @@ @@ -33,7 +33,7 @@ @if (ViewBag.HidePublicKey) { - optional + optional } @@ -44,7 +44,7 @@ -
    Keep empty for server-initiated pairing.
    +
    Keep empty for server-initiated pairing.
    } @if (ViewBag.ShowStores) diff --git a/BTCPayServer/Views/UIStores/GeneralSettings.cshtml b/BTCPayServer/Views/UIStores/GeneralSettings.cshtml index 53f8b0521..560e82296 100644 --- a/BTCPayServer/Views/UIStores/GeneralSettings.cshtml +++ b/BTCPayServer/Views/UIStores/GeneralSettings.cshtml @@ -39,7 +39,7 @@

    Branding

    -

    +

    The custom color, logo and CSS are applied on the public/customer-facing pages (Invoice, Payment Request, Pull Payment, etc.). The brand color is used as the accent color for buttons, links, etc. It might get adapted to fit the light/dark color scheme.

    @@ -143,7 +143,7 @@
    - minutes + minutes
    @@ -154,7 +154,7 @@
    - percent + percent
    @@ -162,7 +162,7 @@
    - days + days
    @@ -173,7 +173,7 @@
    - minutes + minutes
    @@ -190,7 +190,7 @@ diff --git a/BTCPayServer/Views/UIStores/ImportWalletOptions.cshtml b/BTCPayServer/Views/UIStores/ImportWalletOptions.cshtml index ef60a0d4d..fb6ae5254 100644 --- a/BTCPayServer/Views/UIStores/ImportWalletOptions.cshtml +++ b/BTCPayServer/Views/UIStores/ImportWalletOptions.cshtml @@ -17,7 +17,7 @@

    Choose your import method

    -

    The following methods assume that you already have an existing wallet created and backed up.

    +

    The following methods assume that you already have an existing wallet created and backed up.