Testing solution to Mono loc problem
This commit is contained in:
@@ -223,6 +223,7 @@
|
||||
<Compile Include="Communications\Payload\ParticipantMailPayload.cs" />
|
||||
<Compile Include="Communications\Payload\PayloadEnvelope.cs" />
|
||||
<Compile Include="Communications\Payload\NotificationPayload.cs" />
|
||||
<Compile Include="Resources\MonoResourceManager.cs" />
|
||||
<Compile Include="Security\Impersonation.cs" />
|
||||
<Compile Include="Security\Sha256.cs" />
|
||||
<Compile Include="Support\AsyncProcesses.cs" />
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Swarmops.Logic.Resources
|
||||
{
|
||||
class MonoResourceManager
|
||||
{
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -39,7 +39,7 @@ namespace Resources {
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Resources.Global", global::System.Reflection.Assembly.Load("App_GlobalResources"));
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Resources.Global", global::System.Reflection.Assembly.Load("Global.resources"));
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
|
||||
@@ -12,9 +12,9 @@ namespace Swarmops.Frontend.Pages.v5.Public
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
System.Resources.ResourceManager manager = new System.Resources.ResourceManager("Global", System.Reflection.Assembly.Load("Global.resources"));
|
||||
//System.Resources.ResourceManager manager = new System.Resources.ResourceManager("Global", System.Reflection.Assembly.Load("Global.resources"));
|
||||
|
||||
this.LabelTest.Text = manager.GetString("Dashboard_Main_Temporary");
|
||||
this.LabelTest.Text = Resources.Global.Dashboard_Main_Temporary; // manager.GetString("Dashboard_Main_Temporary");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user