= Minor formatting tweak
This commit is contained in:
@@ -30,6 +30,7 @@ public class Localizer
|
||||
private static void Warn(String str) { GlobalLog.Warn(LogFilter.Strings, str); }
|
||||
private static void Error(String str) { GlobalLog.Error(LogFilter.Strings, str); }
|
||||
|
||||
|
||||
// Structure used for holding a pair of strings and any other info we need
|
||||
// about localized information that is being looked up.
|
||||
private static class LocInfo
|
||||
@@ -122,6 +123,7 @@ public class Localizer
|
||||
try
|
||||
{
|
||||
String fileContents = ReadFileAsString(filename, Charset.defaultCharset());
|
||||
|
||||
if(fileContents == null)
|
||||
{
|
||||
File file = new File(filename);
|
||||
@@ -143,6 +145,7 @@ public class Localizer
|
||||
public static void SaveLocToDisk()
|
||||
{
|
||||
Log("Attempting to write updated localization file");
|
||||
|
||||
try
|
||||
{
|
||||
PrintWriter pw = new PrintWriter(filename);
|
||||
|
||||
Reference in New Issue
Block a user