From eb19ccb5fd0667f85737807445291ff9115efe26 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 30 Oct 2014 18:46:56 +0100 Subject: [PATCH] Try renaming resources to dotless filenames --- ...{Pages.Ledgers.resx => Pages_Ledgers.resx} | 1090 ++++++++--------- ...ages.Security.resx => Pages_Security.resx} | 390 +++--- .../Json-FinancialAccountsTree.aspx.cs | 8 +- Site5/Pages/v5/Ledgers/AccountPlan.aspx.cs | 44 +- Site5/Pages/v5/Ledgers/BalanceSheet.aspx | 6 +- Site5/Pages/v5/Ledgers/BalanceSheet.aspx.cs | 18 +- .../Pages/v5/Ledgers/Csv-BalanceData.aspx.cs | 16 +- .../v5/Ledgers/Csv-ProfitLossData.aspx.cs | 20 +- Site5/Pages/v5/Ledgers/InspectLedgers.aspx.cs | 14 +- .../v5/Ledgers/Json-AccountPlanData.aspx.cs | 8 +- .../v5/Ledgers/Json-BalanceSheetData.aspx.cs | 8 +- .../v5/Ledgers/Json-InspectLedgerData.aspx.cs | 14 +- .../Ledgers/Json-OutstandingAccounts.aspx.cs | 6 +- .../v5/Ledgers/Json-ProfitLossData.aspx.cs | 10 +- .../Pages/v5/Ledgers/ProfitLossStatement.aspx | 2 +- .../v5/Ledgers/ProfitLossStatement.aspx.cs | 20 +- .../v5/Ledgers/ResyncExternalAccount.aspx | 6 +- .../v5/Ledgers/ResyncExternalAccount.aspx.cs | 4 +- Site5/Pages/v5/Ledgers/SetRootBudgets.aspx.cs | 10 +- .../Pages/v5/Ledgers/UploadBankFiles.aspx.cs | 66 +- .../Ledgers/ViewOutstandingAccounts.aspx.cs | 20 +- Site5/Pages/v5/Security/AccessDenied.aspx.cs | 8 +- .../v5/Security/ChangeOrganizations.aspx.cs | 6 +- .../ChangeOrganizationsAdvanced.aspx.cs | 8 +- .../Security/DatabaseUpgradeRequired.aspx.cs | 8 +- Site5/Security/Login.aspx.cs | 10 +- 26 files changed, 910 insertions(+), 910 deletions(-) rename Site5/App_GlobalResources/{Pages.Ledgers.resx => Pages_Ledgers.resx} (98%) rename Site5/App_GlobalResources/{Pages.Security.resx => Pages_Security.resx} (98%) diff --git a/Site5/App_GlobalResources/Pages.Ledgers.resx b/Site5/App_GlobalResources/Pages_Ledgers.resx similarity index 98% rename from Site5/App_GlobalResources/Pages.Ledgers.resx rename to Site5/App_GlobalResources/Pages_Ledgers.resx index 9c792ee2..affe5666 100644 --- a/Site5/App_GlobalResources/Pages.Ledgers.resx +++ b/Site5/App_GlobalResources/Pages_Ledgers.resx @@ -1,545 +1,545 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Create new root account - - - This is the overview of the financial accounts in your bookkeeping ledger. You can do some maintenance from here, even if most of the daily operations should be delegated to the budget owners. - - - Account Plan - - - Account - - - Assets - - - Balance Sheet for {0}, - {0} is the organization name. The year follows immediately. - - - Current - - - Liabilities - - - BalanceSheet - Must ONLY contain A-Z, a-z characters - nothing accented! - - - End-XXXX - The XXXX is replaced with year number. - - - The Balance Sheet is an overview of assets and debts at a snapshot in time, and is used to see how results affect the overall financial health of the organization. You may also want to look at the <a href="ProfitLossStatement.aspx">profit-and-loss statement</a> which is the overview of income and expenditure. - - - Balance Sheet - - - Change Q1 - - - Change Q2 - - - Change Q3 - - - Change Q4 - - - Start-XXXX - The XXXX is replaced with year number. - - - Account - - - P&L for {0} for - The {0} is the organization name. The year number follows this string. - - - Expenses - - - ProfitLoss - Must ONLY contain A-Z, a-z characters - nothing accented! - - - Revenue - - - The P&L is an overview of income and expenditures, which are grouped by budgets or cost/income type. The sum of all income and expenditure is the yearly result. You may also want to look at the <a href="BalanceSheet.aspx">balance sheet</a> which is the overview of assets and debts. - - - Last Year - - - Profit & Loss Statement - - - Q1 - - - Q2 - - - Q3 - - - Q4 - - - Results - Footer on P&L statement - - - YTD - Year To Date - - - If your bookkeeping in Swarmops has gotten out of sync with your bank records for whatever technical or human reason, you can resynchronize them here by uploading a master file that covers the time frame you need to resync.<br/><br/><strong>Warning:</strong> this is a time-consuming process that may do a <em>lot</em> of changes to your bookkeeping. Do not use unless you have discovered a mismatch in the records vs. your bank.<br/><br/>(You will get a chance to review proposed changes before they are committed to your financial records.) - - - Resynchronize Bank Account - - - Budget, Owner - Displayed above editables - - - This is where the root budgets are set for each budget year. After these are set, each budget owner suballocates funds within their respective budget trees. - - - Root Budgets For {0} - The {0} is replaced with the organization's name. - - - Set Root Level Budgets - Displayed above main content - - - Set New Budgets - Text on submit button - - - Account Statement - - - Bank Account - - - Bank Screenshot - Displayed as header above modally zoomed screenshot - - - </p><p>(The most recent data in Swarmops in <em>{0}</em> is from {1:yyyy-MMM-dd}. You should download bank data from at least <strong>{2:yyyy-MMM-dd}.</strong>) - Displayed to help user determine scope of bank download - - - </p><p>(Paypal will tell you the time of the last transaction download. Download all transactions from that point in time, adding some three days of overlap.) - Displayed instead of date of last transaction in the case of Paypal. - - - Bank Download Instructions - Header above instructions for generation of the bank file type selected. - - - Different banks have different means of obtaining the BGMAX format file. On SEB, you go to <strong>Payments</strong> and <strong>File communications</strong> to see a list of files to retrieve. Other banks will vary. In any case, upload them here. - - - Log on to PayPal. Go to <strong>Your Account</strong>, and under the <strong>History</strong> menu, select <strong>Download History</strong>. Select <strong>Custom Date Range</strong>, enter the range since last download (as indicated) plus some overlap, and most importantly, select <strong>Tab Delimited - All Activity</strong>. Click <strong>Download</strong>.</p><p>Some time will pass before you get a mail from PayPal saying that the file is ready for download. It will be named <em>download.txt</em>. Upload this file. - - - Log on to Payson. Go to the <strong>History</strong> tab, and click <strong>Export history</strong>. The downloaded file will be named <em>Payson_Export_[date].xls</em>. Upload this file. - - - Open SEB's internet bank. Go to <strong>your account</strong>, and enter the date span you wish to download in the search box. Press <strong>filter</strong>. After that, click the link to <strong>save the account history</strong>. A popup will appear. Choose <strong>csv</strong> and <strong>tab separated</strong>, then <strong>save</strong>. The downloaded file will be named <em>Kontohändelser.csv</em>. Upload this file. - Only translate to languages where SEB is active. - - - <p>The file contained {0:N0} transactions. <strong>{1:N0} transactions</strong> have been successfully imported into the <em>{2}</em> bookkeeping account. ({3:N0} transactions were duplicates.)</p><p><strong>However, the bank balance does not match the records in Swarmops.</strong> This is usually due to missing transactions. Please upload a transaction list with a larger time span to make sure that Swarmops sees all transactions.</p><p>Swarmops's bookkeeping account is currently <strong>not in sync</strong> with that of the bank.</p> - Displayed when import successful, but end balance out of sync. Assumes plural along all pasted numbers. - - - <h3>The bank file could not be imported.</h3><p>This has one of three reasons: you missed some detail in the download instructions, the bank has changed its format, or you accidentally uploaded the wrong file entirely (like a photo from your last party instead of the transactions list). No transactions were imported at all. <strong>Please retry.</strong> - - - Expected File - The name of the expected file for uploading. - - - File Successfully Imported - Displayed as header after successful processing - - - File Imported, But Data Out Of Sync - Displayed as header after a good processing that ended in sync failure - - - File Type - can be Account Statement or Payments File - - - Error on importing file - Displayed as header on import failure - - - <p>The file contained {0:N0} transactions. <strong>{1:N0} transactions</strong> have been successfully imported into the <em>{2}</em> bookkeeping account. ({3:N0} transactions were duplicates.)</p><p>After import, the account balance in Swarmops matches that of the bank.</p> - Displayed on successful import. Assumes plural among all pasted numbers. - - - Here, you can upload files from your bank or payment provider into your organization's bookkeeping. Examples include account history and payments received. - Displayed in sidebar on page. - - - Instructions - - - Upload Bank Files - Displayed above main content. - - - However, they were all duplicates of payment information that was previously uploaded. No new payment information has been imported to Swarmops. - - - no payments|one payment|{0} payments - none|one|many - - - Payment File Uploaded - - - no payment groups|one payment group|{0} payment groups - none|one|many - - - Payments File - - - The payment file contained {0}. - - - <strong>{0} {1:N2}</strong> in payments were imported, distributed over {2} across {3}. - like EUR 2,102.00 in 3 payments across 2 groups - - - There was also some duplicate information ({0} across {1}). - - - Processing File... - - - Processing Complete - - - <p><br/><strong>The file could not be read as an input file to this bank.</strong></p><p>There are several reasons this could happen: the file may be corrupt, the bank may have silently changed its file format, or you uploaded the wrong file entirely. Please try again.</p> - Displayed when the input file can't be parsed, before import attempt. - - - <p>The file has been <strong>successfully imported.</strong> {0:N0} new transactions imported; {1:N0} discarded as duplicates of what was already in Swarmops. The account balance in Swarmops matches that of the bank.</p><p>The file contained transactions from {2:yyyy-MMM-dd} to {3:yyyy-MMM-dd}.</p> - Zero is new transaction count, one is duplicate transaction count, two and three are lowest and highest dates found in file. Pay attention to date format and adjust to culture. - - - <p>The file was imported, but the <strong>resulting account balance mismatches.</strong></p><p>After importing {0:N0} transactions (and discarding {1:N0} duplicates), the entire file has been processed. However, the resulting account balance in Swarmops is not the same as that of the bank statement; there is a difference of {3} {2:N2}.</p> -<p>Please try uploading a fresh account statement. If that still produces a mismatch, you may need to try <a href="/Pages/v5/Ledgers/ResyncExternalAccount.aspx">resynchronizing</a> the bank account with a comprehensive account statement file.</p> - Displayed on successful import, but the resulting balance is off compared to the account statement file that was just uploaded. 2 is the diff, 3 is the currency. - - - Select Bookkeeping Account - Select prompt for the financial account in the organization's bookkeeping. - - - Select File Type And Account For Upload - - - Select Bank File Type - Header above several bank logos, prompting a selection of bank. - - - Upload another bank file? - Displayed as header after uploading one file - - - Upload bank file - Displayed as header above download instructions / upload form - - - Difference - - - Ledger Balance - - - Total - - - Action - keep short - - - Amount - - - Description - - - Exp Close - keep short - - - ID# - keep short - - - Opened Date - keep short - - - Recipient - - - List Unsettled - - - This page lets you verify the outstanding and unsettled accounts (expenses, invoices, cash advances, etc.) at the current point in time or at the time of closing of any previous ledger. - - - List Unsettled Accounts - - - Account name - - - Is this account open for transactions? - - - Active - - - Are transactions here excluded from 2-D reports? - - - Admin - - - Budget (balance is <span id="SpanTextCurrency">foo</span> <span id="SpanEditBalance">bar</span>) - foo, bar replaced on load with actual values - - - Can people use this account for expense reports? - - - Expensable - - - File upload profile - - - Editing Account - - - Automation - Automatic connections to bank, blockchain etc. - - - Configuration - - - Daily Operations - - - Initial Value - For asset and liability accounts - the value going into Swarmops first ledger year - - - Parent account or group - - - This is an Expenses account. Such accounts normally have a budget in the negative, since they drain assets from the organization. Your proposed budget was changed to negative. - Displayed as a message box - - - Account - - - Balance - - - Budget - - - Edit - - - Flags - - - for - "inspect [accountdropdown] FOR [year] [month]" - - - Inspect - "INSPECT [accountdropdown] for [year] [month]" - - - Inspect Ledgers - - - Flagging a transaction for closer inspection is not yet implemented. It is scheduled for one of the early Swarmops Red sprints, some time late 2015Q1. - - - Inbound Balance - - - No Previous Balance - - - This is the raw underlying Venetian bookkeeping ledgers for the organization's finances. You can study them here in detail for auditing purposes. <span id="SpanInfoProfitLossAccount" style="display:none"><strong>You're currently watching a P&L account, so signs are reversed - income is negative and expenses positive</strong> due to how Venetian double bookkeeping works.</span> - - - Inspecting a single transaction is not yet implemented. It is scheduled for one of the early Swarmops Red sprints, late 2015Q1. - - - There are no transactions in this account for the selected time period. - - - Outbound Balance - - - Ending Balance - - - Ending Balance (to date) - Displayed if the end-balance date isn't reached yet - - - (Please select an account.) - Displayed initially and when no valid account selected - - - Tx# - Keep VERY short. - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Create new root account + + + This is the overview of the financial accounts in your bookkeeping ledger. You can do some maintenance from here, even if most of the daily operations should be delegated to the budget owners. + + + Account Plan + + + Account + + + Assets + + + Balance Sheet for {0}, + {0} is the organization name. The year follows immediately. + + + Current + + + Liabilities + + + BalanceSheet + Must ONLY contain A-Z, a-z characters - nothing accented! + + + End-XXXX + The XXXX is replaced with year number. + + + The Balance Sheet is an overview of assets and debts at a snapshot in time, and is used to see how results affect the overall financial health of the organization. You may also want to look at the <a href="ProfitLossStatement.aspx">profit-and-loss statement</a> which is the overview of income and expenditure. + + + Balance Sheet + + + Change Q1 + + + Change Q2 + + + Change Q3 + + + Change Q4 + + + Start-XXXX + The XXXX is replaced with year number. + + + Account + + + P&L for {0} for + The {0} is the organization name. The year number follows this string. + + + Expenses + + + ProfitLoss + Must ONLY contain A-Z, a-z characters - nothing accented! + + + Revenue + + + The P&L is an overview of income and expenditures, which are grouped by budgets or cost/income type. The sum of all income and expenditure is the yearly result. You may also want to look at the <a href="BalanceSheet.aspx">balance sheet</a> which is the overview of assets and debts. + + + Last Year + + + Profit & Loss Statement + + + Q1 + + + Q2 + + + Q3 + + + Q4 + + + Results + Footer on P&L statement + + + YTD + Year To Date + + + If your bookkeeping in Swarmops has gotten out of sync with your bank records for whatever technical or human reason, you can resynchronize them here by uploading a master file that covers the time frame you need to resync.<br/><br/><strong>Warning:</strong> this is a time-consuming process that may do a <em>lot</em> of changes to your bookkeeping. Do not use unless you have discovered a mismatch in the records vs. your bank.<br/><br/>(You will get a chance to review proposed changes before they are committed to your financial records.) + + + Resynchronize Bank Account + + + Budget, Owner + Displayed above editables + + + This is where the root budgets are set for each budget year. After these are set, each budget owner suballocates funds within their respective budget trees. + + + Root Budgets For {0} + The {0} is replaced with the organization's name. + + + Set Root Level Budgets + Displayed above main content + + + Set New Budgets + Text on submit button + + + Account Statement + + + Bank Account + + + Bank Screenshot + Displayed as header above modally zoomed screenshot + + + </p><p>(The most recent data in Swarmops in <em>{0}</em> is from {1:yyyy-MMM-dd}. You should download bank data from at least <strong>{2:yyyy-MMM-dd}.</strong>) + Displayed to help user determine scope of bank download + + + </p><p>(Paypal will tell you the time of the last transaction download. Download all transactions from that point in time, adding some three days of overlap.) + Displayed instead of date of last transaction in the case of Paypal. + + + Bank Download Instructions + Header above instructions for generation of the bank file type selected. + + + Different banks have different means of obtaining the BGMAX format file. On SEB, you go to <strong>Payments</strong> and <strong>File communications</strong> to see a list of files to retrieve. Other banks will vary. In any case, upload them here. + + + Log on to PayPal. Go to <strong>Your Account</strong>, and under the <strong>History</strong> menu, select <strong>Download History</strong>. Select <strong>Custom Date Range</strong>, enter the range since last download (as indicated) plus some overlap, and most importantly, select <strong>Tab Delimited - All Activity</strong>. Click <strong>Download</strong>.</p><p>Some time will pass before you get a mail from PayPal saying that the file is ready for download. It will be named <em>download.txt</em>. Upload this file. + + + Log on to Payson. Go to the <strong>History</strong> tab, and click <strong>Export history</strong>. The downloaded file will be named <em>Payson_Export_[date].xls</em>. Upload this file. + + + Open SEB's internet bank. Go to <strong>your account</strong>, and enter the date span you wish to download in the search box. Press <strong>filter</strong>. After that, click the link to <strong>save the account history</strong>. A popup will appear. Choose <strong>csv</strong> and <strong>tab separated</strong>, then <strong>save</strong>. The downloaded file will be named <em>Kontohändelser.csv</em>. Upload this file. + Only translate to languages where SEB is active. + + + <p>The file contained {0:N0} transactions. <strong>{1:N0} transactions</strong> have been successfully imported into the <em>{2}</em> bookkeeping account. ({3:N0} transactions were duplicates.)</p><p><strong>However, the bank balance does not match the records in Swarmops.</strong> This is usually due to missing transactions. Please upload a transaction list with a larger time span to make sure that Swarmops sees all transactions.</p><p>Swarmops's bookkeeping account is currently <strong>not in sync</strong> with that of the bank.</p> + Displayed when import successful, but end balance out of sync. Assumes plural along all pasted numbers. + + + <h3>The bank file could not be imported.</h3><p>This has one of three reasons: you missed some detail in the download instructions, the bank has changed its format, or you accidentally uploaded the wrong file entirely (like a photo from your last party instead of the transactions list). No transactions were imported at all. <strong>Please retry.</strong> + + + Expected File + The name of the expected file for uploading. + + + File Successfully Imported + Displayed as header after successful processing + + + File Imported, But Data Out Of Sync + Displayed as header after a good processing that ended in sync failure + + + File Type + can be Account Statement or Payments File + + + Error on importing file + Displayed as header on import failure + + + <p>The file contained {0:N0} transactions. <strong>{1:N0} transactions</strong> have been successfully imported into the <em>{2}</em> bookkeeping account. ({3:N0} transactions were duplicates.)</p><p>After import, the account balance in Swarmops matches that of the bank.</p> + Displayed on successful import. Assumes plural among all pasted numbers. + + + Here, you can upload files from your bank or payment provider into your organization's bookkeeping. Examples include account history and payments received. + Displayed in sidebar on page. + + + Instructions + + + Upload Bank Files + Displayed above main content. + + + However, they were all duplicates of payment information that was previously uploaded. No new payment information has been imported to Swarmops. + + + no payments|one payment|{0} payments + none|one|many + + + Payment File Uploaded + + + no payment groups|one payment group|{0} payment groups + none|one|many + + + Payments File + + + The payment file contained {0}. + + + <strong>{0} {1:N2}</strong> in payments were imported, distributed over {2} across {3}. + like EUR 2,102.00 in 3 payments across 2 groups + + + There was also some duplicate information ({0} across {1}). + + + Processing File... + + + Processing Complete + + + <p><br/><strong>The file could not be read as an input file to this bank.</strong></p><p>There are several reasons this could happen: the file may be corrupt, the bank may have silently changed its file format, or you uploaded the wrong file entirely. Please try again.</p> + Displayed when the input file can't be parsed, before import attempt. + + + <p>The file has been <strong>successfully imported.</strong> {0:N0} new transactions imported; {1:N0} discarded as duplicates of what was already in Swarmops. The account balance in Swarmops matches that of the bank.</p><p>The file contained transactions from {2:yyyy-MMM-dd} to {3:yyyy-MMM-dd}.</p> + Zero is new transaction count, one is duplicate transaction count, two and three are lowest and highest dates found in file. Pay attention to date format and adjust to culture. + + + <p>The file was imported, but the <strong>resulting account balance mismatches.</strong></p><p>After importing {0:N0} transactions (and discarding {1:N0} duplicates), the entire file has been processed. However, the resulting account balance in Swarmops is not the same as that of the bank statement; there is a difference of {3} {2:N2}.</p> +<p>Please try uploading a fresh account statement. If that still produces a mismatch, you may need to try <a href="/Pages/v5/Ledgers/ResyncExternalAccount.aspx">resynchronizing</a> the bank account with a comprehensive account statement file.</p> + Displayed on successful import, but the resulting balance is off compared to the account statement file that was just uploaded. 2 is the diff, 3 is the currency. + + + Select Bookkeeping Account + Select prompt for the financial account in the organization's bookkeeping. + + + Select File Type And Account For Upload + + + Select Bank File Type + Header above several bank logos, prompting a selection of bank. + + + Upload another bank file? + Displayed as header after uploading one file + + + Upload bank file + Displayed as header above download instructions / upload form + + + Difference + + + Ledger Balance + + + Total + + + Action + keep short + + + Amount + + + Description + + + Exp Close + keep short + + + ID# + keep short + + + Opened Date + keep short + + + Recipient + + + List Unsettled + + + This page lets you verify the outstanding and unsettled accounts (expenses, invoices, cash advances, etc.) at the current point in time or at the time of closing of any previous ledger. + + + List Unsettled Accounts + + + Account name + + + Is this account open for transactions? + + + Active + + + Are transactions here excluded from 2-D reports? + + + Admin + + + Budget (balance is <span id="SpanTextCurrency">foo</span> <span id="SpanEditBalance">bar</span>) + foo, bar replaced on load with actual values + + + Can people use this account for expense reports? + + + Expensable + + + File upload profile + + + Editing Account + + + Automation + Automatic connections to bank, blockchain etc. + + + Configuration + + + Daily Operations + + + Initial Value + For asset and liability accounts - the value going into Swarmops first ledger year + + + Parent account or group + + + This is an Expenses account. Such accounts normally have a budget in the negative, since they drain assets from the organization. Your proposed budget was changed to negative. + Displayed as a message box + + + Account + + + Balance + + + Budget + + + Edit + + + Flags + + + for + "inspect [accountdropdown] FOR [year] [month]" + + + Inspect + "INSPECT [accountdropdown] for [year] [month]" + + + Inspect Ledgers + + + Flagging a transaction for closer inspection is not yet implemented. It is scheduled for one of the early Swarmops Red sprints, some time late 2015Q1. + + + Inbound Balance + + + No Previous Balance + + + This is the raw underlying Venetian bookkeeping ledgers for the organization's finances. You can study them here in detail for auditing purposes. <span id="SpanInfoProfitLossAccount" style="display:none"><strong>You're currently watching a P&L account, so signs are reversed - income is negative and expenses positive</strong> due to how Venetian double bookkeeping works.</span> + + + Inspecting a single transaction is not yet implemented. It is scheduled for one of the early Swarmops Red sprints, late 2015Q1. + + + There are no transactions in this account for the selected time period. + + + Outbound Balance + + + Ending Balance + + + Ending Balance (to date) + Displayed if the end-balance date isn't reached yet + + + (Please select an account.) + Displayed initially and when no valid account selected + + + Tx# + Keep VERY short. + + diff --git a/Site5/App_GlobalResources/Pages.Security.resx b/Site5/App_GlobalResources/Pages_Security.resx similarity index 98% rename from Site5/App_GlobalResources/Pages.Security.resx rename to Site5/App_GlobalResources/Pages_Security.resx index fb7dfbe3..dd7910c8 100644 --- a/Site5/App_GlobalResources/Pages.Security.resx +++ b/Site5/App_GlobalResources/Pages_Security.resx @@ -1,196 +1,196 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Access to this page was denied - - - You tried to access a page you don't have permissions for. See the main panel for some reasons this may have happened. - - - Access Denied - - - <p>The Swarmops security framework has denied you access to the page you were trying to go to. This usually means that its functions were above the access levels granted to you for the currently selected organization (<em>{0}</em>). This has not been logged nor reported anywhere.</p><p>There are several reasons why this may have happened:</p> - - - Current organization - - - You can be taking part in several organizations on this Swarmops installation. Here is where you switch between them. - - - New organization - - - You're not part of any other organizations on this Swarmops installation, so you can't switch to something else. Therefore, we're going back to Dashboard instead. - - - Change Organizations - - - Switch - - - Database Upgrade Pending - - - This page requires an upgraded Swarmops database. - - - Awaiting Database Upgrade - - - <p>There is a database upgrade pending that prevents your access to this page. <strong>This is a temporary condition</strong> and the Swarmops servers should already be working on performing the necessary upgrade.</p> -<p>Retry loading the page in a few minutes. If the condition persists for more than fifteen minutes, contact your system administrator.</p> - - - <strong>BitId two-factor authentication is now enabled.</strong><br/><br/>From now on, you can use your bitcoin wallet to log in (and will <strong>need</strong> to do so). Thank you for enabling added security.<br/><br/>Please remember to keep your phone secure with a password, too. - - - 2FA - - - Enter your code from Google Authenticator. - - - Login with Blockchain Technology (BitId) - - - Help - - - Login to Swarmops using your bitid-enabled bitcoin wallet. You do not need any funds in it. If you don't have a bitid-enabled bitcoin wallet, you can log in manually using a legacy username and password. (Your username is your name or email.) - - - Manual Login - - - Login - - - Pass - - - Reset Password - - - User - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Access to this page was denied + + + You tried to access a page you don't have permissions for. See the main panel for some reasons this may have happened. + + + Access Denied + + + <p>The Swarmops security framework has denied you access to the page you were trying to go to. This usually means that its functions were above the access levels granted to you for the currently selected organization (<em>{0}</em>). This has not been logged nor reported anywhere.</p><p>There are several reasons why this may have happened:</p> + + + Current organization + + + You can be taking part in several organizations on this Swarmops installation. Here is where you switch between them. + + + New organization + + + You're not part of any other organizations on this Swarmops installation, so you can't switch to something else. Therefore, we're going back to Dashboard instead. + + + Change Organizations + + + Switch + + + Database Upgrade Pending + + + This page requires an upgraded Swarmops database. + + + Awaiting Database Upgrade + + + <p>There is a database upgrade pending that prevents your access to this page. <strong>This is a temporary condition</strong> and the Swarmops servers should already be working on performing the necessary upgrade.</p> +<p>Retry loading the page in a few minutes. If the condition persists for more than fifteen minutes, contact your system administrator.</p> + + + <strong>BitId two-factor authentication is now enabled.</strong><br/><br/>From now on, you can use your bitcoin wallet to log in (and will <strong>need</strong> to do so). Thank you for enabling added security.<br/><br/>Please remember to keep your phone secure with a password, too. + + + 2FA + + + Enter your code from Google Authenticator. + + + Login with Blockchain Technology (BitId) + + + Help + + + Login to Swarmops using your bitid-enabled bitcoin wallet. You do not need any funds in it. If you don't have a bitid-enabled bitcoin wallet, you can log in manually using a legacy username and password. (Your username is your name or email.) + + + Manual Login + + + Login + + + Pass + + + Reset Password + + + User + \ No newline at end of file diff --git a/Site5/Automation/Json-FinancialAccountsTree.aspx.cs b/Site5/Automation/Json-FinancialAccountsTree.aspx.cs index 05a379aa..7394cd8a 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/Pages/v5/Ledgers/AccountPlan.aspx.cs b/Site5/Pages/v5/Ledgers/AccountPlan.aspx.cs index 9c98695b..034b8f6a 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 ff20bba5..deebacbb 100644 --- a/Site5/Pages/v5/Ledgers/BalanceSheet.aspx +++ b/Site5/Pages/v5/Ledgers/BalanceSheet.aspx @@ -30,8 +30,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) { @@ -40,7 +40,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 f3b2c31d..8c3cf3cf 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) { @@ -35,14 +35,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 5473b3f7..b8bc6578 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 0c98ea95..e23a3eae 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 0e5399b4..6bbb544b 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) @@ -57,18 +57,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 de1e970d..a3427d51 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 dd9b0611..520818a6 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 2d620af6..bd5221c2 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 2b690253..7277b1aa 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 925d1c6d..2c608b6f 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 18930c82..f735ca0f 100644 --- a/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx +++ b/Site5/Pages/v5/Ledgers/ProfitLossStatement.aspx @@ -30,7 +30,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 f32ec304..bc06e5bc 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) { @@ -32,14 +32,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 08f75ae6..532a53a3 100644 --- a/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx +++ b/Site5/Pages/v5/Ledgers/ResyncExternalAccount.aspx @@ -38,8 +38,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) { @@ -48,7 +48,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 03a794aa..60d3ecb1 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 c09de249..bba65464 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 299f8743..3c0dd019 100644 --- a/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx.cs +++ b/Site5/Pages/v5/Ledgers/UploadBankFiles.aspx.cs @@ -27,7 +27,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); @@ -35,15 +35,15 @@ namespace Swarmops.Site.Pages.Ledgers { // Localize - this.InfoBoxLiteral = Resources.Pages.Ledgers.UploadBankFiles_Info; - this.LabelBankAccount.Text = Resources.Pages.Ledgers.UploadBankFiles_BankAccount; - this.LabelFileType.Text = Resources.Pages.Ledgers.UploadBankFiles_FileType; - 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.LabelFileType.Text = Resources.Pages_Ledgers.UploadBankFiles_FileType; + 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 @@ -72,7 +72,7 @@ namespace Swarmops.Site.Pages.Ledgers this.LiteralDownloadInstructions.Text = this.LiteralDownloadInstructionsModal.Text = - Resources.Pages.Ledgers.UploadBankFiles_DownloadInstructions_SebAccountFile; + Resources.Pages_Ledgers.UploadBankFiles_DownloadInstructions_SebAccountFile; } @@ -92,7 +92,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; } @@ -113,7 +113,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; } @@ -134,7 +134,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; } @@ -260,17 +260,17 @@ 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; default: throw new NotImplementedException("Unhandled ImportResultCategory"); @@ -406,32 +406,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; } } @@ -454,37 +454,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 1a9c0c22..c3e1c19a 100644 --- a/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs +++ b/Site5/Pages/v5/Ledgers/ViewOutstandingAccounts.aspx.cs @@ -44,17 +44,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 1522b723..900c4271 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 96c4a8bc..3c722825 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 193e00f5..67a5e8f1 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 1e9cf606..4e8409b2 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/Security/Login.aspx.cs b/Site5/Security/Login.aspx.cs index 02042dd1..70b2dd84 100644 --- a/Site5/Security/Login.aspx.cs +++ b/Site5/Security/Login.aspx.cs @@ -228,14 +228,14 @@ 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.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; }