Added some loc

This commit is contained in:
Rick Falkvinge
2019-02-25 13:08:12 +01:00
parent 33c066180b
commit 32ef222a81
5 changed files with 40 additions and 8 deletions
+18
View File
@@ -1401,6 +1401,24 @@ namespace Resources.Pages {
}
}
/// <summary>
/// Looks up a localized string similar to Currency and Amount.
/// </summary>
internal static string PayOutMoney_Modal_CurrencyAmount {
get {
return ResourceManager.GetString("PayOutMoney_Modal_CurrencyAmount", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Execute This Payment Manually Now.
/// </summary>
internal static string PayOutMoney_Modal_Header {
get {
return ResourceManager.GetString("PayOutMoney_Modal_Header", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Are you scanning this payment?.
/// </summary>
@@ -743,6 +743,14 @@
<value>This is Paid</value>
<comment>As in "Confirm The Currently Displayed Payout Has Been Manually Executed" -- try to keep short, "This is Paid" length is ideal</comment>
</data>
<data name="PayOutMoney_Modal_CurrencyAmount" xml:space="preserve">
<value>Currency and Amount</value>
<comment>Will be a label for something like "USD 10,000.00"</comment>
</data>
<data name="PayOutMoney_Modal_Header" xml:space="preserve">
<value>Execute This Payment Manually Now</value>
<comment>Displayed as header over the details of a payment to be made manually (as opposed to with bitcoin/crypto)</comment>
</data>
<data name="PayOutMoney_Modal_LabelOcr1" xml:space="preserve">
<value>Are you scanning this payment?</value>
<comment>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.</comment>
+7 -6
View File
@@ -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%>'));
</script>
<style type="text/css">
@@ -365,7 +366,7 @@
<Swarmops5:ModalDialog ID="ModalConfirmPayment" runat="server" >
<DialogCode>
<h2><asp:Label ID="LabelPayoutModalHeader" runat="server" Text="Execute this payout manually now XYZ"/></h2>
<h2><asp:Label ID="LabelModalHeader" runat="server" Text="Execute this payout manually now XYZ"/></h2>
<div class="data-entry-fields modal wide"><input type="text" id="idModalInputRecipient" readonly="readonly" value="Recipient"/>&#8203;<br/>
<input type="text" id="idModalInputCurrencyAmount" readonly="readonly" class="align-for-numbers" value="Amount"/>&#8203;<br/>
<input type="text" id="idModalReference" readonly="readonly" value="Reference"/>&#8203;<br/>
@@ -1,5 +1,6 @@
using System;
using System.Linq;
using System.Resources;
using System.Security;
using System.Web;
using System.Web.Services;
@@ -47,6 +48,10 @@ namespace Swarmops.Frontend.Pages.Financial
this.LabelModalOcr1.Text = Resources.Pages.Financial.PayOutMoney_Modal_LabelOcr1;
this.ToggleModalMachineReadable.Label = Resources.Pages.Financial.PayOutMoney_Modal_LabelOcr2;
this.LabelModalRecipient.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_Recipient;
this.LabelModalReference.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_Reference;
this.LabelModalHeader.Text = Resources.Pages.Financial.PayOutMoney_Modal_Header;
this.LabelModalCurrencyAmount.Text = Resources.Pages.Financial.PayOutMoney_Modal_CurrencyAmount;
this.LabelPayOutMoneyOcrHeader.Text = Resources.Pages.Financial.PayoutMoney_Header_Ocr;
this.LabelGridHeaderAccountOcr.Text = Resources.Pages.Financial.PayoutMoney_GridHeader_Account_Ocr;
+2 -2
View File
@@ -130,13 +130,13 @@ namespace Swarmops.Frontend.Pages.Financial {
protected global::Swarmops.Frontend.Controls.Base.ModalDialog ModalConfirmPayment;
/// <summary>
/// LabelPayoutModalHeader control.
/// LabelModalHeader control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label LabelPayoutModalHeader;
protected global::System.Web.UI.WebControls.Label LabelModalHeader;
/// <summary>
/// ToggleModalMachineReadable control.