This commit is contained in:
@@ -515,6 +515,8 @@ namespace AyaNova.PlugIn.V8
|
||||
var v8key = Translatev7TranslationKey(v7item.Key);
|
||||
if (v8key == "**SKIP**") continue;
|
||||
|
||||
System.Diagnostics.Debug.WriteLine("v7key:" + v7item.Key + " -> v8key: " + v8key);
|
||||
|
||||
TranslationItem v8TransItem = trans.FirstOrDefault(m => m.Key == v8key);
|
||||
|
||||
if (v8TransItem == null)
|
||||
@@ -544,11 +546,27 @@ namespace AyaNova.PlugIn.V8
|
||||
/*
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
source key , destination key ToolbarClientsToolBar was not found.
|
||||
|
||||
Exporting customized Locales
|
||||
ERROR, During operation: Exporting Custom English to Custom English (en)
|
||||
Posting key: WorkorderItem.Label.OutsideService
|
||||
|
||||
************
|
||||
Export failed with error:
|
||||
PUT error, route: Translation/UpdateTranslationItemDisplayText
|
||||
{"error":{"code":"2005","message":"Object was changed by another user since retrieval (concurrency token mismatch)"}}
|
||||
Conflict
|
||||
stack:
|
||||
at AyaNova.PlugIn.V8.util.<PutAsync>d__26.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\util.cs:line 185
|
||||
--- End of stack trace from previous location where exception was thrown ---
|
||||
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
|
||||
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
|
||||
at AyaNova.PlugIn.V8.V8.<ExportLocales>d__5c.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\V8.cs:line 527
|
||||
--- End of stack trace from previous location where exception was thrown ---
|
||||
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
|
||||
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
|
||||
at AyaNova.PlugIn.V8.V8.<DoExport>d__0.MoveNext() in c:\data\ayanova\source\Plugins\AyaNova.Plugin.V8\V8.cs:line 245
|
||||
|
||||
|
||||
|
||||
@@ -585,11 +603,18 @@ source key , destination key ToolbarClientsToolBar was not found.
|
||||
{
|
||||
|
||||
//skip keys definitely not in destination
|
||||
//swaths:
|
||||
if (oldKey.StartsWith("UI.ToolBar.")) return "**SKIP**";
|
||||
if (oldKey.StartsWith("UI.Toolbar.")) return "**SKIP**";
|
||||
// Custom English source key UI.Toolbar.ClientsToolBar, destination key ToolbarClientsToolBar was not found.
|
||||
|
||||
|
||||
switch (oldKey)
|
||||
{
|
||||
// case "XXXX":
|
||||
case "O.WikiPage": //skip over wikipage it's been dropped as it's an international term
|
||||
case "UI.Command.LocalizedTextDesign":
|
||||
case "UI.Toolbar.ClientsToolBar":
|
||||
case "O.WorkorderItemOutsideService":
|
||||
return "**SKIP**";
|
||||
}
|
||||
string s = oldKey.Replace(".Label.", ".");
|
||||
@@ -673,6 +698,7 @@ source key , destination key ToolbarClientsToolBar was not found.
|
||||
|
||||
//items that came up after moving this to v8 export plugin
|
||||
s = s.Replace("DateRangeInTheLastYear", "DateRangePastYear");
|
||||
s = s.Replace("ToolbarCustomizeDialog", "CustomizeDialog");
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user