Date format fix in resource file

This commit is contained in:
Rick Falkvinge
2017-10-04 04:56:33 +02:00
parent 27748cd7ad
commit 67ef126f83
3 changed files with 5 additions and 43 deletions
+1 -1
View File
@@ -745,7 +745,7 @@ namespace Resources.Pages {
}
/// <summary>
/// Looks up a localized string similar to Outbound Invoice #{0:N0} for {1}, due {2}: {3}.
/// Looks up a localized string similar to Outbound Invoice #{0:N0} for {1}, due {2:yyyy-MMM-dd}: {3}.
/// </summary>
internal static string BalanceTransactions_OutboundInvoiceMatch {
get {
+1 -1
View File
@@ -853,7 +853,7 @@
<comment>This is the header of a match where the transaction description somehow matches the invoice reference.</comment>
</data>
<data name="BalanceTransactions_OutboundInvoiceMatch" xml:space="preserve">
<value>Outbound Invoice #{0:N0} for {1}, due {2}: {3}</value>
<value>Outbound Invoice #{0:N0} for {1}, due {2:yyyy-MMM-dd}: {3}</value>
<comment>Argument {0} is the invoice identity, {1} the customer name, {2} the due date and {3} the invoice-currencied amount (which can be different from the org's presentation currency)</comment>
</data>
<data name="BalanceTransactions_VatReportMatch" xml:space="preserve">
@@ -32,6 +32,7 @@
'/Images/Icons/iconshock-balloon-undo-128x96px-hot.png'
]);
/* -- commented out -- do we need attestation logic for this page?
loadUninitializedBudgets(); // no need to wait for doc.ready to load operating params
SwarmopsJS.ajaxCall("/Pages/v5/Financial/AttestCosts.aspx/GetRemainingBudgets", {}, function(data) {
@@ -44,50 +45,11 @@
}
budgetRemainingLookup.budgetsLoaded = true;
});
});*/
// Doc.ready:
$(document).ready(function () {
$('#TableAttestableCosts').datagrid(
{
rowStyler: function (index, rowData) {
if (rowData.previous != null) {
return { class: "rowPrevious row" + rowData.itemId };
}
if (rowData.itemId != null) {
return { class: "row" + rowData.itemId.replace(/\|/g, '') };
}
return '';
},
onLoadSuccess: function () {
budgetRemainingLookup.attestabilityInitialized = false;
$(".LocalViewDox").click(function () {
$("a.FancyBox_Gallery[rel='" + $(this).attr("baseid") + "']").first().click();
});
$("a.FancyBox_Gallery").fancybox({
'overlayShow': true,
'transitionIn': 'fade',
'transitionOut': 'fade',
'type': 'image',
'opacity': true
});
// Check if budgets have been fetched, and if so, initialize attestability
if (budgetRemainingLookup.budgetsLoaded == true) {
setAttestability();
}
budgetRemainingLookup.rowsLoaded = true;
}
}
);
$(document).ready(function() {
// we're still in document.ready