Work on Payment Targets 3

This commit is contained in:
Rick Falkvinge
2019-02-24 12:35:25 +01:00
parent 3dce416046
commit db5eef176b
5 changed files with 43 additions and 6 deletions
+18
View File
@@ -1401,6 +1401,24 @@ namespace Resources.Pages {
}
}
/// <summary>
/// Looks up a localized string similar to Are you scanning this payment?.
/// </summary>
internal static string PayOutMoney_Modal_LabelOcr1 {
get {
return ResourceManager.GetString("PayOutMoney_Modal_LabelOcr1", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show in machine-readable format.
/// </summary>
internal static string PayOutMoney_Modal_LabelOcr2 {
get {
return ResourceManager.GetString("PayOutMoney_Modal_LabelOcr2", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Show OCR for mobile apps.
/// </summary>
@@ -743,4 +743,12 @@
<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_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>
</data>
<data name="PayOutMoney_Modal_LabelOcr2" xml:space="preserve">
<value>Show in machine-readable format</value>
<comment>Don't make this string much longer than it is.</comment>
</data>
</root>
+3 -4
View File
@@ -269,7 +269,7 @@
// Localization
$('#idModalButtonConfirm').value(SwarmopsJS.unescape('<%=this.Localized_ConfirmDialog_ConfirmPaid%>'));
$('#idModalButtonConfirm').val(SwarmopsJS.unescape('<%=this.Localized_ConfirmDialog_ConfirmPaid%>'));
</script>
@@ -340,7 +340,7 @@
<input type="text" id="idModalTransferMethod" readonly="readonly" value="Transfer Method"/>&#8203;<br/>
<input type="text" id="idModalClearing" readonly="readonly" value="Clearing"/>&#8203;<br/>
<input type="text" id="idModalAccountNumber" readonly="readonly" value="Account Number"/>&#8203;<br/>
<Swarmops5:AjaxToggleSlider ID="MasterEditPerson2FAProvisioning" runat="server" Label="Show in machine-readable format XYZ" Cookie="2FAProvision" AjaxCallbackUrl="" OnChange="masterPersonEditor2FAProvisionToggle"/>
<Swarmops5:AjaxToggleSlider ID="ToggleModalMachineReadable" runat="server" Label="Show in machine-readable format XYZ" Cookie="MachineReadable" AjaxCallbackUrl="" OnChange="modalToggleMachineReadable"/>
<input type="button" id="idModalButtonConfirm" value="Confirm XYZ" class="button-accent-color suppress-input-focus action-icon-button icon-yes" onclick="onConfirmModal();"/>
</div>
<div class="data-entry-labels">
@@ -350,10 +350,9 @@
<asp:Label ID="LabelModalTransferMethod" runat="server" Text="Transfer Method XYZ"/><br/>
Clearing<br/>
Account Number<br/>
Are you scanning this payment XYZ?
<asp:Label runat="server" ID="LabelModalOcr1" Text="Are you scanning this payment XYZ?"/>
&nbsp;
</div>
Foobar high chaparral
</DialogCode>
</Swarmops5:ModalDialog>
@@ -45,6 +45,9 @@ namespace Swarmops.Frontend.Pages.Financial
this.LabelGridHeaderRecipient.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_Recipient;
this.LabelGridHeaderCurrencyMethod.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_CurrencyMethod;
this.LabelModalOcr1.Text = Resources.Pages.Financial.PayOutMoney_Modal_LabelOcr1;
this.ToggleModalMachineReadable.Label = Resources.Pages.Financial.PayOutMoney_Modal_LabelOcr2;
this.LabelPayOutMoneyOcrHeader.Text = Resources.Pages.Financial.PayoutMoney_Header_Ocr;
this.LabelGridHeaderAccountOcr.Text = Resources.Pages.Financial.PayoutMoney_GridHeader_Account_Ocr;
this.LabelGridHeaderDue2.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_DueDate; // same as above
+11 -2
View File
@@ -139,13 +139,13 @@ namespace Swarmops.Frontend.Pages.Financial {
protected global::System.Web.UI.WebControls.Label LabelPayoutModalHeader;
/// <summary>
/// MasterEditPerson2FAProvisioning control.
/// ToggleModalMachineReadable control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Swarmops.Frontend.Controls.Base.AjaxToggleSlider MasterEditPerson2FAProvisioning;
protected global::Swarmops.Frontend.Controls.Base.AjaxToggleSlider ToggleModalMachineReadable;
/// <summary>
/// LabelModalRecipient control.
@@ -183,6 +183,15 @@ namespace Swarmops.Frontend.Pages.Financial {
/// </remarks>
protected global::System.Web.UI.WebControls.Label LabelModalTransferMethod;
/// <summary>
/// LabelModalOcr1 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 LabelModalOcr1;
/// <summary>
/// LabelSidebarOptions control.
/// </summary>