From 32ef222a81ab5535d51d67b9436997c5b152d83e Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 25 Feb 2019 13:08:12 +0100 Subject: [PATCH] Added some loc --- .../Pages.Financial.designer.cs | 18 ++++++++++++++++++ Site/App_GlobalResources/Pages.Financial.resx | 8 ++++++++ Site/Pages/v5/Financial/PayOutMoney.aspx | 13 +++++++------ Site/Pages/v5/Financial/PayOutMoney.aspx.cs | 5 +++++ .../v5/Financial/PayOutMoney.aspx.designer.cs | 4 ++-- 5 files changed, 40 insertions(+), 8 deletions(-) diff --git a/Site/App_GlobalResources/Pages.Financial.designer.cs b/Site/App_GlobalResources/Pages.Financial.designer.cs index 3a16c618..b210bb5d 100644 --- a/Site/App_GlobalResources/Pages.Financial.designer.cs +++ b/Site/App_GlobalResources/Pages.Financial.designer.cs @@ -1401,6 +1401,24 @@ namespace Resources.Pages { } } + /// + /// Looks up a localized string similar to Currency and Amount. + /// + internal static string PayOutMoney_Modal_CurrencyAmount { + get { + return ResourceManager.GetString("PayOutMoney_Modal_CurrencyAmount", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Execute This Payment Manually Now. + /// + internal static string PayOutMoney_Modal_Header { + get { + return ResourceManager.GetString("PayOutMoney_Modal_Header", resourceCulture); + } + } + /// /// Looks up a localized string similar to Are you scanning this payment?. /// diff --git a/Site/App_GlobalResources/Pages.Financial.resx b/Site/App_GlobalResources/Pages.Financial.resx index 812eb855..ee0ef71d 100644 --- a/Site/App_GlobalResources/Pages.Financial.resx +++ b/Site/App_GlobalResources/Pages.Financial.resx @@ -743,6 +743,14 @@ This is Paid As in "Confirm The Currently Displayed Payout Has Been Manually Executed" -- try to keep short, "This is Paid" length is ideal + + Currency and Amount + Will be a label for something like "USD 10,000.00" + + + Execute This Payment Manually Now + Displayed as header over the details of a payment to be made manually (as opposed to with bitcoin/crypto) + Are you scanning this payment? In longer form, the question would be "Are you using a mobile phone or other device to capture this payment data automatically?". Some banking apps can scan QR codes or specially formatted number sequences. diff --git a/Site/Pages/v5/Financial/PayOutMoney.aspx b/Site/Pages/v5/Financial/PayOutMoney.aspx index 8b8fd1d0..a0eca346 100644 --- a/Site/Pages/v5/Financial/PayOutMoney.aspx +++ b/Site/Pages/v5/Financial/PayOutMoney.aspx @@ -240,8 +240,13 @@ } ); + // Localization - }); + $('#idModalButtonConfirm').prop("value", SwarmopsJS.unescape('<%=this.Localized_ConfirmDialog_ConfirmPaid%>')); + + + + }); // End of document.ready() function onConfirmModal() { @@ -300,10 +305,6 @@ var modalPrototypeId = ""; var modalItemId = ""; - // Localization - - $('#idModalButtonConfirm').prop("value", SwarmopsJS.unescape('<%=this.Localized_ConfirmDialog_ConfirmPaid%>')); -