= Updated Localizer to LocStrings
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user