= Updated Localizer to LocStrings

This commit is contained in:
Matthew Cech
2019-04-14 00:43:13 -07:00
parent 57aa8e204c
commit e65cfb498b
37 changed files with 138 additions and 138 deletions
@@ -6,14 +6,14 @@ import utils.LogFilter;
// A quick-and-dirty localization tool that scrapes the project for calls to itself, then
// generates/updates a file externally (phrases.config) with all the stub values as keys that
// can then be localized.
public class Localizer extends LocBase
public class LocStrings extends LocBase
{
public static final String fileName = "localization.config";
public static final String function = "Localizer.Stub";
public static final String fileName = "locStrings.config";
public static final String function = "LocStrings.Stub";
private static Localizer instance;
private static LocStrings instance;
public Localizer()
public LocStrings()
{
super(fileName, function);
+2 -2
View File
@@ -36,7 +36,7 @@ public class ObjectBuilderFactory
// Localization classes - these are singletons, but should be initialized before almost all other
// things so their inclusion in the factory is to ensure they're started at the correct time.
@SuppressWarnings("unused") private static Localizer locStrings;
@SuppressWarnings("unused") private static LocStrings locStrings;
@SuppressWarnings("unused") private static LocCommands locCommands;
// Lazy initialization multithreaded mutex stuff to prevent explosions.
@@ -66,7 +66,7 @@ public class ObjectBuilderFactory
// Start by reading from things that are external. Because
// we require these things to be resolved before the rest of the application,
// we place them here.
locStrings = new Localizer();
locStrings = new LocStrings();
locCommands = new LocCommands();
}
finally