This commit is contained in:
2020-04-30 18:13:57 +00:00
parent 51af2cc25e
commit 5628159c36

View File

@@ -483,19 +483,18 @@ namespace AyaNova.PlugIn.V8
int CurrentLocaleHash = util.GetOrderIndependentHashCode<string>(allStrings);
allStrings.Clear();
if (StockLocaleHashes.Contains(CurrentLocaleHash)) continue;
progress.SubOp("Locale " + i.Locale + " is customized, exporting");
// progress.Append("Locale: " + i.Locale + " hash code: " + CurrentLocaleHash.ToString());
progress.Op("Locale " + i.Locale + " is customized");
progress.SubOp("Determing closest source Locale");
int nEnglishSimilar = 0;
int nFrenchSimilar = 0;
int nSpanishSimilar = 0;
int nGermanSimilar = 0;
LocalizedTextTable ltTemp = LocalizedTextTable.Load("English");
foreach(
//todo: all locales except English default need to be dealt with
//above skiplocales is incorrect
//todo: do the language ones by fetching the equivalent language and then bring over from here (if modified)
//maybe there's a way to tell if the stock locales have been edited and skip them if not? Modified date?
//no, need to checksum them I think
//todo: somehow identify where a custom list not of our own comes from originally so can start with that list
//i.e. someone may have started with spanish then customized some of it so we need to also start with spanish and customize