Exemplo n.º 1
0
 //if no local selected, english will be loaded
 public static void SetupTHETRUEDefaultLocals()
 {
     if (_provider == null)
     {
         var lines = Properties.Resources.strings_en;
         var path  = "english.local";
         Utils.WriteAllText(Paths.GetPath(path), lines);
     }
     else if (SaveSystem.CurrentSave == null)
     {
         var lines = Properties.Resources.strings_en;
         var path  = "english.local";
         Utils.WriteAllText(Paths.GetPath(path), lines);
     }
     else
     {
         _provider.WriteTranscript();
     }
 }