Skip to content

Commit

Permalink
Fix for Strings access on GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
gfs committed Apr 17, 2019
1 parent 228ea17 commit 69f73ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Lib/Utils/Strings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ namespace AttackSurfaceAnalyzer.Utils
{
public static class Strings
{
// var names = assembly.GetManifestResourceNames();
public static string Get(string key)
{
return rm.GetString(key);
}

public static void Setup()
{
rm = new ResourceManager("AttackSurfaceAnalyzer.Properties.Resources", Assembly.GetEntryAssembly());
}

// Default locale
static ResourceManager rm;
static ResourceManager rm = new ResourceManager("AttackSurfaceAnalyzer.Properties.Resources", Assembly.GetEntryAssembly());
}
}

0 comments on commit 69f73ad

Please sign in to comment.