From 5628159c368e79021e34d730cead33d149d0acaa Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 30 Apr 2020 18:13:57 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index bb2a91a..cb75720 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -483,19 +483,18 @@ namespace AyaNova.PlugIn.V8 int CurrentLocaleHash = util.GetOrderIndependentHashCode(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