This commit is contained in:
2020-04-30 15:45:18 +00:00
parent 10662ab5e2
commit 659e1e8f55

View File

@@ -264,7 +264,7 @@ namespace AyaNova.PlugIn.V8
goto End; goto End;
} }
progress.Append("Export cancelled before completing"); progress.Append("Export cancelled before completing");
progress.Op(""); progress.Op("");
@@ -457,19 +457,16 @@ namespace AyaNova.PlugIn.V8
private async System.Threading.Tasks.Task ExportLocales(ProgressForm progress) private async System.Threading.Tasks.Task ExportLocales(ProgressForm progress)
{ {
//Skip stock locales already handled in Raven //checksum locales
//List<string> SkipLocales = new List<string>(); //if a recognized checksum then don't import because it means it wasn't modified from stock
//SkipLocales.Add("Deutsch");
//SkipLocales.Add("English");
//SkipLocales.Add("Español");
//SkipLocales.Add("Français");
LocaleList l = LocaleList.GetList(); LocaleList l = LocaleList.GetList();
progress.Append("Exporting " + l.Count.ToString() + " Locales"); progress.Append("Exporting " + l.Count.ToString() + " Locales");
foreach (LocaleList.LocaleListInfo i in l) foreach (LocaleList.LocaleListInfo i in l)
{ {
if (!progress.KeepGoing) return; if (!progress.KeepGoing) return;
if (i.Locale!="English") if (i.Locale != "English")
{ {
LocalizedTextTable lt = LocalizedTextTable.Load(i.Locale); LocalizedTextTable lt = LocalizedTextTable.Load(i.Locale);
//todo: all locales except English default need to be dealt with //todo: all locales except English default need to be dealt with