diff --git a/Site5/App_GlobalResources/Pages.Admin.resx b/Site5/App_GlobalResources/Pages.Admin.resx
index 64c081f4..846d2b8b 100644
--- a/Site5/App_GlobalResources/Pages.Admin.resx
+++ b/Site5/App_GlobalResources/Pages.Admin.resx
@@ -150,4 +150,10 @@
The new organization has been created. You have been given an initial two-year {0} in the organization, so you can work with it and set it up properly. To switch to working with your new organization, use the control panel top right.
The {0} is membership, employment, citizenship, residence, etc.
+
+ <strong>WORK IN PROGRESS.</strong> Most of these options don't save yet.
+
+
+ Edit Organization
+
\ No newline at end of file
diff --git a/Site5/Automation/Json-FinancialAccountsTree.aspx.cs b/Site5/Automation/Json-FinancialAccountsTree.aspx.cs
index 7394cd8a..05a379aa 100644
--- a/Site5/Automation/Json-FinancialAccountsTree.aspx.cs
+++ b/Site5/Automation/Json-FinancialAccountsTree.aspx.cs
@@ -52,26 +52,26 @@ namespace Swarmops.Frontend.Automation
if (accountType == FinancialAccountType.Asset || accountType == FinancialAccountType.Balance ||
accountType == FinancialAccountType.All)
{
- response += GetAccountGroup(FinancialAccountType.Asset, Resources.Pages_Ledgers.BalanceSheet_Assets) + ",";
+ response += GetAccountGroup(FinancialAccountType.Asset, Resources.Pages.Ledgers.BalanceSheet_Assets) + ",";
}
if (accountType == FinancialAccountType.Debt || accountType == FinancialAccountType.Balance ||
accountType == FinancialAccountType.All)
{
- response += GetAccountGroup(FinancialAccountType.Debt, Resources.Pages_Ledgers.BalanceSheet_Debt) + ",";
+ response += GetAccountGroup(FinancialAccountType.Debt, Resources.Pages.Ledgers.BalanceSheet_Debt) + ",";
}
if (accountType == FinancialAccountType.Income || accountType == FinancialAccountType.Result ||
accountType == FinancialAccountType.All)
{
response +=
- GetAccountGroup(FinancialAccountType.Income, Resources.Pages_Ledgers.ProfitLossStatement_Income) + ",";
+ GetAccountGroup(FinancialAccountType.Income, Resources.Pages.Ledgers.ProfitLossStatement_Income) + ",";
}
if (accountType == FinancialAccountType.Cost || accountType == FinancialAccountType.Result ||
accountType == FinancialAccountType.All)
{
- response += GetAccountGroup(FinancialAccountType.Cost, Resources.Pages_Ledgers.ProfitLossStatement_Costs);
+ response += GetAccountGroup(FinancialAccountType.Cost, Resources.Pages.Ledgers.ProfitLossStatement_Costs);
}
response = response.TrimEnd(','); // removes last comma regardless of where it came from or if it's even there
diff --git a/Site5/Default.aspx.cs b/Site5/Default.aspx.cs
index ecdacdbc..67323ab9 100644
--- a/Site5/Default.aspx.cs
+++ b/Site5/Default.aspx.cs
@@ -12,8 +12,8 @@ public partial class Default : PageV5Base
this.PageIcon = "iconshock-steering-wheel";
/*
- this.LabelActionListMotions.Text = Resources.Pages_Governance.ListMotions_PageTitle;
- this.LabelActionVote.Text = Resources.Pages_Governance.Vote_PageTitle;*/
+ this.LabelActionListMotions.Text = Resources.Pages.Governance.ListMotions_PageTitle;
+ this.LabelActionVote.Text = Resources.Pages.Governance.Vote_PageTitle;*/
this.InfoBoxLiteral = "This is a Dashboard placeholder. It will contain a snapshot of the state of things as soon as the basic functions are re-implemented in the new interface.";
}
diff --git a/Site5/Pages/v5/Admin/CreateOrganization.aspx.cs b/Site5/Pages/v5/Admin/CreateOrganization.aspx.cs
index 35e42bf5..f25f1631 100644
--- a/Site5/Pages/v5/Admin/CreateOrganization.aspx.cs
+++ b/Site5/Pages/v5/Admin/CreateOrganization.aspx.cs
@@ -13,9 +13,9 @@ namespace Swarmops.Frontend.Pages.v5.Admin
{
protected void Page_Load(object sender, EventArgs e)
{
- this.PageTitle = Resources.Pages_Admin.CreateOrganization_PageTitle;
+ this.PageTitle = Resources.Pages.Admin.CreateOrganization_PageTitle;
this.PageIcon = "iconshock-organization-add";
- this.InfoBoxLiteral = Resources.Pages_Admin.CreateOrganization_Info;
+ this.InfoBoxLiteral = Resources.Pages.Admin.CreateOrganization_Info;
this.DbVersionRequired = 2; // for FinancialAccounts.Active field in Create function
if (!Page.IsPostBack)
@@ -34,11 +34,11 @@ namespace Swarmops.Frontend.Pages.v5.Admin
private void Localize()
{
- this.LabelOrganizationName.Text = Resources.Pages_Admin.CreateOrganization_NewOrgName;
- this.LabelActivistLabel.Text = Resources.Pages_Admin.CreateOrganization_ActivistTitle;
- this.LabelCreateAs.Text = Resources.Pages_Admin.CreateOrganization_CreateNewOrgAs;
- this.LabelNativeCurrency.Text = Resources.Pages_Admin.CreateOrganization_NewOrgCurrency;
- this.LabelPersonLabel.Text = Resources.Pages_Admin.CreateOrganization_RegularTitle;
+ this.LabelOrganizationName.Text = Resources.Pages.Admin.CreateOrganization_NewOrgName;
+ this.LabelActivistLabel.Text = Resources.Pages.Admin.CreateOrganization_ActivistTitle;
+ this.LabelCreateAs.Text = Resources.Pages.Admin.CreateOrganization_CreateNewOrgAs;
+ this.LabelNativeCurrency.Text = Resources.Pages.Admin.CreateOrganization_NewOrgCurrency;
+ this.LabelPersonLabel.Text = Resources.Pages.Admin.CreateOrganization_RegularTitle;
this.ButtonCreate.Text = Resources.Global.Global_Create;
@@ -52,8 +52,8 @@ namespace Swarmops.Frontend.Pages.v5.Admin
this.DropCreateChild.Items.Add(new ListItem(Resources.Global.Global_SelectOne, "0"));
- this.DropCreateChild.Items.Add(new ListItem(Resources.Pages_Admin.CreateOrganization_AsRoot, "Root"));
- this.DropCreateChild.Items.Add(new ListItem(String.Format(Resources.Pages_Admin.CreateOrganization_ChildOfX, CurrentOrganization.Name), "Child"));
+ this.DropCreateChild.Items.Add(new ListItem(Resources.Pages.Admin.CreateOrganization_AsRoot, "Root"));
+ this.DropCreateChild.Items.Add(new ListItem(String.Format(Resources.Pages.Admin.CreateOrganization_ChildOfX, CurrentOrganization.Name), "Child"));
List localizedPersonLabels = new List();
@@ -129,7 +129,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
Membership.Create(CurrentUser, newOrganization, DateTime.UtcNow.AddYears(2));
- string successMessage = String.Format(Resources.Pages_Admin.CreateOrganization_Success, Resources.Global.ResourceManager.GetString("Title_" + peopleLabel + "_Ship"));
+ string successMessage = String.Format(Resources.Pages.Admin.CreateOrganization_Success, Resources.Global.ResourceManager.GetString("Title_" + peopleLabel + "_Ship"));
Response.AppendCookie(new HttpCookie("DashboardMessage", HttpUtility.UrlEncode(successMessage)));
diff --git a/Site5/Pages/v5/Admin/EditOrganization.aspx.cs b/Site5/Pages/v5/Admin/EditOrganization.aspx.cs
index 9d932aa4..75f1a2cf 100644
--- a/Site5/Pages/v5/Admin/EditOrganization.aspx.cs
+++ b/Site5/Pages/v5/Admin/EditOrganization.aspx.cs
@@ -14,8 +14,8 @@ namespace Swarmops.Frontend.Pages.v5.Admin
protected void Page_Load(object sender, EventArgs e)
{
this.PageIcon = "iconshock-box-cog";
- this.PageTitle = Resources.Pages_Admin.EditOrganization_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Admin.EditOrganization_Info;
+ this.PageTitle = Resources.Pages.Admin.EditOrganization_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Admin.EditOrganization_Info;
this.PageAccessRequired = new Access(CurrentOrganization, AccessAspect.Administration, AccessType.Write);
this.EasyUIControlsUsed = EasyUIControl.Tabs;
diff --git a/Site5/Pages/v5/Comms/SendMassMessage.aspx b/Site5/Pages/v5/Comms/SendMassMessage.aspx
index 024edf88..62abb38d 100644
--- a/Site5/Pages/v5/Comms/SendMassMessage.aspx
+++ b/Site5/Pages/v5/Comms/SendMassMessage.aspx
@@ -32,12 +32,12 @@
}
function onClickSend() {
- alertify.alert("<%= Resources.Pages_Comms.SendMassMessage_SendMessageResult %>");
+ alertify.alert("<%= Resources.Pages.Comms.SendMassMessage_SendMessageResult %>");
return false;
}
function onClickTest() {
- alertify.alert("<%= Resources.Pages_Comms.SendMassMessage_TestMessageResult %>");
+ alertify.alert("<%= Resources.Pages.Comms.SendMassMessage_TestMessageResult %>");
return false;
}
diff --git a/Site5/Pages/v5/Comms/SendMassMessage.aspx.cs b/Site5/Pages/v5/Comms/SendMassMessage.aspx.cs
index 33be73f7..d22ce75a 100644
--- a/Site5/Pages/v5/Comms/SendMassMessage.aspx.cs
+++ b/Site5/Pages/v5/Comms/SendMassMessage.aspx.cs
@@ -12,8 +12,8 @@ namespace Swarmops.Frontend.Pages.Comms
protected void Page_Load(object sender, EventArgs e)
{
this.PageIcon = "iconshock-messages";
- this.PageTitle = Resources.Pages_Comms.SendMassMessage_Title;
- this.InfoBoxLiteral = Resources.Pages_Comms.SendMassMessage_Info;
+ this.PageTitle = Resources.Pages.Comms.SendMassMessage_Title;
+ this.InfoBoxLiteral = Resources.Pages.Comms.SendMassMessage_Info;
if (!Page.IsPostBack)
{
@@ -26,9 +26,9 @@ namespace Swarmops.Frontend.Pages.Comms
private void Localize()
{
- this.LabelGeography.Text = Resources.Pages_Comms.SendMassMessage_Geography;
- this.LabelRecipientType.Text = Resources.Pages_Comms.SendMassMessage_RecipientType;
- this.LabelHeaderMessage.Text = Resources.Pages_Comms.SendMassMessage_HeaderMessage;
+ this.LabelGeography.Text = Resources.Pages.Comms.SendMassMessage_Geography;
+ this.LabelRecipientType.Text = Resources.Pages.Comms.SendMassMessage_RecipientType;
+ this.LabelHeaderMessage.Text = Resources.Pages.Comms.SendMassMessage_HeaderMessage;
this.DropRecipientClasses.Items.Clear();
this.DropRecipientClasses.Items.Add(new ListItem(Resources.Global.Global_SelectOne, "0"));
@@ -38,8 +38,8 @@ namespace Swarmops.Frontend.Pages.Comms
this.DropRecipientClasses.Items.Add(new ListItem("Officers", "101"));
this.DropRecipientClasses.Items.Add(new ListItem("Volunteers", "102"));
- this.ButtonSend.Text = Resources.Pages_Comms.SendMassMessage_SendMessage;
- this.ButtonTest.Text = Resources.Pages_Comms.SendMassMessage_TestMessage;
+ this.ButtonSend.Text = Resources.Pages.Comms.SendMassMessage_SendMessage;
+ this.ButtonTest.Text = Resources.Pages.Comms.SendMassMessage_TestMessage;
}
public struct ConfirmPayoutResult
@@ -84,7 +84,7 @@ namespace Swarmops.Frontend.Pages.Comms
}
string result;
- string[] resources = Resources.Pages_Comms.SendMassMessage_RecipientCount.Split('|');
+ string[] resources = Resources.Pages.Comms.SendMassMessage_RecipientCount.Split('|');
switch (personCount)
{
diff --git a/Site5/Pages/v5/Financial/AttestCosts.aspx.cs b/Site5/Pages/v5/Financial/AttestCosts.aspx.cs
index 73e7ccc6..f5c5c789 100644
--- a/Site5/Pages/v5/Financial/AttestCosts.aspx.cs
+++ b/Site5/Pages/v5/Financial/AttestCosts.aspx.cs
@@ -69,16 +69,16 @@ namespace Swarmops.Frontend.Pages.v5.Financial
private void Localize()
{
- this.PageTitle = Resources.Pages_Financial.AttestCosts_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Financial.AttestCosts_Info;
- this.LabelAttestCostsHeader.Text = Resources.Pages_Financial.AttestCosts_Header_CostsAwaitingAttestation;
- this.LabelGridHeaderAction.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Action;
- this.LabelGridHeaderBeneficiary.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Beneficiary;
- this.LabelGridHeaderBudget.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Budget;
- this.LabelGridHeaderDescription.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Description;
- this.LabelGridHeaderDocs.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Docs;
- this.LabelGridHeaderItem.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Item;
- this.LabelGridHeaderRequested.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Requested;
+ this.PageTitle = Resources.Pages.Financial.AttestCosts_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Financial.AttestCosts_Info;
+ this.LabelAttestCostsHeader.Text = Resources.Pages.Financial.AttestCosts_Header_CostsAwaitingAttestation;
+ this.LabelGridHeaderAction.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Action;
+ this.LabelGridHeaderBeneficiary.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Beneficiary;
+ this.LabelGridHeaderBudget.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Budget;
+ this.LabelGridHeaderDescription.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Description;
+ this.LabelGridHeaderDocs.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Docs;
+ this.LabelGridHeaderItem.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Item;
+ this.LabelGridHeaderRequested.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Requested;
}
private enum AttestationMode
@@ -139,8 +139,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
}
attestableItem = advance;
- attestedTemplate = Resources.Pages_Financial.AttestCosts_AdvanceAttested;
- deattestedTemplate = Resources.Pages_Financial.AttestCosts_AdvanceDeattested;
+ attestedTemplate = Resources.Pages.Financial.AttestCosts_AdvanceAttested;
+ deattestedTemplate = Resources.Pages.Financial.AttestCosts_AdvanceDeattested;
beneficiary = advance.Person.Name;
amountCents = advance.AmountCents;
@@ -157,8 +157,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
}
attestableItem = expense;
- attestedTemplate = Resources.Pages_Financial.AttestCosts_ExpenseAttested;
- deattestedTemplate = Resources.Pages_Financial.AttestCosts_ExpenseDeattested;
+ attestedTemplate = Resources.Pages.Financial.AttestCosts_ExpenseAttested;
+ deattestedTemplate = Resources.Pages.Financial.AttestCosts_ExpenseDeattested;
beneficiary = expense.Claimer.Name;
amountCents = expense.AmountCents;
@@ -175,8 +175,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
}
attestableItem = invoice;
- attestedTemplate = Resources.Pages_Financial.AttestCosts_InvoiceAttested;
- deattestedTemplate = Resources.Pages_Financial.AttestCosts_InvoiceDeattested;
+ attestedTemplate = Resources.Pages.Financial.AttestCosts_InvoiceAttested;
+ deattestedTemplate = Resources.Pages.Financial.AttestCosts_InvoiceDeattested;
beneficiary = invoice.Supplier;
amountCents = invoice.AmountCents;
@@ -193,8 +193,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
}
attestableItem = salary;
- attestedTemplate = Resources.Pages_Financial.AttestCosts_SalaryAttested;
- deattestedTemplate = Resources.Pages_Financial.AttestCosts_SalaryDeattested;
+ attestedTemplate = Resources.Pages.Financial.AttestCosts_SalaryAttested;
+ deattestedTemplate = Resources.Pages.Financial.AttestCosts_SalaryDeattested;
beneficiary = salary.PayrollItem.PersonCanonical;
amountCents = salary.GrossSalaryCents;
@@ -211,8 +211,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
}
attestableItem = parley;
- attestedTemplate = Resources.Pages_Financial.AttestCosts_ParleyAttested;
- deattestedTemplate = Resources.Pages_Financial.AttestCosts_ParleyDeattested;
+ attestedTemplate = Resources.Pages.Financial.AttestCosts_ParleyAttested;
+ deattestedTemplate = Resources.Pages.Financial.AttestCosts_ParleyDeattested;
beneficiary = parley.Person.Name;
amountCents = parley.BudgetCents;
diff --git a/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx b/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx
index 716072be..e9d58181 100644
--- a/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx
+++ b/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx
@@ -49,7 +49,7 @@
if ($('#DropTags<%# Eval("TagSetId") %>').combotree('tree').tree('getSelected') == null) {
isValid = false;
$('#SpanDropTags<%# Eval("TagSetId") %>').addClass("entryError");
- alertify.error('<%=Resources.Pages_Financial.FileExpenseClaim_ValidationError_MissingTag.Replace("'", "''") %>');
+ alertify.error('<%=Resources.Pages.Financial.FileExpenseClaim_ValidationError_MissingTag.Replace("'", "''") %>');
}
diff --git a/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx.cs b/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx.cs
index a4ca4466..3834df23 100644
--- a/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx.cs
+++ b/Site5/Pages/v5/Financial/CreateInboundInvoice.aspx.cs
@@ -87,9 +87,9 @@ namespace Swarmops.Frontend.Pages.v5.Financial
return;
}
- this.PageTitle = Resources.Pages_Financial.CreateInboundInvoice_PageTitle;
+ this.PageTitle = Resources.Pages.Financial.CreateInboundInvoice_PageTitle;
this.PageIcon = "iconshock-invoice";
- this.InfoBoxLiteral = Resources.Pages_Financial.CreateInboundInvoice_Info;
+ this.InfoBoxLiteral = Resources.Pages.Financial.CreateInboundInvoice_Info;
if (!Page.IsPostBack)
{
@@ -108,21 +108,21 @@ namespace Swarmops.Frontend.Pages.v5.Financial
{
this.LabelSupplier.Text = Resources.Global.Financial_Supplier;
this.LabelDueDate.Text = Resources.Global.Financial_DueDate;
- this.LabelAmount.Text = string.Format(Resources.Pages_Financial.CreateInboundInvoice_Amount,
+ this.LabelAmount.Text = string.Format(Resources.Pages.Financial.CreateInboundInvoice_Amount,
CurrentOrganization.Currency.Code);
- this.LabelPurpose.Text = Resources.Pages_Financial.CreateInboundInvoice_Description;
+ this.LabelPurpose.Text = Resources.Pages.Financial.CreateInboundInvoice_Description;
this.LabelBudget.Text = Resources.Global.Financial_Budget;
- this.LabelHeaderBankDetails.Text = Resources.Pages_Financial.CreateInboundInvoice_HeaderPaymentDetails;
- this.LabelHeaderImageFiles.Text = Resources.Pages_Financial.CreateInboundInvoice_HeaderInvoiceImage;
- this.LabelImageFiles.Text = Resources.Pages_Financial.CreateInboundInvoice_UploadInvoiceImage;
- this.LabelReference.Text = Resources.Pages_Financial.CreateInboundInvoice_Reference;
- this.LabelAccount.Text = Resources.Pages_Financial.CreateInboundInvoice_SupplierAccount;
+ this.LabelHeaderBankDetails.Text = Resources.Pages.Financial.CreateInboundInvoice_HeaderPaymentDetails;
+ this.LabelHeaderImageFiles.Text = Resources.Pages.Financial.CreateInboundInvoice_HeaderInvoiceImage;
+ this.LabelImageFiles.Text = Resources.Pages.Financial.CreateInboundInvoice_UploadInvoiceImage;
+ this.LabelReference.Text = Resources.Pages.Financial.CreateInboundInvoice_Reference;
+ this.LabelAccount.Text = Resources.Pages.Financial.CreateInboundInvoice_SupplierAccount;
- this.LiteralErrorAmount.Text = Resources.Pages_Financial.FileExpenseClaim_ValidationError_Amount; // TODO: Validation errors
- this.LiteralErrorPurpose.Text = Resources.Pages_Financial.FileExpenseClaim_ValidationError_Purpose;
- this.LiteralErrorBudget.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_Budget;
- this.LiteralErrorBankAccount.Text = Resources.Pages_Financial.CreateInboundInvoice_ValidationError_Account;
- this.LiteralErrorDocuments.Text = Resources.Pages_Financial.FileExpenseClaim_ValidationError_Documents;
+ this.LiteralErrorAmount.Text = Resources.Pages.Financial.FileExpenseClaim_ValidationError_Amount; // TODO: Validation errors
+ this.LiteralErrorPurpose.Text = Resources.Pages.Financial.FileExpenseClaim_ValidationError_Purpose;
+ this.LiteralErrorBudget.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_Budget;
+ this.LiteralErrorBankAccount.Text = Resources.Pages.Financial.CreateInboundInvoice_ValidationError_Account;
+ this.LiteralErrorDocuments.Text = Resources.Pages.Financial.FileExpenseClaim_ValidationError_Documents;
}
@@ -184,7 +184,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
// Display success message
- this.LiteralSuccess.Text = HttpUtility.UrlEncode(String.Format(Resources.Pages_Financial.CreateInboundInvoice_SuccessMessage,
+ this.LiteralSuccess.Text = HttpUtility.UrlEncode(String.Format(Resources.Pages.Financial.CreateInboundInvoice_SuccessMessage,
invoice.Identity)).Replace("+", "%20");
// Reset all fields for next invoice
diff --git a/Site5/Pages/v5/Financial/FileExpenseClaim.aspx b/Site5/Pages/v5/Financial/FileExpenseClaim.aspx
index c056888e..27ddfb95 100644
--- a/Site5/Pages/v5/Financial/FileExpenseClaim.aspx
+++ b/Site5/Pages/v5/Financial/FileExpenseClaim.aspx
@@ -47,7 +47,7 @@
if ($('#DropTags<%# Eval("TagSetId") %>').combotree('tree').tree('getSelected') == null) {
isValid = false;
$('#SpanDropTags<%# Eval("TagSetId") %>').addClass("entryError");
- alertify.error('<%=Resources.Pages_Financial.FileExpenseClaim_ValidationError_MissingTag.Replace("'", "''") %>');
+ alertify.error('<%=Resources.Pages.Financial.FileExpenseClaim_ValidationError_MissingTag.Replace("'", "''") %>');
}
diff --git a/Site5/Pages/v5/Financial/FileExpenseClaim.aspx.cs b/Site5/Pages/v5/Financial/FileExpenseClaim.aspx.cs
index 7a09e791..b1962e48 100644
--- a/Site5/Pages/v5/Financial/FileExpenseClaim.aspx.cs
+++ b/Site5/Pages/v5/Financial/FileExpenseClaim.aspx.cs
@@ -93,9 +93,9 @@ namespace Swarmops.Frontend.Pages.v5.Financial
return;
}
- this.PageTitle = Resources.Pages_Financial.FileExpenseClaim_PageTitle;
+ this.PageTitle = Resources.Pages.Financial.FileExpenseClaim_PageTitle;
this.PageIcon = "iconshock-moneyback";
- this.InfoBoxLiteral = Resources.Pages_Financial.FileExpenseClaim_Info;
+ this.InfoBoxLiteral = Resources.Pages.Financial.FileExpenseClaim_Info;
if (!Page.IsPostBack)
{
@@ -114,24 +114,24 @@ namespace Swarmops.Frontend.Pages.v5.Financial
private void Localize()
{
- this.LabelAmount.Text = string.Format(Resources.Pages_Financial.FileExpenseClaim_Amount,
+ this.LabelAmount.Text = string.Format(Resources.Pages.Financial.FileExpenseClaim_Amount,
CurrentOrganization.Currency.Code);
- this.LabelPurpose.Text = Resources.Pages_Financial.FileExpenseClaim_Description;
- this.LabelBudget.Text = Resources.Pages_Financial.FileExpenseClaim_Budget;
- this.LabelHeaderBankDetails.Text = Resources.Pages_Financial.FileExpenseClaim_HeaderBankDetails;
- this.LabelBankName.Text = Resources.Pages_Financial.FileExpenseClaim_BankName;
- this.LabelBankClearing.Text = Resources.Pages_Financial.FileExpenseClaim_BankClearing;
- this.LabelBankAccount.Text = Resources.Pages_Financial.FileExpenseClaim_BankAccount;
- this.LabelHeaderImageFiles.Text = Resources.Pages_Financial.FileExpenseClaim_HeaderReceiptImages;
- this.LabelImageFiles.Text = Resources.Pages_Financial.FileExpenseClaim_UploadRecieptImages;
+ this.LabelPurpose.Text = Resources.Pages.Financial.FileExpenseClaim_Description;
+ this.LabelBudget.Text = Resources.Pages.Financial.FileExpenseClaim_Budget;
+ this.LabelHeaderBankDetails.Text = Resources.Pages.Financial.FileExpenseClaim_HeaderBankDetails;
+ this.LabelBankName.Text = Resources.Pages.Financial.FileExpenseClaim_BankName;
+ this.LabelBankClearing.Text = Resources.Pages.Financial.FileExpenseClaim_BankClearing;
+ this.LabelBankAccount.Text = Resources.Pages.Financial.FileExpenseClaim_BankAccount;
+ this.LabelHeaderImageFiles.Text = Resources.Pages.Financial.FileExpenseClaim_HeaderReceiptImages;
+ this.LabelImageFiles.Text = Resources.Pages.Financial.FileExpenseClaim_UploadRecieptImages;
- this.LiteralErrorAmount.Text = Resources.Pages_Financial.FileExpenseClaim_ValidationError_Amount;
- this.LiteralErrorPurpose.Text = Resources.Pages_Financial.FileExpenseClaim_ValidationError_Purpose;
- this.LiteralErrorBudget.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_Budget;
- this.LiteralErrorBankName.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_BankName;
- this.LiteralErrorBankClearing.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_BankClearing;
- this.LiteralErrorBankAccount.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_BankAccount;
- this.LiteralErrorDocuments.Text = Resources.Pages_Financial.FileExpenseClaim_ValidationError_Documents;
+ this.LiteralErrorAmount.Text = Resources.Pages.Financial.FileExpenseClaim_ValidationError_Amount;
+ this.LiteralErrorPurpose.Text = Resources.Pages.Financial.FileExpenseClaim_ValidationError_Purpose;
+ this.LiteralErrorBudget.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_Budget;
+ this.LiteralErrorBankName.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_BankName;
+ this.LiteralErrorBankClearing.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_BankClearing;
+ this.LiteralErrorBankAccount.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_BankAccount;
+ this.LiteralErrorDocuments.Text = Resources.Pages.Financial.FileExpenseClaim_ValidationError_Documents;
}
@@ -191,20 +191,20 @@ namespace Swarmops.Frontend.Pages.v5.Financial
documents.SetForeignObjectForAll(claim);
- string successMessage = string.Format(Resources.Pages_Financial.FileExpenseClaim_SuccessMessagePartOne,
+ string successMessage = string.Format(Resources.Pages.Financial.FileExpenseClaim_SuccessMessagePartOne,
CurrentOrganization.Currency.Code,
(double) (amountCents/100.0),
budget.Name);
if (budget.OwnerPersonId != CurrentUser.Identity)
{
- successMessage += "
" + Resources.Pages_Financial.FileExpenseClaim_SuccessMessagePartTwo +
+ successMessage += "
" + Resources.Pages.Financial.FileExpenseClaim_SuccessMessagePartTwo +
"
";
}
else
{
successMessage += "
" +
- Resources.Pages_Financial.FileExpenseClaim_SuccessMessagePartTwoOwnBudget +
+ Resources.Pages.Financial.FileExpenseClaim_SuccessMessagePartTwoOwnBudget +
"
";
claim.Attest (CurrentUser);
}
diff --git a/Site5/Pages/v5/Financial/PayOutMoney.aspx.cs b/Site5/Pages/v5/Financial/PayOutMoney.aspx.cs
index 007c0cfa..3605f85c 100644
--- a/Site5/Pages/v5/Financial/PayOutMoney.aspx.cs
+++ b/Site5/Pages/v5/Financial/PayOutMoney.aspx.cs
@@ -31,16 +31,16 @@ namespace Swarmops.Frontend.Pages.Financial
private void Localize()
{
- this.PageTitle = Resources.Pages_Financial.PayOutMoney_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Financial.PayOutMoney_Info;
- this.LabelPayOutMoneyHeader.Text = Resources.Pages_Financial.PayOutMoney_Header;
- this.LabelGridHeaderAccount.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_BankAccount;
- this.LabelGridHeaderAmount.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_Amount;
- this.LabelGridHeaderBank.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_BankName;
- this.LabelGridHeaderDue.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_DueDate;
- this.LabelGridHeaderPaid.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_PaidOut;
- this.LabelGridHeaderRecipient.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_Recipient;
- this.LabelGridHeaderReference.Text = Resources.Pages_Financial.PayOutMoney_GridHeader_Reference;
+ this.PageTitle = Resources.Pages.Financial.PayOutMoney_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Financial.PayOutMoney_Info;
+ this.LabelPayOutMoneyHeader.Text = Resources.Pages.Financial.PayOutMoney_Header;
+ this.LabelGridHeaderAccount.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_BankAccount;
+ this.LabelGridHeaderAmount.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_Amount;
+ this.LabelGridHeaderBank.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_BankName;
+ this.LabelGridHeaderDue.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_DueDate;
+ this.LabelGridHeaderPaid.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_PaidOut;
+ this.LabelGridHeaderRecipient.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_Recipient;
+ this.LabelGridHeaderReference.Text = Resources.Pages.Financial.PayOutMoney_GridHeader_Reference;
}
@@ -72,7 +72,7 @@ namespace Swarmops.Frontend.Pages.Financial
// Create result and return it
result.AssignedId = payout.Identity;
- result.DisplayMessage = String.Format(Resources.Pages_Financial.PayOutMoney_PayoutCreated, payout.Identity,
+ result.DisplayMessage = String.Format(Resources.Pages.Financial.PayOutMoney_PayoutCreated, payout.Identity,
payout.Recipient);
result.DisplayMessage = HttpUtility.UrlEncode(result.DisplayMessage).Replace("+", "%20");
@@ -99,7 +99,7 @@ namespace Swarmops.Frontend.Pages.Financial
// this payout has already been settled, or picked up for settling
result.Success = false;
- result.DisplayMessage = String.Format(Resources.Pages_Financial.PayOutMoney_PayoutCannotUndo,
+ result.DisplayMessage = String.Format(Resources.Pages.Financial.PayOutMoney_PayoutCannotUndo,
databaseId);
return result;
@@ -107,7 +107,7 @@ namespace Swarmops.Frontend.Pages.Financial
payout.UndoPayout();
- result.DisplayMessage = HttpUtility.UrlEncode(String.Format(Resources.Pages_Financial.PayOutMoney_PayoutUndone, databaseId)).Replace("+","%20");
+ result.DisplayMessage = HttpUtility.UrlEncode(String.Format(Resources.Pages.Financial.PayOutMoney_PayoutUndone, databaseId)).Replace("+","%20");
result.Success = true;
return result;
}
diff --git a/Site5/Pages/v5/Financial/RequestCashAdvance.aspx.cs b/Site5/Pages/v5/Financial/RequestCashAdvance.aspx.cs
index c9968496..618e5be9 100644
--- a/Site5/Pages/v5/Financial/RequestCashAdvance.aspx.cs
+++ b/Site5/Pages/v5/Financial/RequestCashAdvance.aspx.cs
@@ -15,9 +15,9 @@ namespace Swarmops.Frontend.Pages.v5.Financial
return;
}
- this.PageTitle = Resources.Pages_Financial.RequestCashAdvance_PageTitle;
+ this.PageTitle = Resources.Pages.Financial.RequestCashAdvance_PageTitle;
this.PageIcon = "iconshock-walletmoney";
- this.InfoBoxLiteral = Resources.Pages_Financial.RequestCashAdvance_Info;
+ this.InfoBoxLiteral = Resources.Pages.Financial.RequestCashAdvance_Info;
if (!Page.IsPostBack)
{
@@ -36,21 +36,21 @@ namespace Swarmops.Frontend.Pages.v5.Financial
private void Localize()
{
- this.LabelAmount.Text = string.Format(Resources.Pages_Financial.RequestCashAdvance_Amount,
+ this.LabelAmount.Text = string.Format(Resources.Pages.Financial.RequestCashAdvance_Amount,
CurrentOrganization.Currency.Code);
- this.LabelPurpose.Text = Resources.Pages_Financial.RequestCashAdvance_Purpose;
- this.LabelBudget.Text = Resources.Pages_Financial.RequestCashAdvance_Budget;
- this.LabelHeaderBankDetails.Text = Resources.Pages_Financial.RequestCashAdvance_HeaderBankDetails;
- this.LabelBankName.Text = Resources.Pages_Financial.RequestCashAdvance_BankName;
- this.LabelBankClearing.Text = Resources.Pages_Financial.RequestCashAdvance_BankClearing;
- this.LabelBankAccount.Text = Resources.Pages_Financial.RequestCashAdvance_BankAccount;
+ this.LabelPurpose.Text = Resources.Pages.Financial.RequestCashAdvance_Purpose;
+ this.LabelBudget.Text = Resources.Pages.Financial.RequestCashAdvance_Budget;
+ this.LabelHeaderBankDetails.Text = Resources.Pages.Financial.RequestCashAdvance_HeaderBankDetails;
+ this.LabelBankName.Text = Resources.Pages.Financial.RequestCashAdvance_BankName;
+ this.LabelBankClearing.Text = Resources.Pages.Financial.RequestCashAdvance_BankClearing;
+ this.LabelBankAccount.Text = Resources.Pages.Financial.RequestCashAdvance_BankAccount;
- this.LiteralErrorAmount.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_Amount;
- this.LiteralErrorPurpose.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_Purpose;
- this.LiteralErrorBudget.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_Budget;
- this.LiteralErrorBankName.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_BankName;
- this.LiteralErrorBankClearing.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_BankClearing;
- this.LiteralErrorBankAccount.Text = Resources.Pages_Financial.RequestCashAdvance_ValidationError_BankAccount;
+ this.LiteralErrorAmount.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_Amount;
+ this.LiteralErrorPurpose.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_Purpose;
+ this.LiteralErrorBudget.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_Budget;
+ this.LiteralErrorBankName.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_BankName;
+ this.LiteralErrorBankClearing.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_BankClearing;
+ this.LiteralErrorBankAccount.Text = Resources.Pages.Financial.RequestCashAdvance_ValidationError_BankAccount;
}
@@ -87,20 +87,20 @@ namespace Swarmops.Frontend.Pages.v5.Financial
// Create success message
- string successMessage = string.Format(Resources.Pages_Financial.RequestCashAdvance_SuccessMessagePartOne,
+ string successMessage = string.Format(Resources.Pages.Financial.RequestCashAdvance_SuccessMessagePartOne,
HttpUtility.HtmlEncode(CurrentUser.Name),
HttpUtility.HtmlEncode(description), CurrentOrganization.Currency.Code,
(double) (amountCents/100.0));
if (budget.OwnerPersonId != CurrentUser.Identity)
{
- successMessage += "
" + Resources.Pages_Financial.RequestCashAdvance_SuccessMessagePartTwo +
+ successMessage += "
" + Resources.Pages.Financial.RequestCashAdvance_SuccessMessagePartTwo +
"
";
}
else
{
successMessage += "
" +
- Resources.Pages_Financial.RequestCashAdvance_SuccessMessagePartTwoOwnBudget +
+ Resources.Pages.Financial.RequestCashAdvance_SuccessMessagePartTwoOwnBudget +
"
";
cashAdvance.Attest (CurrentUser);
}
diff --git a/Site5/Pages/v5/Financial/ValidateReceipts.aspx.cs b/Site5/Pages/v5/Financial/ValidateReceipts.aspx.cs
index 200fae7c..4d80f35b 100644
--- a/Site5/Pages/v5/Financial/ValidateReceipts.aspx.cs
+++ b/Site5/Pages/v5/Financial/ValidateReceipts.aspx.cs
@@ -48,14 +48,14 @@ namespace Swarmops.Frontend.Pages.v5.Financial
private void Localize()
{
- this.PageTitle = Resources.Pages_Financial.ValidateReceipts_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Financial.ValidateReceipts_Info;
- this.LabelAttestCostsHeader.Text = Resources.Pages_Financial.ValidateReceipts_Header_ReceiptsAwaitingValidation;
+ this.PageTitle = Resources.Pages.Financial.ValidateReceipts_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Financial.ValidateReceipts_Info;
+ this.LabelAttestCostsHeader.Text = Resources.Pages.Financial.ValidateReceipts_Header_ReceiptsAwaitingValidation;
this.LabelGridHeaderAction.Text = Resources.Global.Global_Action;
- this.LabelGridHeaderBudget.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Budget; // Reuse some strings from Attest Costs
- this.LabelGridHeaderDescription.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Description;
- this.LabelGridHeaderDocs.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Docs;
- this.LabelGridHeaderRequested.Text = Resources.Pages_Financial.AttestCosts_GridHeader_Requested;
+ this.LabelGridHeaderBudget.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Budget; // Reuse some strings from Attest Costs
+ this.LabelGridHeaderDescription.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Description;
+ this.LabelGridHeaderDocs.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Docs;
+ this.LabelGridHeaderRequested.Text = Resources.Pages.Financial.AttestCosts_GridHeader_Requested;
FinancialTransactionTagSets tagSets = FinancialTransactionTagSets.ForOrganization(CurrentOrganization);
@@ -143,8 +143,8 @@ namespace Swarmops.Frontend.Pages.v5.Financial
}
validatableItem = expense;
- validatedTemplate = Resources.Pages_Financial.ValidateReceipts_ReceiptsValidated;
- devalidatedTemplate = Resources.Pages_Financial.ValidateReceipts_ReceiptsDevalidated;
+ validatedTemplate = Resources.Pages.Financial.ValidateReceipts_ReceiptsValidated;
+ devalidatedTemplate = Resources.Pages.Financial.ValidateReceipts_ReceiptsDevalidated;
amountCents = expense.AmountCents;
break;
diff --git a/Site5/Pages/v5/Init/Default.aspx.cs b/Site5/Pages/v5/Init/Default.aspx.cs
index 74c70541..dcf931c8 100644
--- a/Site5/Pages/v5/Init/Default.aspx.cs
+++ b/Site5/Pages/v5/Init/Default.aspx.cs
@@ -123,15 +123,15 @@ public partial class Pages_v5_Init_Default : System.Web.UI.Page
private void Localize()
{
- this.LabelCurrentUserName.Text = Resources.Pages_Init.Init_UserInfo_InstallingAdmin;
- this.LabelCurrentOrganizationName.Text = Resources.Pages_Init.Init_UserInfo_NoOrgsYet;
+ this.LabelCurrentUserName.Text = Resources.Pages.Init.Init_UserInfo_InstallingAdmin;
+ this.LabelCurrentOrganizationName.Text = Resources.Pages.Init.Init_UserInfo_NoOrgsYet;
this.LabelPreferences.Text = Resources.Global.CurrentUserInfo_Preferences;
this.LabelSidebarInfoHeader.Text = Resources.Global.Sidebar_Information;
- this.LabelSidebarInfoContent.Text = Resources.Pages_Init.Init_SidebarInfo_Welcome;
+ this.LabelSidebarInfoContent.Text = Resources.Pages.Init.Init_SidebarInfo_Welcome;
this.LabelSidebarActionsHeader.Text = Resources.Global.Sidebar_Actions;
- this.LabelSidebarActionsContent.Text = Resources.Pages_Init.Init_SidebarActions_None;
+ this.LabelSidebarActionsContent.Text = Resources.Pages.Init.Init_SidebarActions_None;
this.LabelSidebarTodoHeader.Text = Resources.Global.Sidebar_Todo;
- this.LabelSidebarTodoConnectDatabase.Text = Resources.Pages_Init.Init_SidebarTodo_CompleteSetup;
+ this.LabelSidebarTodoConnectDatabase.Text = Resources.Pages.Init.Init_SidebarTodo_CompleteSetup;
this.DropFavoriteColor.Items.Clear();
this.DropFavoriteColor.Items.Add(" -- Select one --");
diff --git a/Site5/Pages/v5/Ledgers/AccountPlan.aspx.cs b/Site5/Pages/v5/Ledgers/AccountPlan.aspx.cs
index 1c2d51a0..39569821 100644
--- a/Site5/Pages/v5/Ledgers/AccountPlan.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/AccountPlan.aspx.cs
@@ -25,31 +25,31 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
// Localize
this.PageIcon = "iconshock-openbook";
- this.PageTitle = Resources.Pages_Ledgers.AccountPlan_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Ledgers.AccountPlan_Info;
- this.LiteralExpensesBudgetsAreNegative.Text = Resources.Pages_Ledgers.AccountPlan_ExpensesBudgetsAreNegaive;
- this.LiteralHeaderAccountName.Text = Resources.Pages_Ledgers.AccountPlan_Header_AccountName;
- this.LiteralHeaderBalance.Text = Resources.Pages_Ledgers.AccountPlan_Header_Balance;
- this.LiteralHeaderBudget.Text = Resources.Pages_Ledgers.AccountPlan_Header_Budget;
- this.LiteralHeaderEdit.Text = Resources.Pages_Ledgers.AccountPlan_Header_Edit;
- this.LiteralHeaderEditingAccount.Text = Resources.Pages_Ledgers.AccountPlan_Edit_Header;
- this.LiteralHeaderFlags.Text = Resources.Pages_Ledgers.AccountPlan_Header_Flags;
+ this.PageTitle = Resources.Pages.Ledgers.AccountPlan_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.AccountPlan_Info;
+ this.LiteralExpensesBudgetsAreNegative.Text = Resources.Pages.Ledgers.AccountPlan_ExpensesBudgetsAreNegaive;
+ this.LiteralHeaderAccountName.Text = Resources.Pages.Ledgers.AccountPlan_Header_AccountName;
+ this.LiteralHeaderBalance.Text = Resources.Pages.Ledgers.AccountPlan_Header_Balance;
+ this.LiteralHeaderBudget.Text = Resources.Pages.Ledgers.AccountPlan_Header_Budget;
+ this.LiteralHeaderEdit.Text = Resources.Pages.Ledgers.AccountPlan_Header_Edit;
+ this.LiteralHeaderEditingAccount.Text = Resources.Pages.Ledgers.AccountPlan_Edit_Header;
+ this.LiteralHeaderFlags.Text = Resources.Pages.Ledgers.AccountPlan_Header_Flags;
this.LiteralHeaderOwner.Text = Resources.Global.Global_Owner;
- this.LiteralLabelAccountName.Text = Resources.Pages_Ledgers.AccountPlan_Edit_AccountName;
- this.LiteralLabelActiveLong.Text = Resources.Pages_Ledgers.AccountPlan_Edit_ActiveLong;
- this.LiteralLabelActiveShort.Text = Resources.Pages_Ledgers.AccountPlan_Edit_ActiveShort;
- this.LiteralLabelAdministrativeLong.Text = Resources.Pages_Ledgers.AccountPlan_Edit_AdministrativeLong;
- this.LiteralLabelAdministrativeShort.Text = Resources.Pages_Ledgers.AccountPlan_Edit_AdministrativeShort;
- this.LiteralLabelBudgetBalance.Text = Resources.Pages_Ledgers.AccountPlan_Edit_BudgetBalance;
- this.LiteralLabelExpensableLong.Text = Resources.Pages_Ledgers.AccountPlan_Edit_ExpensableLong;
- this.LiteralLabelExpensableShort.Text = Resources.Pages_Ledgers.AccountPlan_Edit_ExpensableShort;
- this.LiteralLabelFileUploadProfile.Text = Resources.Pages_Ledgers.AccountPlan_Edit_FileUploadProfile;
- this.LiteralLabelHeaderAutomation.Text = Resources.Pages_Ledgers.AccountPlan_Edit_HeaderAutomation;
- this.LiteralLabelHeaderConfiguration.Text = Resources.Pages_Ledgers.AccountPlan_Edit_HeaderConfiguration;
+ this.LiteralLabelAccountName.Text = Resources.Pages.Ledgers.AccountPlan_Edit_AccountName;
+ this.LiteralLabelActiveLong.Text = Resources.Pages.Ledgers.AccountPlan_Edit_ActiveLong;
+ this.LiteralLabelActiveShort.Text = Resources.Pages.Ledgers.AccountPlan_Edit_ActiveShort;
+ this.LiteralLabelAdministrativeLong.Text = Resources.Pages.Ledgers.AccountPlan_Edit_AdministrativeLong;
+ this.LiteralLabelAdministrativeShort.Text = Resources.Pages.Ledgers.AccountPlan_Edit_AdministrativeShort;
+ this.LiteralLabelBudgetBalance.Text = Resources.Pages.Ledgers.AccountPlan_Edit_BudgetBalance;
+ this.LiteralLabelExpensableLong.Text = Resources.Pages.Ledgers.AccountPlan_Edit_ExpensableLong;
+ this.LiteralLabelExpensableShort.Text = Resources.Pages.Ledgers.AccountPlan_Edit_ExpensableShort;
+ this.LiteralLabelFileUploadProfile.Text = Resources.Pages.Ledgers.AccountPlan_Edit_FileUploadProfile;
+ this.LiteralLabelHeaderAutomation.Text = Resources.Pages.Ledgers.AccountPlan_Edit_HeaderAutomation;
+ this.LiteralLabelHeaderConfiguration.Text = Resources.Pages.Ledgers.AccountPlan_Edit_HeaderConfiguration;
this.LiteralLabelHeaderDailyOperations.Text =
- Resources.Pages_Ledgers.AccountPlan_Edit_HeaderDailyOperations;
+ Resources.Pages.Ledgers.AccountPlan_Edit_HeaderDailyOperations;
this.LiteralLabelOwner.Text = Resources.Global.Global_Owner;
- this.LiteralLabelParent.Text = Resources.Pages_Ledgers.AccountPlan_Edit_Parent;
+ this.LiteralLabelParent.Text = Resources.Pages.Ledgers.AccountPlan_Edit_Parent;
diff --git a/Site5/Pages/v5/Ledgers/BalanceSheet.aspx b/Site5/Pages/v5/Ledgers/BalanceSheet.aspx
index 2cfb5399..94b0ea75 100644
--- a/Site5/Pages/v5/Ledgers/BalanceSheet.aspx
+++ b/Site5/Pages/v5/Ledgers/BalanceSheet.aspx
@@ -27,8 +27,8 @@
var selectedYear = $('#<%=DropYears.ClientID %>').val();
$('div#linkDownloadReport').attr("onclick", "document.location='Csv-BalanceData.aspx?Year=" + selectedYear + "';");
- $('#spanDownloadText').text('<%=Resources.Pages_Ledgers.BalanceSheet_DownloadFileName %>' + selectedYear + "-<%=DateTime.Today.ToString("yyyyMMdd") %>.csv");
- $('#headerStartYear').text('<%=Resources.Pages_Ledgers.BalanceSheet_StartYear %>'.replace('XXXX',selectedYear));
+ $('#spanDownloadText').text('<%=Resources.Pages.Ledgers.BalanceSheet_DownloadFileName %>' + selectedYear + "-<%=DateTime.Today.ToString("yyyyMMdd") %>.csv");
+ $('#headerStartYear').text('<%=Resources.Pages.Ledgers.BalanceSheet_StartYear %>'.replace('XXXX',selectedYear));
if (selectedYear == currentYear)
{
@@ -37,7 +37,7 @@
}
else
{
- $('#previousYtd').text('<%=Resources.Pages_Ledgers.BalanceSheet_EndYear %>'.replace('XXXX', selectedYear));
+ $('#previousYtd').text('<%=Resources.Pages.Ledgers.BalanceSheet_EndYear %>'.replace('XXXX', selectedYear));
$('span.currentYearHeader').hide();
$('span.previousYearsHeader').show();
diff --git a/Site5/Pages/v5/Ledgers/BalanceSheet.aspx.cs b/Site5/Pages/v5/Ledgers/BalanceSheet.aspx.cs
index b2c835fe..90458959 100644
--- a/Site5/Pages/v5/Ledgers/BalanceSheet.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/BalanceSheet.aspx.cs
@@ -14,8 +14,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
}
this.PageIcon = "iconshock-treasure";
- this.PageTitle = Resources.Pages_Ledgers.BalanceSheet_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Ledgers.BalanceSheet_Info;
+ this.PageTitle = Resources.Pages.Ledgers.BalanceSheet_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.BalanceSheet_Info;
if (!Page.IsPostBack)
{
@@ -37,14 +37,14 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
private void Localize()
{
- this.LabelContentHeader.Text = string.Format(Resources.Pages_Ledgers.BalanceSheet_ContentHeader,
+ this.LabelContentHeader.Text = string.Format(Resources.Pages.Ledgers.BalanceSheet_ContentHeader,
CurrentOrganization.Name);
- this.LiteralHeaderQ1.Text = Resources.Pages_Ledgers.BalanceSheet_Q1;
- this.LiteralHeaderQ2.Text = Resources.Pages_Ledgers.BalanceSheet_Q2;
- this.LiteralHeaderQ3.Text = Resources.Pages_Ledgers.BalanceSheet_Q3;
- this.LiteralHeaderQ4.Text = Resources.Pages_Ledgers.BalanceSheet_Q4;
- this.LiteralHeaderYtd.Text = Resources.Pages_Ledgers.BalanceSheet_Current;
- this.LiteralHeaderAccountName.Text = Resources.Pages_Ledgers.BalanceSheet_AccountName;
+ this.LiteralHeaderQ1.Text = Resources.Pages.Ledgers.BalanceSheet_Q1;
+ this.LiteralHeaderQ2.Text = Resources.Pages.Ledgers.BalanceSheet_Q2;
+ this.LiteralHeaderQ3.Text = Resources.Pages.Ledgers.BalanceSheet_Q3;
+ this.LiteralHeaderQ4.Text = Resources.Pages.Ledgers.BalanceSheet_Q4;
+ this.LiteralHeaderYtd.Text = Resources.Pages.Ledgers.BalanceSheet_Current;
+ this.LiteralHeaderAccountName.Text = Resources.Pages.Ledgers.BalanceSheet_AccountName;
}
}
diff --git a/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs b/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs
index b8bc6578..5473b3f7 100644
--- a/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs
@@ -24,11 +24,11 @@ public partial class Pages_v5_Ledgers_Csv_BalanceData : DataV5Base
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "text/plain";
- Response.AppendHeader("Content-Disposition", "attachment;filename=" + Resources.Pages_Ledgers.BalanceSheet_DownloadFileName + _year.ToString(CultureInfo.InvariantCulture) + "-" + DateTime.Today.ToString("yyyyMMdd") + ".csv");
+ Response.AppendHeader("Content-Disposition", "attachment;filename=" + Resources.Pages.Ledgers.BalanceSheet_DownloadFileName + _year.ToString(CultureInfo.InvariantCulture) + "-" + DateTime.Today.ToString("yyyyMMdd") + ".csv");
- Response.Output.WriteLine("\"{0}\",\"{1}\",\"{2}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\"", Resources.Pages_Ledgers.ProfitLossStatement_AccountName, Resources.Pages_Ledgers.BalanceSheet_StartYear.Replace("XXXX", _year.ToString(CultureInfo.InvariantCulture)),
- Resources.Pages_Ledgers.BalanceSheet_Q1, Resources.Pages_Ledgers.BalanceSheet_Q2, Resources.Pages_Ledgers.BalanceSheet_Q3, Resources.Pages_Ledgers.BalanceSheet_Q4,
- (_year == DateTime.Today.Year? Resources.Pages_Ledgers.BalanceSheet_Current : Resources.Pages_Ledgers.BalanceSheet_EndYear.Replace("XXXX", _year.ToString(CultureInfo.InvariantCulture))));
+ Response.Output.WriteLine("\"{0}\",\"{1}\",\"{2}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\"", Resources.Pages.Ledgers.ProfitLossStatement_AccountName, Resources.Pages.Ledgers.BalanceSheet_StartYear.Replace("XXXX", _year.ToString(CultureInfo.InvariantCulture)),
+ Resources.Pages.Ledgers.BalanceSheet_Q1, Resources.Pages.Ledgers.BalanceSheet_Q2, Resources.Pages.Ledgers.BalanceSheet_Q3, Resources.Pages.Ledgers.BalanceSheet_Q4,
+ (_year == DateTime.Today.Year? Resources.Pages.Ledgers.BalanceSheet_Current : Resources.Pages.Ledgers.BalanceSheet_EndYear.Replace("XXXX", _year.ToString(CultureInfo.InvariantCulture))));
LocalizeRoot(report.ReportLines);
@@ -42,10 +42,10 @@ public partial class Pages_v5_Ledgers_Csv_BalanceData : DataV5Base
{
Dictionary localizeMap = new Dictionary();
- localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Assets;
- localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Debt;
- localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Income;
- localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Costs;
+ localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Assets;
+ localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Debt;
+ localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Income;
+ localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Costs;
foreach (YearlyReportLine line in lines)
{
diff --git a/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs b/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs
index e23a3eae..0c98ea95 100644
--- a/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs
@@ -24,18 +24,18 @@ public partial class Pages_v5_Ledgers_Csv_ProfitLossData : DataV5Base
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "text/plain";
- Response.AppendHeader("Content-Disposition", "attachment;filename=" + Resources.Pages_Ledgers.ProfitLossStatement_DownloadFileName + _year.ToString(CultureInfo.InvariantCulture) + "-" + DateTime.Today.ToString("yyyyMMdd") + ".csv");
+ Response.AppendHeader("Content-Disposition", "attachment;filename=" + Resources.Pages.Ledgers.ProfitLossStatement_DownloadFileName + _year.ToString(CultureInfo.InvariantCulture) + "-" + DateTime.Today.ToString("yyyyMMdd") + ".csv");
if (_year == DateTime.Today.Year)
{
- Response.Output.WriteLine("\"{0}\",\"{1}\",\"{2}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\"", Resources.Pages_Ledgers.ProfitLossStatement_AccountName, Resources.Pages_Ledgers.ProfitLossStatement_LastYear,
- Resources.Pages_Ledgers.ProfitLossStatement_Q1, Resources.Pages_Ledgers.ProfitLossStatement_Q2, Resources.Pages_Ledgers.ProfitLossStatement_Q3, Resources.Pages_Ledgers.ProfitLossStatement_Q4,
- Resources.Pages_Ledgers.ProfitLossStatement_Ytd);
+ Response.Output.WriteLine("\"{0}\",\"{1}\",\"{2}\",\"{3}\",\"{4}\",\"{5}\",\"{6}\"", Resources.Pages.Ledgers.ProfitLossStatement_AccountName, Resources.Pages.Ledgers.ProfitLossStatement_LastYear,
+ Resources.Pages.Ledgers.ProfitLossStatement_Q1, Resources.Pages.Ledgers.ProfitLossStatement_Q2, Resources.Pages.Ledgers.ProfitLossStatement_Q3, Resources.Pages.Ledgers.ProfitLossStatement_Q4,
+ Resources.Pages.Ledgers.ProfitLossStatement_Ytd);
}
else
{
- Response.Output.WriteLine("\"{0}\",\"{1}\",\"{6}-{2}\",\"{6}-{3}\",\"{6}-{4}\",\"{6}-{5}\",\"{6}\"", Resources.Pages_Ledgers.ProfitLossStatement_AccountName, _year-1,
- Resources.Pages_Ledgers.ProfitLossStatement_Q1, Resources.Pages_Ledgers.ProfitLossStatement_Q2, Resources.Pages_Ledgers.ProfitLossStatement_Q3, Resources.Pages_Ledgers.ProfitLossStatement_Q4,
+ Response.Output.WriteLine("\"{0}\",\"{1}\",\"{6}-{2}\",\"{6}-{3}\",\"{6}-{4}\",\"{6}-{5}\",\"{6}\"", Resources.Pages.Ledgers.ProfitLossStatement_AccountName, _year-1,
+ Resources.Pages.Ledgers.ProfitLossStatement_Q1, Resources.Pages.Ledgers.ProfitLossStatement_Q2, Resources.Pages.Ledgers.ProfitLossStatement_Q3, Resources.Pages.Ledgers.ProfitLossStatement_Q4,
_year);
}
@@ -51,10 +51,10 @@ public partial class Pages_v5_Ledgers_Csv_ProfitLossData : DataV5Base
{
Dictionary localizeMap = new Dictionary();
- localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Assets;
- localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Debt;
- localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Income;
- localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Costs;
+ localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Assets;
+ localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Debt;
+ localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Income;
+ localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Costs;
foreach (YearlyReportLine line in lines)
{
diff --git a/Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs b/Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs
index c9cab827..8abc8a25 100644
--- a/Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs
@@ -21,8 +21,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
this.PageAccessRequired = new Access(this.CurrentOrganization, AccessAspect.Bookkeeping, AccessType.Read);
this.DbVersionRequired = 0; // base schema is fine
- this.PageTitle = Resources.Pages_Ledgers.InspectLedgers_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Ledgers.InspectLedgers_Info;
+ this.PageTitle = Resources.Pages.Ledgers.InspectLedgers_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.InspectLedgers_Info;
this.PageIcon = "iconshock-ledger-inspect";
if (!Page.IsPostBack)
@@ -59,18 +59,18 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
private void Localize()
{
- this.LabelHeaderInspect.Text = Resources.Pages_Ledgers.InspectLedgers_Header_Inspect;
- this.LabelHeaderInspectFor.Text = Resources.Pages_Ledgers.InspectLedgers_Header_For;
+ this.LabelHeaderInspect.Text = Resources.Pages.Ledgers.InspectLedgers_Header_Inspect;
+ this.LabelHeaderInspectFor.Text = Resources.Pages.Ledgers.InspectLedgers_Header_For;
this.LabelGridHeaderAction.Text = Resources.Global.Global_Action;
this.LabelGridHeaderBalance.Text = Resources.Global.Ledgers_Balance;
this.LabelGridHeaderDateTime.Text = Resources.Global.Global_Timestamp;
this.LabelGridHeaderDeltaNegative.Text = Resources.Global.Ledgers_Credit;
this.LabelGridHeaderDeltaPositive.Text = Resources.Global.Ledgers_Debit;
this.LabelGridHeaderDescription.Text = Resources.Global.Global_Description;
- this.LabelGridHeaderId.Text = Resources.Pages_Ledgers.InspectLedgers_TransactionId;
+ this.LabelGridHeaderId.Text = Resources.Pages.Ledgers.InspectLedgers_TransactionId;
- this.LabelFlagNotAvailable.Text = Resources.Pages_Ledgers.InspectLedgers_FlaggingNotAvailable;
- this.LabelInspectNotAvailable.Text = Resources.Pages_Ledgers.InspectLedgers_InspectNotAvailable;
+ this.LabelFlagNotAvailable.Text = Resources.Pages.Ledgers.InspectLedgers_FlaggingNotAvailable;
+ this.LabelInspectNotAvailable.Text = Resources.Pages.Ledgers.InspectLedgers_InspectNotAvailable;
}
}
}
\ No newline at end of file
diff --git a/Site5/Pages/v5/Ledgers/Json-AccountPlanData.aspx.cs b/Site5/Pages/v5/Ledgers/Json-AccountPlanData.aspx.cs
index a3427d51..de1e970d 100644
--- a/Site5/Pages/v5/Ledgers/Json-AccountPlanData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-AccountPlanData.aspx.cs
@@ -28,10 +28,10 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
PopulateLookups(FinancialAccounts.ForOrganization(_authenticationData.CurrentOrganization));
_hashedAccounts = FinancialAccounts.GetHashedAccounts(_authenticationData.CurrentOrganization);
- response += GetAccountGroup(FinancialAccountType.Asset, Resources.Pages_Ledgers.BalanceSheet_Assets) + ",";
- response += GetAccountGroup(FinancialAccountType.Debt, Resources.Pages_Ledgers.BalanceSheet_Debt) + ",";
- response += GetAccountGroup(FinancialAccountType.Income, Resources.Pages_Ledgers.ProfitLossStatement_Income) + ",";
- response += GetAccountGroup(FinancialAccountType.Cost, Resources.Pages_Ledgers.ProfitLossStatement_Costs);
+ response += GetAccountGroup(FinancialAccountType.Asset, Resources.Pages.Ledgers.BalanceSheet_Assets) + ",";
+ response += GetAccountGroup(FinancialAccountType.Debt, Resources.Pages.Ledgers.BalanceSheet_Debt) + ",";
+ response += GetAccountGroup(FinancialAccountType.Income, Resources.Pages.Ledgers.ProfitLossStatement_Income) + ",";
+ response += GetAccountGroup(FinancialAccountType.Cost, Resources.Pages.Ledgers.ProfitLossStatement_Costs);
Response.Output.WriteLine("[" + response + "]");
Response.End();
diff --git a/Site5/Pages/v5/Ledgers/Json-BalanceSheetData.aspx.cs b/Site5/Pages/v5/Ledgers/Json-BalanceSheetData.aspx.cs
index 520818a6..dd9b0611 100644
--- a/Site5/Pages/v5/Ledgers/Json-BalanceSheetData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-BalanceSheetData.aspx.cs
@@ -43,10 +43,10 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
{
Dictionary localizeMap = new Dictionary();
- localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Assets;
- localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Debt;
- localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Income;
- localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Costs;
+ localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Assets;
+ localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Debt;
+ localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Income;
+ localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Costs;
foreach (YearlyReportLine line in lines)
{
diff --git a/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs b/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
index bd5221c2..2d620af6 100644
--- a/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-InspectLedgerData.aspx.cs
@@ -22,7 +22,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
string yearString = Request.QueryString["Year"];
string monthString = Request.QueryString["Month"];
- string emptyResponse = "[{\"id\":\"-\",\"description\":\"" + JsonSanitize(Resources.Pages_Ledgers.InspectLedgers_PleaseSelectAccount) + "\"}]";
+ string emptyResponse = "[{\"id\":\"-\",\"description\":\"" + JsonSanitize(Resources.Pages.Ledgers.InspectLedgers_PleaseSelectAccount) + "\"}]";
if (string.IsNullOrEmpty(accountIdString) || string.IsNullOrEmpty(yearString) ||
string.IsNullOrEmpty(monthString) || accountIdString == "undefined")
@@ -119,22 +119,22 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
StringBuilder result = new StringBuilder(16384);
Int64 runningBalance = 0L;
- string startString = Resources.Pages_Ledgers.InspectLedgers_InboundBalanceZero;
- string endString = Resources.Pages_Ledgers.InspectLedgers_OutboundBalanceZero;
+ string startString = Resources.Pages.Ledgers.InspectLedgers_InboundBalanceZero;
+ string endString = Resources.Pages.Ledgers.InspectLedgers_OutboundBalanceZero;
if (!zeroStart)
{
runningBalance = account.GetDeltaCents(dawnOfMankind, periodStart);
- startString = Resources.Pages_Ledgers.InspectLedgers_InboundBalance;
+ startString = Resources.Pages.Ledgers.InspectLedgers_InboundBalance;
}
if (!zeroEnd)
{
- endString = Resources.Pages_Ledgers.InspectLedgers_OutboundBalance;
+ endString = Resources.Pages.Ledgers.InspectLedgers_OutboundBalance;
}
else if (periodEnd > DateTime.Now)
{
// account is zeroed at end of this period, but we're not yet at end of period, so add a "to date" disclaimer
- endString = Resources.Pages_Ledgers.InspectLedgers_OutboundBalanceZeroToDate;
+ endString = Resources.Pages.Ledgers.InspectLedgers_OutboundBalanceZeroToDate;
}
result.Append("{" +
@@ -177,7 +177,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
// If there are no transactions in this time period, say so
result.Append("{\"description\":\"" +
- JsonSanitize(Resources.Pages_Ledgers.InspectLedgers_NoTransactions) + "\"},");
+ JsonSanitize(Resources.Pages.Ledgers.InspectLedgers_NoTransactions) + "\"},");
}
result.Append("{" +
diff --git a/Site5/Pages/v5/Ledgers/Json-OutstandingAccounts.aspx.cs b/Site5/Pages/v5/Ledgers/Json-OutstandingAccounts.aspx.cs
index 7277b1aa..2b690253 100644
--- a/Site5/Pages/v5/Ledgers/Json-OutstandingAccounts.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-OutstandingAccounts.aspx.cs
@@ -346,17 +346,17 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
result.Append("{");
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
- Resources.Pages_Ledgers.ViewOutstandingAccounts_FooterTotal, balanceExpectedCents, centsTotal/100.0);
+ Resources.Pages.Ledgers.ViewOutstandingAccounts_FooterTotal, balanceExpectedCents, centsTotal/100.0);
result.Append("},{");
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{1:N2}\"",
- Resources.Pages_Ledgers.ViewOutstandingAccounts_FooterLedgerBalance, balanceExpectedCents / 100.0); // Expenses is a debt account, so reverse sign
+ Resources.Pages.Ledgers.ViewOutstandingAccounts_FooterLedgerBalance, balanceExpectedCents / 100.0); // Expenses is a debt account, so reverse sign
result.Append("},{");
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{1:N2}\"",
- Resources.Pages_Ledgers.ViewOutstandingAccounts_FooterDifference, (centsTotal - balanceExpectedCents) / 100.0);
+ Resources.Pages.Ledgers.ViewOutstandingAccounts_FooterDifference, (centsTotal - balanceExpectedCents) / 100.0);
result.Append("}]}"); // on separate line to suppress warning
diff --git a/Site5/Pages/v5/Ledgers/Json-ProfitLossData.aspx.cs b/Site5/Pages/v5/Ledgers/Json-ProfitLossData.aspx.cs
index 2c608b6f..925d1c6d 100644
--- a/Site5/Pages/v5/Ledgers/Json-ProfitLossData.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/Json-ProfitLossData.aspx.cs
@@ -40,10 +40,10 @@ public partial class Pages_v5_Ledgers_Json_ProfitLossData : DataV5Base
{
Dictionary localizeMap = new Dictionary();
- localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Assets;
- localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.BalanceSheet_Debt;
- localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Income;
- localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages_Ledgers.ProfitLossStatement_Costs;
+ localizeMap["%ASSET_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Assets;
+ localizeMap["%DEBT_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.BalanceSheet_Debt;
+ localizeMap["%INCOME_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Income;
+ localizeMap["%COST_ACCOUNTGROUP%"] = Resources.Pages.Ledgers.ProfitLossStatement_Costs;
foreach (YearlyReportLine line in lines)
{
@@ -57,7 +57,7 @@ public partial class Pages_v5_Ledgers_Json_ProfitLossData : DataV5Base
private string WriteFooter (YearlyReportNode totals)
{
- string result = string.Format("\"name\":\"{0}\"", Resources.Pages_Ledgers.ProfitLossStatement_Results);
+ string result = string.Format("\"name\":\"{0}\"", Resources.Pages.Ledgers.ProfitLossStatement_Results);
result += string.Format(CultureInfo.CurrentCulture, ",\"lastYear\":\"{0:N0}\"", (double)totals.PreviousYear / -100.0);
diff --git a/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx b/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx
index 6642775e..71babbe2 100644
--- a/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx
+++ b/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx
@@ -28,7 +28,7 @@
var selectedYear = $('#<%=DropYears.ClientID %>').val();
$('div#linkDownloadReport').attr("onclick", "document.location='Csv-ProfitLossData.aspx?Year=" + selectedYear + "';");
- $('#spanDownloadText').text('<%=Resources.Pages_Ledgers.ProfitLossStatement_DownloadFileName %>' + selectedYear + "-<%=DateTime.Today.ToString("yyyyMMdd") %>.csv");
+ $('#spanDownloadText').text('<%=Resources.Pages.Ledgers.ProfitLossStatement_DownloadFileName %>' + selectedYear + "-<%=DateTime.Today.ToString("yyyyMMdd") %>.csv");
if (selectedYear == currentYear)
{
diff --git a/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx.cs b/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx.cs
index 3cac7b49..63dd8551 100644
--- a/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx.cs
@@ -12,8 +12,8 @@ public partial class Pages_v5_Ledgers_ProfitLossStatement : PageV5Base
}
this.PageIcon = "iconshock-abacus";
- this.PageTitle = Resources.Pages_Ledgers.ProfitLossStatement_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Ledgers.ProfitLossStatement_Info;
+ this.PageTitle = Resources.Pages.Ledgers.ProfitLossStatement_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.ProfitLossStatement_Info;
if (!Page.IsPostBack)
{
@@ -34,14 +34,14 @@ public partial class Pages_v5_Ledgers_ProfitLossStatement : PageV5Base
private void Localize()
{
- this.LabelContentHeader.Text = string.Format(Resources.Pages_Ledgers.ProfitLossStatement_ContentHeader, CurrentOrganization.Name);
- this.LiteralHeaderLastYear.Text = Resources.Pages_Ledgers.ProfitLossStatement_LastYear;
- this.LiteralHeaderQ1.Text = Resources.Pages_Ledgers.ProfitLossStatement_Q1;
- this.LiteralHeaderQ2.Text = Resources.Pages_Ledgers.ProfitLossStatement_Q2;
- this.LiteralHeaderQ3.Text = Resources.Pages_Ledgers.ProfitLossStatement_Q3;
- this.LiteralHeaderQ4.Text = Resources.Pages_Ledgers.ProfitLossStatement_Q4;
- this.LiteralHeaderYtd.Text = Resources.Pages_Ledgers.ProfitLossStatement_Ytd;
- this.LiteralHeaderAccountName.Text = Resources.Pages_Ledgers.ProfitLossStatement_AccountName;
+ this.LabelContentHeader.Text = string.Format(Resources.Pages.Ledgers.ProfitLossStatement_ContentHeader, CurrentOrganization.Name);
+ this.LiteralHeaderLastYear.Text = Resources.Pages.Ledgers.ProfitLossStatement_LastYear;
+ this.LiteralHeaderQ1.Text = Resources.Pages.Ledgers.ProfitLossStatement_Q1;
+ this.LiteralHeaderQ2.Text = Resources.Pages.Ledgers.ProfitLossStatement_Q2;
+ this.LiteralHeaderQ3.Text = Resources.Pages.Ledgers.ProfitLossStatement_Q3;
+ this.LiteralHeaderQ4.Text = Resources.Pages.Ledgers.ProfitLossStatement_Q4;
+ this.LiteralHeaderYtd.Text = Resources.Pages.Ledgers.ProfitLossStatement_Ytd;
+ this.LiteralHeaderAccountName.Text = Resources.Pages.Ledgers.ProfitLossStatement_AccountName;
}
}
\ No newline at end of file
diff --git a/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx b/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx
index 1ca128db..3e6fb36b 100644
--- a/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx
+++ b/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx
@@ -35,8 +35,8 @@
var selectedYear = $('#<%=DropAccounts.ClientID %>').val();
$('div#linkDownloadReport').attr("onclick", "document.location='Csv-BalanceData.aspx?Year=" + selectedYear + "';");
- $('#spanDownloadText').text('<%=Resources.Pages_Ledgers.BalanceSheet_DownloadFileName %>' + selectedYear + "-<%=DateTime.Today.ToString("yyyyMMdd") %>.csv");
- $('#headerStartYear').text('<%=Resources.Pages_Ledgers.BalanceSheet_StartYear %>'.replace('XXXX',selectedYear));
+ $('#spanDownloadText').text('<%=Resources.Pages.Ledgers.BalanceSheet_DownloadFileName %>' + selectedYear + "-<%=DateTime.Today.ToString("yyyyMMdd") %>.csv");
+ $('#headerStartYear').text('<%=Resources.Pages.Ledgers.BalanceSheet_StartYear %>'.replace('XXXX',selectedYear));
if (selectedYear == currentYear)
{
@@ -45,7 +45,7 @@
}
else
{
- $('#previousYtd').text('<%=Resources.Pages_Ledgers.BalanceSheet_EndYear %>'.replace('XXXX', selectedYear));
+ $('#previousYtd').text('<%=Resources.Pages.Ledgers.BalanceSheet_EndYear %>'.replace('XXXX', selectedYear));
$('span.currentYearHeader').hide();
$('span.previousYearsHeader').show();
diff --git a/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx.cs b/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx.cs
index b959d6ca..a850dcb8 100644
--- a/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx.cs
@@ -49,8 +49,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
}
this.PageIcon = "iconshock-treasure";
- this.PageTitle = Resources.Pages_Ledgers.ResyncExternalAccount_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Ledgers.ResyncExternalAccount_Info;
+ this.PageTitle = Resources.Pages.Ledgers.ResyncExternalAccount_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.ResyncExternalAccount_Info;
if (!Page.IsPostBack)
{
diff --git a/Site5/Pages/v5/Ledgers/SetRootBudgets.aspx.cs b/Site5/Pages/v5/Ledgers/SetRootBudgets.aspx.cs
index bba65464..c09de249 100644
--- a/Site5/Pages/v5/Ledgers/SetRootBudgets.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/SetRootBudgets.aspx.cs
@@ -32,7 +32,7 @@ public partial class Pages_v5_Ledgers_SetRootBudgets : PageV5Base
this.HiddenInitOrganizationId.Value = this.CurrentOrganization.Identity.ToString();
this.PageIcon = "iconshock-moneybag";
- this.PageTitle = Resources.Pages_Ledgers.SetRootBudgets_PageTitle;
+ this.PageTitle = Resources.Pages.Ledgers.SetRootBudgets_PageTitle;
if (!Page.IsPostBack)
{
@@ -60,16 +60,16 @@ public partial class Pages_v5_Ledgers_SetRootBudgets : PageV5Base
UpdateYearlyResult(accounts);
- this.LabelRootBudgetHeader.Text = String.Format(Resources.Pages_Ledgers.SetRootBudgets_PageHeader, this.CurrentOrganization.Name);
+ this.LabelRootBudgetHeader.Text = String.Format(Resources.Pages.Ledgers.SetRootBudgets_PageHeader, this.CurrentOrganization.Name);
this.LabelAccountHeader.Text = Resources.Global.Financial_BookkeepingAccountShort;
this.LabelYearlyResultLabel.Text = Resources.Global.Financial_YearlyResult;
- this.ButtonSetBudgets.Text = Resources.Pages_Ledgers.SetRootBudgets_SetNewBudgets;
- this.LabelBudgetOwnerHeader.Text = Resources.Pages_Ledgers.SetRootBudgets_BudgetOwnerHeader;
+ this.ButtonSetBudgets.Text = Resources.Pages.Ledgers.SetRootBudgets_SetNewBudgets;
+ this.LabelBudgetOwnerHeader.Text = Resources.Pages.Ledgers.SetRootBudgets_BudgetOwnerHeader;
this.LabelSidebarActions.Text = Resources.Global.Sidebar_Actions;
this.LabelSidebarInfo.Text = Resources.Global.Sidebar_Information;
this.LabelSidebarTodo.Text = Resources.Global.Sidebar_Todo;
- this.LabelDashboardInfo.Text = Resources.Pages_Ledgers.SetRootBudgets_Info;
+ this.LabelDashboardInfo.Text = Resources.Pages.Ledgers.SetRootBudgets_Info;
LocalizeActualsHeader();
}
diff --git a/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx.cs b/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx.cs
index 6b8345c3..4a5d00e0 100644
--- a/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx.cs
@@ -28,7 +28,7 @@ namespace Swarmops.Site.Pages.Ledgers
{
protected void Page_Load(object sender, EventArgs e)
{
- this.PageTitle = Resources.Pages_Ledgers.UploadBankFiles_PageTitle;
+ this.PageTitle = Resources.Pages.Ledgers.UploadBankFiles_PageTitle;
this.PageIcon = "iconshock-bank";
this.PageAccessRequired = new Access(this.CurrentOrganization, AccessAspect.Bookkeeping, AccessType.Write);
@@ -58,14 +58,14 @@ namespace Swarmops.Site.Pages.Ledgers
{
// Localize
- this.InfoBoxLiteral = Resources.Pages_Ledgers.UploadBankFiles_Info;
- this.LabelBankAccount.Text = Resources.Pages_Ledgers.UploadBankFiles_BankAccount;
- this.LabelInstructions.Text = Resources.Pages_Ledgers.UploadBankFiles_Instructions;
- this.LabelProcessing.Text = Resources.Pages_Ledgers.UploadBankFiles_Processing;
- this.LabelProcessingComplete.Text = Resources.Pages_Ledgers.UploadBankFiles_ProcessingComplete;
- this.LabelUploadBankFile.Text = Resources.Pages_Ledgers.UploadBankFiles_UploadBankFile;
- this.LabelUploadMore.Text = Resources.Pages_Ledgers.UploadBankFiles_UploadAnother;
- this.LabelUploadBankFileHeader.Text = Resources.Pages_Ledgers.UploadBankFiles_UploadBankFile;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.UploadBankFiles_Info;
+ this.LabelBankAccount.Text = Resources.Pages.Ledgers.UploadBankFiles_BankAccount;
+ this.LabelInstructions.Text = Resources.Pages.Ledgers.UploadBankFiles_Instructions;
+ this.LabelProcessing.Text = Resources.Pages.Ledgers.UploadBankFiles_Processing;
+ this.LabelProcessingComplete.Text = Resources.Pages.Ledgers.UploadBankFiles_ProcessingComplete;
+ this.LabelUploadBankFile.Text = Resources.Pages.Ledgers.UploadBankFiles_UploadBankFile;
+ this.LabelUploadMore.Text = Resources.Pages.Ledgers.UploadBankFiles_UploadAnother;
+ this.LabelUploadBankFileHeader.Text = Resources.Pages.Ledgers.UploadBankFiles_UploadBankFile;
// Populate the asset account dropdown, if needed for file type
@@ -94,7 +94,7 @@ namespace Swarmops.Site.Pages.Ledgers
this.LiteralDownloadInstructions.Text =
this.LiteralDownloadInstructionsModal.Text =
- Resources.Pages_Ledgers.UploadBankFiles_DownloadInstructions_SebAccountFile;
+ Resources.Pages.Ledgers.UploadBankFiles_DownloadInstructions_SebAccountFile;
}
@@ -114,7 +114,7 @@ namespace Swarmops.Site.Pages.Ledgers
this.LiteralDownloadInstructions.Text =
this.LiteralDownloadInstructionsModal.Text =
- Resources.Pages_Ledgers.UploadBankFiles_DownloadInstructions_BankgiroSEFile;
+ Resources.Pages.Ledgers.UploadBankFiles_DownloadInstructions_BankgiroSEFile;
this.LiteralLastAccountRecord.Visible = false;
}
@@ -135,7 +135,7 @@ namespace Swarmops.Site.Pages.Ledgers
this.LiteralDownloadInstructions.Text =
this.LiteralDownloadInstructionsModal.Text =
- Resources.Pages_Ledgers.UploadBankFiles_DownloadInstructions_PaypalFile;
+ Resources.Pages.Ledgers.UploadBankFiles_DownloadInstructions_PaypalFile;
this.LiteralLastAccountRecord.Visible = false;
}
@@ -156,7 +156,7 @@ namespace Swarmops.Site.Pages.Ledgers
this.LiteralDownloadInstructions.Text =
this.LiteralDownloadInstructionsModal.Text =
- Resources.Pages_Ledgers.UploadBankFiles_DownloadInstructions_PaysonFile;
+ Resources.Pages.Ledgers.UploadBankFiles_DownloadInstructions_PaysonFile;
this.LiteralLastAccountRecord.Visible = true;
}
@@ -284,22 +284,22 @@ namespace Swarmops.Site.Pages.Ledgers
switch (category)
{
case ImportResultsCategory.Good:
- html = String.Format(Resources.Pages_Ledgers.UploadBankFiles_ResultsGood,
+ html = String.Format(Resources.Pages.Ledgers.UploadBankFiles_ResultsGood,
resultDetail.TransactionsImported, resultDetail.DuplicateTransactions,
resultDetail.EarliestTransaction, resultDetail.LatestTransaction);
break;
case ImportResultsCategory.Questionable:
- html = String.Format(Resources.Pages_Ledgers.UploadBankFiles_ResultsQuestionable,
+ html = String.Format(Resources.Pages.Ledgers.UploadBankFiles_ResultsQuestionable,
resultDetail.TransactionsImported, resultDetail.DuplicateTransactions,
Math.Abs(resultDetail.BalanceMismatchCents / 100.0), resultDetail.CurrencyCode);
break;
case ImportResultsCategory.Bad:
- html = Resources.Pages_Ledgers.UploadBankFiles_ResultsBad;
+ html = Resources.Pages.Ledgers.UploadBankFiles_ResultsBad;
break;
case ImportResultsCategory.Payments:
if (paymentsDetail.DuplicatePaymentCount > 0)
{
- html = String.Format(Resources.Pages_Ledgers.UploadBankFiles_ResultsPaymentsWithDupes,
+ html = String.Format(Resources.Pages.Ledgers.UploadBankFiles_ResultsPaymentsWithDupes,
paymentsDetail.PaymentGroupCount, paymentsDetail.PaymentCount,
paymentsDetail.PaymentCentsTotal/100.0,
paymentsDetail.Currency.Code, paymentsDetail.DuplicatePaymentGroupCount,
@@ -307,7 +307,7 @@ namespace Swarmops.Site.Pages.Ledgers
}
else
{
- html = String.Format(Resources.Pages_Ledgers.UploadBankFiles_ResultsPayments,
+ html = String.Format(Resources.Pages.Ledgers.UploadBankFiles_ResultsPayments,
paymentsDetail.PaymentGroupCount, paymentsDetail.PaymentCount,
paymentsDetail.PaymentCentsTotal / 100.0,
paymentsDetail.Currency.Code);
@@ -486,32 +486,32 @@ namespace Swarmops.Site.Pages.Ledgers
if (results.AccountBalanceMatchesBank)
{
this.LiteralImportResults.Text =
- String.Format(Resources.Pages_Ledgers.UploadBankFiles_ImportResults,
+ String.Format(Resources.Pages.Ledgers.UploadBankFiles_ImportResults,
results.DuplicateTransactions + results.TransactionsImported,
results.TransactionsImported,
FinancialAccount.FromIdentity(Int32.Parse(this.DropAccounts.SelectedValue))
.Name,
results.DuplicateTransactions);
- this.LabelImportResultsHeader.Text = Resources.Pages_Ledgers.UploadBankFiles_FileImportedHeader;
+ this.LabelImportResultsHeader.Text = Resources.Pages.Ledgers.UploadBankFiles_FileImportedHeader;
}
else
{
this.LiteralImportResults.Text =
- String.Format(Resources.Pages_Ledgers.UploadBankFiles_ErrorBalance,
+ String.Format(Resources.Pages.Ledgers.UploadBankFiles_ErrorBalance,
results.DuplicateTransactions + results.TransactionsImported,
results.TransactionsImported,
FinancialAccount.FromIdentity(Int32.Parse(this.DropAccounts.SelectedValue))
.Name,
results.DuplicateTransactions);
- this.LabelImportResultsHeader.Text = Resources.Pages_Ledgers.UploadBankFiles_FileImportedHeader_ErrorBalance;
+ this.LabelImportResultsHeader.Text = Resources.Pages.Ledgers.UploadBankFiles_FileImportedHeader_ErrorBalance;
}
}
catch (InvalidOperationException exception)
{
this.LiteralDownloadInstructionsModal.Text = exception.ToString(); // For debug purposes -- will not be shown to user
this.PanelErrorImage.Visible = true;
- this.LabelImportResultsHeader.Text = Resources.Pages_Ledgers.UploadBankFiles_ImportError;
- this.LiteralImportResults.Text = Resources.Pages_Ledgers.UploadBankFiles_ErrorInterpretation;
+ this.LabelImportResultsHeader.Text = Resources.Pages.Ledgers.UploadBankFiles_ImportError;
+ this.LiteralImportResults.Text = Resources.Pages.Ledgers.UploadBankFiles_ErrorInterpretation;
}
}
@@ -534,37 +534,37 @@ namespace Swarmops.Site.Pages.Ledgers
/*
private void PresentPaymentFileResults (ImportedPaymentData data)
{
- string literalResult = String.Format(Resources.Pages_Ledgers.UploadBankFiles_PaymentSummary1,
- LocalizeCount(Resources.Pages_Ledgers.UploadBankFiles_PaymentCount, data.DuplicatePaymentCount + data.PaymentCount)) + " ";
+ string literalResult = String.Format(Resources.Pages.Ledgers.UploadBankFiles_PaymentSummary1,
+ LocalizeCount(Resources.Pages.Ledgers.UploadBankFiles_PaymentCount, data.DuplicatePaymentCount + data.PaymentCount)) + " ";
if (data.PaymentCount == 0 && data.DuplicatePaymentCount > 0)
{
- literalResult += Resources.Pages_Ledgers.UploadBankFiles_PaymentAllDuplicates;
+ literalResult += Resources.Pages.Ledgers.UploadBankFiles_PaymentAllDuplicates;
}
else if (data.PaymentCount > 0)
{
- literalResult += String.Format(Resources.Pages_Ledgers.UploadBankFiles_PaymentSummary2,
+ literalResult += String.Format(Resources.Pages.Ledgers.UploadBankFiles_PaymentSummary2,
data.Currency.Code,
data.PaymentCentsTotal/100.0,
- LocalizeCount(Resources.Pages_Ledgers.UploadBankFiles_PaymentCount,
+ LocalizeCount(Resources.Pages.Ledgers.UploadBankFiles_PaymentCount,
data.PaymentCount),
- LocalizeCount(Resources.Pages_Ledgers.UploadBankFiles_PaymentGroupCount,
+ LocalizeCount(Resources.Pages.Ledgers.UploadBankFiles_PaymentGroupCount,
data.PaymentGroupCount));
if (data.DuplicatePaymentCount > 0)
{
literalResult += " " +
- String.Format(Resources.Pages_Ledgers.UploadBankFiles_PaymentSummaryDuplicates,
- LocalizeCount(Resources.Pages_Ledgers.UploadBankFiles_PaymentCount,
+ String.Format(Resources.Pages.Ledgers.UploadBankFiles_PaymentSummaryDuplicates,
+ LocalizeCount(Resources.Pages.Ledgers.UploadBankFiles_PaymentCount,
data.DuplicatePaymentCount),
LocalizeCount(
- Resources.Pages_Ledgers.UploadBankFiles_PaymentGroupCount,
+ Resources.Pages.Ledgers.UploadBankFiles_PaymentGroupCount,
data.DuplicatePaymentGroupCount));
}
}
this.LiteralImportResults.Text = @"" + literalResult + @"
";
- this.LabelImportResultsHeader.Text = Resources.Pages_Ledgers.UploadBankFiles_PaymentFileUploadedHeader;
+ this.LabelImportResultsHeader.Text = Resources.Pages.Ledgers.UploadBankFiles_PaymentFileUploadedHeader;
}*/
[Serializable]
diff --git a/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs
index db68eb85..1bacf260 100644
--- a/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs
+++ b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs
@@ -46,17 +46,17 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
private void Localize()
{
- this.PageTitle = Resources.Pages_Ledgers.ViewOutstandingAccounts_PageTitle;
- this.InfoBoxLiteral = Resources.Pages_Ledgers.ViewOutstandingAccounts_Info;
+ this.PageTitle = Resources.Pages.Ledgers.ViewOutstandingAccounts_PageTitle;
+ this.InfoBoxLiteral = Resources.Pages.Ledgers.ViewOutstandingAccounts_Info;
- this.LabelViewOutstandingAccountsHeader.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_Header;
- this.LabelGridHeaderAction.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderAction;
- this.LabelGridHeaderAmount.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderAmount;
- this.LabelGridHeaderCreatedDate.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderOpenedDate;
- this.LabelGridHeaderDescription.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderDescription;
- this.LabelGridHeaderExpectedCloseDate.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderExpectedCloseDate;
- this.LabelGridHeaderId.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderId;
- this.LabelGridHeaderRecipient.Text = Resources.Pages_Ledgers.ViewOutstandingAccounts_GridHeaderRecipient;
+ this.LabelViewOutstandingAccountsHeader.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_Header;
+ this.LabelGridHeaderAction.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderAction;
+ this.LabelGridHeaderAmount.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderAmount;
+ this.LabelGridHeaderCreatedDate.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderOpenedDate;
+ this.LabelGridHeaderDescription.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderDescription;
+ this.LabelGridHeaderExpectedCloseDate.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderExpectedCloseDate;
+ this.LabelGridHeaderId.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderId;
+ this.LabelGridHeaderRecipient.Text = Resources.Pages.Ledgers.ViewOutstandingAccounts_GridHeaderRecipient;
}
}
}
\ No newline at end of file
diff --git a/Site5/Pages/v5/Security/AccessDenied.aspx.cs b/Site5/Pages/v5/Security/AccessDenied.aspx.cs
index 900c4271..1522b723 100644
--- a/Site5/Pages/v5/Security/AccessDenied.aspx.cs
+++ b/Site5/Pages/v5/Security/AccessDenied.aspx.cs
@@ -4,11 +4,11 @@ public partial class Security_AccessDenied : PageV5Base
{
protected void Page_Load(object sender, EventArgs e)
{
- this.PageTitle = Resources.Pages_Security.AccessDenied_PageTitle;
+ this.PageTitle = Resources.Pages.Security.AccessDenied_PageTitle;
this.PageIcon = "iconshock-disconnect";
- this.LabelAccessDeniedHeader.Text = Resources.Pages_Security.AccessDenied_Header;
- this.InfoBoxLiteral = Resources.Pages_Security.AccessDenied_Info;
- this.LiteralAccessDeniedRant.Text = String.Format(Resources.Pages_Security.AccessDenied_Rant, this.CurrentOrganization.Name);
+ this.LabelAccessDeniedHeader.Text = Resources.Pages.Security.AccessDenied_Header;
+ this.InfoBoxLiteral = Resources.Pages.Security.AccessDenied_Info;
+ this.LiteralAccessDeniedRant.Text = String.Format(Resources.Pages.Security.AccessDenied_Rant, this.CurrentOrganization.Name);
}
}
\ No newline at end of file
diff --git a/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs b/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs
index 3c722825..96c4a8bc 100644
--- a/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs
+++ b/Site5/Pages/v5/Security/ChangeOrganizations.aspx.cs
@@ -15,10 +15,10 @@ namespace Swarmops.Frontend.Pages.v5.Security
{
protected void Page_Load(object sender, EventArgs e)
{
- this.PageTitle = Resources.Pages_Security.ChangeOrganizations_PageTitle;
+ this.PageTitle = Resources.Pages.Security.ChangeOrganizations_PageTitle;
this.PageIcon = "iconshock-organizations";
- this.InfoBoxLiteral = Resources.Pages_Security.ChangeOrganizations_Info;
- this.LabelNoOrganizations.Text = Resources.Pages_Security.ChangeOrganizations_NothingToChange;
+ this.InfoBoxLiteral = Resources.Pages.Security.ChangeOrganizations_Info;
+ this.LabelNoOrganizations.Text = Resources.Pages.Security.ChangeOrganizations_NothingToChange;
PopulateRepeater();
}
diff --git a/Site5/Pages/v5/Security/ChangeOrganizationsAdvanced.aspx.cs b/Site5/Pages/v5/Security/ChangeOrganizationsAdvanced.aspx.cs
index 67a5e8f1..193e00f5 100644
--- a/Site5/Pages/v5/Security/ChangeOrganizationsAdvanced.aspx.cs
+++ b/Site5/Pages/v5/Security/ChangeOrganizationsAdvanced.aspx.cs
@@ -15,16 +15,16 @@ namespace Swarmops.Frontend.Pages.Security
// this.PageAccessRequired = new Access(AccessAspect.Bookkeeping, AccessType.Write); // bogus, but will prevent bad ppl from entering until real security done
- this.PageTitle = Resources.Pages_Security.ChangeOrganizations_PageTitle;
+ this.PageTitle = Resources.Pages.Security.ChangeOrganizations_PageTitle;
this.PageIcon = "iconshock-organizations";
- this.InfoBoxLiteral = Resources.Pages_Security.ChangeOrganizations_Info;
+ this.InfoBoxLiteral = Resources.Pages.Security.ChangeOrganizations_Info;
this.LabelCurrentOrganizationName.Text = CurrentOrganization.Name;
}
private void Localize()
{
- this.LabelCurrentOrganization.Text = Resources.Pages_Security.ChangeOrganizations_CurrentOrganization;
- this.LabelNewOrganization.Text = Resources.Pages_Security.ChangeOrganizations_NewOrganization;
+ this.LabelCurrentOrganization.Text = Resources.Pages.Security.ChangeOrganizations_CurrentOrganization;
+ this.LabelNewOrganization.Text = Resources.Pages.Security.ChangeOrganizations_NewOrganization;
}
protected void ButtonSwitch_Click(object sender, EventArgs e)
diff --git a/Site5/Pages/v5/Security/DatabaseUpgradeRequired.aspx.cs b/Site5/Pages/v5/Security/DatabaseUpgradeRequired.aspx.cs
index 4e8409b2..1e9cf606 100644
--- a/Site5/Pages/v5/Security/DatabaseUpgradeRequired.aspx.cs
+++ b/Site5/Pages/v5/Security/DatabaseUpgradeRequired.aspx.cs
@@ -4,11 +4,11 @@ public partial class Security_DatabaseUpgradeRequired : PageV5Base
{
protected void Page_Load(object sender, EventArgs e)
{
- this.PageTitle = Resources.Pages_Security.DatabaseUpgradeRequired_PageTitle;
+ this.PageTitle = Resources.Pages.Security.DatabaseUpgradeRequired_PageTitle;
this.PageIcon = "iconshock-disconnect";
- this.LabelDbUpgradeRequiredHeader.Text = Resources.Pages_Security.DatabaseUpgradeRequired_Header;
- this.InfoBoxLiteral = Resources.Pages_Security.DatabaseUpgradeRequired_Info;
- this.LiteralDbUpgradeRequiredRant.Text = Resources.Pages_Security.DatabaseUpgradeRequired_Rant;
+ this.LabelDbUpgradeRequiredHeader.Text = Resources.Pages.Security.DatabaseUpgradeRequired_Header;
+ this.InfoBoxLiteral = Resources.Pages.Security.DatabaseUpgradeRequired_Info;
+ this.LiteralDbUpgradeRequiredRant.Text = Resources.Pages.Security.DatabaseUpgradeRequired_Rant;
}
}
\ No newline at end of file
diff --git a/Site5/Pages/v5/Swarm/ListFindPeople.aspx b/Site5/Pages/v5/Swarm/ListFindPeople.aspx
index 47263375..9e51d088 100644
--- a/Site5/Pages/v5/Swarm/ListFindPeople.aspx
+++ b/Site5/Pages/v5/Swarm/ListFindPeople.aspx
@@ -53,7 +53,7 @@
var rowCount = $(this).datagrid('getRows').length;
$("#spanHitCount").text(rowCount);
if (rowCount == 1000) {
- alertify.log("<%= Resources.Pages_People.ListFindPeople_TooManyHits %>");
+ alertify.log("<%= Resources.Pages.People.ListFindPeople_TooManyHits %>");
}
// Leaving some remnant code from PayOutMoney in here for now, as similar code will be needed
diff --git a/Site5/Pages/v5/Swarm/ListFindPeople.aspx.cs b/Site5/Pages/v5/Swarm/ListFindPeople.aspx.cs
index b35a8604..b46d7389 100644
--- a/Site5/Pages/v5/Swarm/ListFindPeople.aspx.cs
+++ b/Site5/Pages/v5/Swarm/ListFindPeople.aspx.cs
@@ -24,11 +24,11 @@ namespace Swarmops.Frontend.Pages.Swarm
private void Localize()
{
- this.PageTitle = Resources.Pages_People.ListFindPeople_Title;
- this.InfoBoxLiteral = Resources.Pages_People.ListFindPeople_Info;
+ this.PageTitle = Resources.Pages.People.ListFindPeople_Title;
+ this.InfoBoxLiteral = Resources.Pages.People.ListFindPeople_Info;
this.LabelGeography.Text = Resources.Global.Global_Geography;
- this.LabelNamePattern.Text = Resources.Pages_People.ListFindPeople_NamePattern;
- this.LabelMatchingPeopleInX.Text = String.Format(Resources.Pages_People.ListFindPeople_MatchingPeopleInX,
+ this.LabelNamePattern.Text = Resources.Pages.People.ListFindPeople_NamePattern;
+ this.LabelMatchingPeopleInX.Text = String.Format(Resources.Pages.People.ListFindPeople_MatchingPeopleInX,
this.CurrentOrganization.Name);
this.LabelGridHeaderAction.Text = Resources.Global.Global_Action;
@@ -68,7 +68,7 @@ namespace Swarmops.Frontend.Pages.Swarm
// Create result and return it
result.AssignedId = payout.Identity;
- result.DisplayMessage = String.Format(Resources.Pages_Financial.PayOutMoney_PayoutCreated, payout.Identity,
+ result.DisplayMessage = String.Format(Resources.Pages.Financial.PayOutMoney_PayoutCreated, payout.Identity,
payout.Recipient);
result.DisplayMessage = HttpUtility.UrlEncode(result.DisplayMessage).Replace("+", "%20");
@@ -95,7 +95,7 @@ namespace Swarmops.Frontend.Pages.Swarm
// this payout has already been settled, or picked up for settling
result.Success = false;
- result.DisplayMessage = String.Format(Resources.Pages_Financial.PayOutMoney_PayoutCannotUndo,
+ result.DisplayMessage = String.Format(Resources.Pages.Financial.PayOutMoney_PayoutCannotUndo,
databaseId);
return result;
@@ -103,7 +103,7 @@ namespace Swarmops.Frontend.Pages.Swarm
payout.UndoPayout();
- result.DisplayMessage = HttpUtility.UrlEncode(String.Format(Resources.Pages_Financial.PayOutMoney_PayoutUndone, databaseId)).Replace("+","%20");
+ result.DisplayMessage = HttpUtility.UrlEncode(String.Format(Resources.Pages.Financial.PayOutMoney_PayoutUndone, databaseId)).Replace("+","%20");
result.Success = true;
return result;
}
diff --git a/Site5/Security/Login.aspx.cs b/Site5/Security/Login.aspx.cs
index 017a52fa..e0e32a0a 100644
--- a/Site5/Security/Login.aspx.cs
+++ b/Site5/Security/Login.aspx.cs
@@ -280,18 +280,18 @@ namespace Swarmops.Pages.Security
{
this.LabelCurrentOrganizationName.Text = Resources.Global.Global_Organization;
this.LabelCurrentUserName.Text = Resources.Global.Title_Person_Generic;
- this.LabelPageTitle.Text = Resources.Pages_Security.Login_PageTitle;
+ this.LabelPageTitle.Text = Resources.Pages.Security.Login_PageTitle;
this.LabelPreferences.Text = Resources.Global.Global_NA;
this.LabelSidebarInfoHeader.Text = Resources.Global.Sidebar_Information;
this.LabelSidebarHelpHeader.Text = Resources.Global.Sidebar_Help;
- this.LabelSidebarInfoContent.Text = Resources.Pages_Security.Login_Info;
- this.LabelSidebarManualLoginHeader.Text = Resources.Pages_Security.Login_ManualLogin;
- this.LabelHeader.Text = Resources.Pages_Security.Login_Header;
- this.LabelSidebarResetPassword.Text = Resources.Pages_Security.Login_ResetPassword;
- this.LiteralCredentialsUser.Text = Resources.Pages_Security.Login_Username;
- this.LiteralCredentialsPass.Text = Resources.Pages_Security.Login_Password;
- this.LiteralCredentials2FA.Text = Resources.Pages_Security.Login_GoogleAuthenticatorCode;
- this.LiteralLoginSuccess.Text = Resources.Pages_Security.Login_LoggingIn;
+ this.LabelSidebarInfoContent.Text = Resources.Pages.Security.Login_Info;
+ this.LabelSidebarManualLoginHeader.Text = Resources.Pages.Security.Login_ManualLogin;
+ this.LabelHeader.Text = Resources.Pages.Security.Login_Header;
+ this.LabelSidebarResetPassword.Text = Resources.Pages.Security.Login_ResetPassword;
+ this.LiteralCredentialsUser.Text = Resources.Pages.Security.Login_Username;
+ this.LiteralCredentialsPass.Text = Resources.Pages.Security.Login_Password;
+ this.LiteralCredentials2FA.Text = Resources.Pages.Security.Login_GoogleAuthenticatorCode;
+ this.LiteralLoginSuccess.Text = Resources.Pages.Security.Login_LoggingIn;
}