diff --git a/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs
new file mode 100644
index 00000000..5368f9c2
--- /dev/null
+++ b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.Designer.cs
@@ -0,0 +1,122 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.1008
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Swarmops.Logic.App_GlobalResources {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Logic_Communications_Transmission_NotificationPayload {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Logic_Communications_Transmission_NotificationPayload() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Swarmops.Logic.App_GlobalResources.Logic.Communications.Transmission.Notification" +
+ "Payload", typeof(Logic_Communications_Transmission_NotificationPayload).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to [ConcernedPersonName] has requested a cash advance of [CurrencyCode] [BudgetAmountFloat] for the purpose of [RequestReason]. This money is part of your budget, [BudgetName].
+ ///
+ ///Please log on to Swarmops at [SystemUrl] to attest or deny..
+ ///
+ internal static string CashAdvance_Requested_Body {
+ get {
+ return ResourceManager.GetString("CashAdvance_Requested_Body", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to [OrganizationName] Cash Advance Requested.
+ ///
+ internal static string CashAdvance_Requested_Subject {
+ get {
+ return ResourceManager.GetString("CashAdvance_Requested_Subject", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to An unhandled exception was thrown in Swarmops:
+ ///
+ ///[EmbeddedPreformattedText].
+ ///
+ internal static string System_Exception_Body {
+ get {
+ return ResourceManager.GetString("System_Exception_Body", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Swarmops EXCEPTION!.
+ ///
+ internal static string System_Exception_Subject {
+ get {
+ return ResourceManager.GetString("System_Exception_Subject", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Swarmops Backend version [SwarmopsVersion] on host [HostName] has successfully started and connected to database and notification frameworks..
+ ///
+ internal static string System_Startup_Body {
+ get {
+ return ResourceManager.GetString("System_Startup_Body", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Swarmops Backend operational.
+ ///
+ internal static string System_Startup_Subject {
+ get {
+ return ResourceManager.GetString("System_Startup_Subject", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx
new file mode 100644
index 00000000..55c63abb
--- /dev/null
+++ b/Logic/App_GlobalResources/Logic.Communications.Transmission.NotificationPayload.resx
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ [ConcernedPersonName] has requested a cash advance of [CurrencyCode] [BudgetAmountFloat] for the purpose of [RequestReason]. This money is part of your budget, [BudgetName].
+
+Please log on to Swarmops at [SystemUrl] to attest or deny.
+
+
+ [OrganizationName] Cash Advance Requested
+
+
+ An unhandled exception was thrown in Swarmops:
+
+[EmbeddedPreformattedText]
+
+
+ Swarmops EXCEPTION!
+
+
+ Swarmops Backend version [SwarmopsVersion] on host [HostName] has successfully started and connected to database and notification frameworks.
+
+
+ Swarmops Backend operational
+
+
\ No newline at end of file
diff --git a/Logic/Swarm/App_LocalResources/DashboardTodos.Designer.cs b/Logic/App_GlobalResources/Logic.Swarm.DashboardTodos.Designer.cs
similarity index 94%
rename from Logic/Swarm/App_LocalResources/DashboardTodos.Designer.cs
rename to Logic/App_GlobalResources/Logic.Swarm.DashboardTodos.Designer.cs
index d302198a..33a783c5 100644
--- a/Logic/Swarm/App_LocalResources/DashboardTodos.Designer.cs
+++ b/Logic/App_GlobalResources/Logic.Swarm.DashboardTodos.Designer.cs
@@ -22,14 +22,14 @@ namespace Swarmops.Logic.Swarm.App_LocalResources {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class DashboardTodos {
+ internal class Logic_Swarm_DashboardTodos {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal DashboardTodos() {
+ internal Logic_Swarm_DashboardTodos() {
}
///
@@ -39,7 +39,7 @@ namespace Swarmops.Logic.Swarm.App_LocalResources {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Swarmops.Logic.Swarm.App_LocalResources.DashboardTodos", typeof(DashboardTodos).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Swarmops.Logic.Swarm.App_LocalResources.Logic.Swarm.DashboardTodos", typeof(Logic_Swarm_DashboardTodos).Assembly);
resourceMan = temp;
}
return resourceMan;
diff --git a/Logic/Swarm/App_LocalResources/DashboardTodos.resx b/Logic/App_GlobalResources/Logic.Swarm.DashboardTodos.resx
similarity index 100%
rename from Logic/Swarm/App_LocalResources/DashboardTodos.resx
rename to Logic/App_GlobalResources/Logic.Swarm.DashboardTodos.resx
diff --git a/Logic/App_GlobalResources/Logic.Test.Designer.cs b/Logic/App_GlobalResources/Logic.Test.Designer.cs
new file mode 100644
index 00000000..f080f607
--- /dev/null
+++ b/Logic/App_GlobalResources/Logic.Test.Designer.cs
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.1008
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Swarmops.Logic.App_GlobalResources {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Logic_Test {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Logic_Test() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Swarmops.Logic.App_GlobalResources.Logic.Test", typeof(Logic_Test).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Test.
+ ///
+ internal static string TestString {
+ get {
+ return ResourceManager.GetString("TestString", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Logic/App_GlobalResources/Logic.Test.resx b/Logic/App_GlobalResources/Logic.Test.resx
new file mode 100644
index 00000000..752d7aaf
--- /dev/null
+++ b/Logic/App_GlobalResources/Logic.Test.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Test
+
+
\ No newline at end of file
diff --git a/Logic/Logic.csproj b/Logic/Logic.csproj
index 2613f8c9..3100d679 100644
--- a/Logic/Logic.csproj
+++ b/Logic/Logic.csproj
@@ -64,6 +64,21 @@
+
+ Logic.Swarm.DashboardTodos.resx
+ True
+ True
+
+
+ True
+ True
+ Logic.Test.resx
+
+
+ Logic.Communications.Transmission.NotificationPayload.resx
+ True
+ True
+
@@ -241,10 +256,10 @@
-
+
True
True
- DashboardTodos.resx
+ Logic.Swarm.DashboardTodos.resx
@@ -299,6 +314,18 @@
+
+ ResXFileCodeGenerator
+ Logic.Swarm.DashboardTodos.Designer.cs
+
+
+ ResXFileCodeGenerator
+ Logic.Test.Designer.cs
+
+
+ ResXFileCodeGenerator
+ Logic.Communications.Transmission.NotificationPayload.Designer.cs
+
ResXFileCodeGenerator
NotificationPayload.Designer.cs
@@ -316,9 +343,9 @@
Authentication.sv-SE.Designer.cs
Designer
-
+
ResXFileCodeGenerator
- DashboardTodos.Designer.cs
+ Logic.Swarm.DashboardTodos.Designer.cs
diff --git a/Logic/Swarm/App_LocalResources/Logic.Swarm.DashboardTodos.Designer.cs b/Logic/Swarm/App_LocalResources/Logic.Swarm.DashboardTodos.Designer.cs
new file mode 100644
index 00000000..33a783c5
--- /dev/null
+++ b/Logic/Swarm/App_LocalResources/Logic.Swarm.DashboardTodos.Designer.cs
@@ -0,0 +1,153 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.1008
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Swarmops.Logic.Swarm.App_LocalResources {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Logic_Swarm_DashboardTodos {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Logic_Swarm_DashboardTodos() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Swarmops.Logic.Swarm.App_LocalResources.Logic.Swarm.DashboardTodos", typeof(Logic_Swarm_DashboardTodos).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Attest cash advances {0}.
+ ///
+ internal static string Attest_CashAdvance_Many {
+ get {
+ return ResourceManager.GetString("Attest_CashAdvance_Many", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Attest cash advance #{0}.
+ ///
+ internal static string Attest_CashAdvance_One {
+ get {
+ return ResourceManager.GetString("Attest_CashAdvance_One", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Attest expense claims {0}.
+ ///
+ internal static string Attest_ExpenseClaim_Many {
+ get {
+ return ResourceManager.GetString("Attest_ExpenseClaim_Many", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Attest expense claim #{0}.
+ ///
+ internal static string Attest_ExpenseClaim_One {
+ get {
+ return ResourceManager.GetString("Attest_ExpenseClaim_One", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Settle {0} payouts.
+ ///
+ internal static string Payout_Many {
+ get {
+ return ResourceManager.GetString("Payout_Many", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Settle one payout.
+ ///
+ internal static string Payout_One {
+ get {
+ return ResourceManager.GetString("Payout_One", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Settle {0} overdue payouts.
+ ///
+ internal static string Payout_Overdue_Many {
+ get {
+ return ResourceManager.GetString("Payout_Overdue_Many", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Settle one overdue payout.
+ ///
+ internal static string Payout_Overdue_One {
+ get {
+ return ResourceManager.GetString("Payout_Overdue_One", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Settle {0} urgent payouts.
+ ///
+ internal static string Payout_Urgent_Many {
+ get {
+ return ResourceManager.GetString("Payout_Urgent_Many", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Settle one urgent payout.
+ ///
+ internal static string Payout_Urgent_One {
+ get {
+ return ResourceManager.GetString("Payout_Urgent_One", resourceCulture);
+ }
+ }
+ }
+}
diff --git a/Logic/Swarm/App_LocalResources/Logic.Swarm.DashboardTodos.resx b/Logic/Swarm/App_LocalResources/Logic.Swarm.DashboardTodos.resx
new file mode 100644
index 00000000..88f5a054
--- /dev/null
+++ b/Logic/Swarm/App_LocalResources/Logic.Swarm.DashboardTodos.resx
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Attest cash advances {0}
+
+
+ Attest cash advance #{0}
+
+
+ Attest expense claims {0}
+
+
+ Attest expense claim #{0}
+
+
+ Settle {0} payouts
+ Instead of "Pay out payout". That sounds too repetitititive.
+
+
+ Settle one payout
+
+
+ Settle {0} overdue payouts
+
+
+ Settle one overdue payout
+
+
+ Settle {0} urgent payouts
+
+
+ Settle one urgent payout
+
+
\ No newline at end of file
diff --git a/Logic/Swarm/DashboardTodos.cs b/Logic/Swarm/DashboardTodos.cs
index 823c7b99..34cac18e 100644
--- a/Logic/Swarm/DashboardTodos.cs
+++ b/Logic/Swarm/DashboardTodos.cs
@@ -151,7 +151,6 @@ namespace Swarmops.Logic.Swarm
return; // do not add this if can't pay out
}
-
DashboardTodo todoNormal = new DashboardTodo();
DashboardTodo todoUrgent = new DashboardTodo();
DashboardTodo todoOverdue = new DashboardTodo();