Try renaming resources to dotless filenames
This commit is contained in:
+545
-545
File diff suppressed because it is too large
Load Diff
+195
-195
@@ -1,196 +1,196 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AccessDenied_Header" xml:space="preserve">
|
||||
<value>Access to this page was denied</value>
|
||||
</data>
|
||||
<data name="AccessDenied_Info" xml:space="preserve">
|
||||
<value>You tried to access a page you don't have permissions for. See the main panel for some reasons this may have happened.</value>
|
||||
</data>
|
||||
<data name="AccessDenied_PageTitle" xml:space="preserve">
|
||||
<value>Access Denied</value>
|
||||
</data>
|
||||
<data name="AccessDenied_Rant" xml:space="preserve">
|
||||
<value><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></value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_CurrentOrganization" xml:space="preserve">
|
||||
<value>Current organization</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_Info" xml:space="preserve">
|
||||
<value>You can be taking part in several organizations on this Swarmops installation. Here is where you switch between them.</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_NewOrganization" xml:space="preserve">
|
||||
<value>New organization</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_NothingToChange" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_PageTitle" xml:space="preserve">
|
||||
<value>Change Organizations</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_Switch" xml:space="preserve">
|
||||
<value>Switch</value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_Header" xml:space="preserve">
|
||||
<value>Database Upgrade Pending</value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_Info" xml:space="preserve">
|
||||
<value>This page requires an upgraded Swarmops database. </value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_PageTitle" xml:space="preserve">
|
||||
<value>Awaiting Database Upgrade</value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_Rant" xml:space="preserve">
|
||||
<value><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></value>
|
||||
</data>
|
||||
<data name="Login_BitIdEnabled" xml:space="preserve">
|
||||
<value><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.</value>
|
||||
</data>
|
||||
<data name="Login_GoogleAuthenticatorCode" xml:space="preserve">
|
||||
<value>2FA</value>
|
||||
</data>
|
||||
<data name="Login_GoogleAuthenticatorCodeHelp" xml:space="preserve">
|
||||
<value>Enter your code from Google Authenticator.</value>
|
||||
</data>
|
||||
<data name="Login_Header" xml:space="preserve">
|
||||
<value>Login with Blockchain Technology (BitId)</value>
|
||||
</data>
|
||||
<data name="Login_Help" xml:space="preserve">
|
||||
<value>Help</value>
|
||||
</data>
|
||||
<data name="Login_Info" xml:space="preserve">
|
||||
<value>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.)</value>
|
||||
</data>
|
||||
<data name="Login_ManualLogin" xml:space="preserve">
|
||||
<value>Manual Login</value>
|
||||
</data>
|
||||
<data name="Login_PageTitle" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="Login_Password" xml:space="preserve">
|
||||
<value>Pass</value>
|
||||
</data>
|
||||
<data name="Login_ResetPassword" xml:space="preserve">
|
||||
<value>Reset Password</value>
|
||||
</data>
|
||||
<data name="Login_Username" xml:space="preserve">
|
||||
<value>User</value>
|
||||
</data>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AccessDenied_Header" xml:space="preserve">
|
||||
<value>Access to this page was denied</value>
|
||||
</data>
|
||||
<data name="AccessDenied_Info" xml:space="preserve">
|
||||
<value>You tried to access a page you don't have permissions for. See the main panel for some reasons this may have happened.</value>
|
||||
</data>
|
||||
<data name="AccessDenied_PageTitle" xml:space="preserve">
|
||||
<value>Access Denied</value>
|
||||
</data>
|
||||
<data name="AccessDenied_Rant" xml:space="preserve">
|
||||
<value><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></value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_CurrentOrganization" xml:space="preserve">
|
||||
<value>Current organization</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_Info" xml:space="preserve">
|
||||
<value>You can be taking part in several organizations on this Swarmops installation. Here is where you switch between them.</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_NewOrganization" xml:space="preserve">
|
||||
<value>New organization</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_NothingToChange" xml:space="preserve">
|
||||
<value>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.</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_PageTitle" xml:space="preserve">
|
||||
<value>Change Organizations</value>
|
||||
</data>
|
||||
<data name="ChangeOrganizations_Switch" xml:space="preserve">
|
||||
<value>Switch</value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_Header" xml:space="preserve">
|
||||
<value>Database Upgrade Pending</value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_Info" xml:space="preserve">
|
||||
<value>This page requires an upgraded Swarmops database. </value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_PageTitle" xml:space="preserve">
|
||||
<value>Awaiting Database Upgrade</value>
|
||||
</data>
|
||||
<data name="DatabaseUpgradeRequired_Rant" xml:space="preserve">
|
||||
<value><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></value>
|
||||
</data>
|
||||
<data name="Login_BitIdEnabled" xml:space="preserve">
|
||||
<value><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.</value>
|
||||
</data>
|
||||
<data name="Login_GoogleAuthenticatorCode" xml:space="preserve">
|
||||
<value>2FA</value>
|
||||
</data>
|
||||
<data name="Login_GoogleAuthenticatorCodeHelp" xml:space="preserve">
|
||||
<value>Enter your code from Google Authenticator.</value>
|
||||
</data>
|
||||
<data name="Login_Header" xml:space="preserve">
|
||||
<value>Login with Blockchain Technology (BitId)</value>
|
||||
</data>
|
||||
<data name="Login_Help" xml:space="preserve">
|
||||
<value>Help</value>
|
||||
</data>
|
||||
<data name="Login_Info" xml:space="preserve">
|
||||
<value>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.)</value>
|
||||
</data>
|
||||
<data name="Login_ManualLogin" xml:space="preserve">
|
||||
<value>Manual Login</value>
|
||||
</data>
|
||||
<data name="Login_PageTitle" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="Login_Password" xml:space="preserve">
|
||||
<value>Pass</value>
|
||||
</data>
|
||||
<data name="Login_ResetPassword" xml:space="preserve">
|
||||
<value>Reset Password</value>
|
||||
</data>
|
||||
<data name="Login_Username" xml:space="preserve">
|
||||
<value>User</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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<string, string> localizeMap = new Dictionary<string, string>();
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -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<string, string> localizeMap = new Dictionary<string, string>();
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
|
||||
@@ -43,10 +43,10 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
{
|
||||
Dictionary<string, string> localizeMap = new Dictionary<string, string>();
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -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("{" +
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -40,10 +40,10 @@ public partial class Pages_v5_Ledgers_Json_ProfitLossData : DataV5Base
|
||||
{
|
||||
Dictionary<string, string> localizeMap = new Dictionary<string, string>();
|
||||
|
||||
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);
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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 = @"<p>" + literalResult + @"</p>";
|
||||
this.LabelImportResultsHeader.Text = Resources.Pages.Ledgers.UploadBankFiles_PaymentFileUploadedHeader;
|
||||
this.LabelImportResultsHeader.Text = Resources.Pages_Ledgers.UploadBankFiles_PaymentFileUploadedHeader;
|
||||
}*/
|
||||
|
||||
[Serializable]
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user