From 95716f280851660e7279d68224a8d85b771750bd Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 3 Oct 2017 14:23:06 +0200 Subject: [PATCH] Changed default 'bank account' account to plural, for many children accounts --- .../Logic.Financial.FinancialAccount.Designer.cs | 9 +++++++++ Logic/Resources/Logic.Financial.FinancialAccount.resx | 4 ++++ Logic/Structure/Organization.cs | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs b/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs index 179d1360..2df677ac 100644 --- a/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs +++ b/Logic/Resources/Logic.Financial.FinancialAccount.Designer.cs @@ -69,6 +69,15 @@ namespace Swarmops.Logic.Resources { } } + /// + /// Looks up a localized string similar to Bank Accounts. + /// + internal static string Asset_BankAccounts { + get { + return ResourceManager.GetString("Asset_BankAccounts", resourceCulture); + } + } + /// /// Looks up a localized string similar to Bitcoin Cold Storage. /// diff --git a/Logic/Resources/Logic.Financial.FinancialAccount.resx b/Logic/Resources/Logic.Financial.FinancialAccount.resx index fa4ea417..5fb8a724 100644 --- a/Logic/Resources/Logic.Financial.FinancialAccount.resx +++ b/Logic/Resources/Logic.Financial.FinancialAccount.resx @@ -360,4 +360,8 @@ Taxes Prepayment Most tax authorities require you to pay some part in advance + + Bank Accounts + Note the plural form + \ No newline at end of file diff --git a/Logic/Structure/Organization.cs b/Logic/Structure/Organization.cs index 33ec7293..07f66201 100644 --- a/Logic/Structure/Organization.cs +++ b/Logic/Structure/Organization.cs @@ -464,7 +464,7 @@ namespace Swarmops.Logic.Structure // First, set hardwired accounts FinancialAccounts[OrganizationFinancialAccountType.AssetsBankAccountMain] = - FinancialAccount.Create (this, "[LOC]Asset_BankAccount", FinancialAccountType.Asset, null); + FinancialAccount.Create (this, "[LOC]Asset_BankAccounts", FinancialAccountType.Asset, null); FinancialAccounts[OrganizationFinancialAccountType.AssetsOutboundInvoices] = FinancialAccount.Create (this, "[LOC]Asset_OutboundInvoices", FinancialAccountType.Asset, null); FinancialAccounts[OrganizationFinancialAccountType.AssetsOutstandingCashAdvances] =