This commit is contained in:
2020-04-30 20:22:53 +00:00
parent 9477070010
commit 6d7751974d

View File

@@ -510,6 +510,10 @@ namespace AyaNova.PlugIn.V8
//iterate v7 locale items //iterate v7 locale items
foreach (var v7item in lt.LT) foreach (var v7item in lt.LT)
{ {
//skip over wikipage it's been dropped as it's an international term
if (v7item.Value == "O.WikiPage") continue;
var v8key = Translatev7TranslationKey(v7item.Key); var v8key = Translatev7TranslationKey(v7item.Key);
TranslationItem v8TransItem = trans.FirstOrDefault(m => m.Key == v8key); TranslationItem v8TransItem = trans.FirstOrDefault(m => m.Key == v8key);
if (v8TransItem == null) { throw new ArgumentOutOfRangeException("On exporting custom locale " + i.Locale + " source key " + v7item.Key + ", destination key " + v8key + " was not found."); } if (v8TransItem == null) { throw new ArgumentOutOfRangeException("On exporting custom locale " + i.Locale + " source key " + v7item.Key + ", destination key " + v8key + " was not found."); }