This commit is contained in:
@@ -176,7 +176,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
//this holds all objects set to use banking
|
//this holds all objects set to use banking
|
||||||
//so that as a final step the servicebank can iterate
|
//so that as a final step the servicebank can iterate
|
||||||
//it and migrate (objects need to exist first in v8)
|
//it and migrate (objects need to exist first in v8)
|
||||||
// private Dictionary<Guid, RootObjectTypes> BankedObjects = new Dictionary<Guid, RootObjectTypes>();
|
// private Dictionary<Guid, RootObjectTypes> BankedObjects = new Dictionary<Guid, RootObjectTypes>();
|
||||||
|
|
||||||
|
|
||||||
private Dictionary<Guid, long> V7ToV8IdMap = new Dictionary<Guid, long>();
|
private Dictionary<Guid, long> V7ToV8IdMap = new Dictionary<Guid, long>();
|
||||||
@@ -279,7 +279,7 @@ namespace AyaNova.PlugIn.V8
|
|||||||
V7ToV8IdMap.Clear();
|
V7ToV8IdMap.Clear();
|
||||||
V7ToV8WorkOrderItemStatusIdMap.Clear();
|
V7ToV8WorkOrderItemStatusIdMap.Clear();
|
||||||
TagMap.Clear();
|
TagMap.Clear();
|
||||||
// BankedObjects.Clear();
|
// BankedObjects.Clear();
|
||||||
LocaleMap.Clear();
|
LocaleMap.Clear();
|
||||||
|
|
||||||
|
|
||||||
@@ -3093,11 +3093,13 @@ namespace AyaNova.PlugIn.V8
|
|||||||
|
|
||||||
LocalizedTextTable lt = LocalizedTextTable.Load(i.Locale);
|
LocalizedTextTable lt = LocalizedTextTable.Load(i.Locale);
|
||||||
progress.Op("Checking if locale " + i.Locale + " is customized");
|
progress.Op("Checking if locale " + i.Locale + " is customized");
|
||||||
//#if(DEBUG)
|
//#if(DEBUG)
|
||||||
// //continue;
|
// //continue;
|
||||||
//#endif
|
//#endif
|
||||||
if (!util.LocaleIsCustomized(i.Locale, lt, progress)) continue;
|
if (!util.LocaleIsCustomized(i.Locale, lt, progress)) continue;
|
||||||
|
|
||||||
|
//Guess the source language
|
||||||
|
var ProbableSourceLocale = GuessCustomLocaleSourceLanguage(lt);
|
||||||
|
|
||||||
//collection to hold items sent to server
|
//collection to hold items sent to server
|
||||||
List<UpdateTranslationItem> exportItems = new List<UpdateTranslationItem>();
|
List<UpdateTranslationItem> exportItems = new List<UpdateTranslationItem>();
|
||||||
@@ -3397,43 +3399,53 @@ namespace AyaNova.PlugIn.V8
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
GUESS SOURCE LANGUAGE
|
GUESS SOURCE LANGUAGE
|
||||||
todo: detect source language of custom and only do that one, not all languages as now
|
todo: detect source language of custom and only do that one, not all languages as now
|
||||||
if can find a key that users can't edit becuase it's not exposed or super unlikely to be changed as not in UI
|
if can find a key that users can't edit becuase it's not exposed or super unlikely to be changed as not in UI
|
||||||
or something along those lines (or maybe 3 or four) then compare to each language to find the source of this one if possible
|
or something along those lines (or maybe 3 or four) then compare to each language to find the source of this one if possible
|
||||||
and detect it
|
and detect it
|
||||||
|
|
||||||
Error.UnableToOpenEmailUrl
|
Error.UnableToOpenEmailUrl
|
||||||
en:Unable to open email address
|
en:Unable to open email address
|
||||||
de:E-Mail-Adresse kann nicht geöffnet werden
|
de:E-Mail-Adresse kann nicht geöffnet werden
|
||||||
es:No puede abrirse la dirección de e-mail
|
es:No puede abrirse la dirección de e-mail
|
||||||
fr:Impossible d'ouvrir l'adresse e-mail
|
fr:Impossible d'ouvrir l'adresse e-mail
|
||||||
|
|
||||||
Global.Label.AllowScheduleConflicts
|
Global.Label.AllowScheduleConflicts
|
||||||
en:Allow Schedule Conflicts
|
en:Allow Schedule Conflicts
|
||||||
de:Planungskonflikte zulassen
|
de:Planungskonflikte zulassen
|
||||||
es:Permitir conflictos de programación
|
es:Permitir conflictos de programación
|
||||||
fr:Autoriser les conflits de programme
|
fr:Autoriser les conflits de programme
|
||||||
|
|
||||||
ReportEditor.Label.Properties
|
ReportEditor.Label.Properties
|
||||||
en:Properties
|
en:Properties
|
||||||
de:Eigenschaften
|
de:Eigenschaften
|
||||||
es:Propiedades
|
es:Propiedades
|
||||||
fr:Propriétés
|
fr:Propriétés
|
||||||
|
|
||||||
StopWords3
|
StopWords3
|
||||||
en:would some what such make come while its use those see out who ll but get have same up well because between for all each does came just from was an these himself very under over more
|
en:would some what such make come while its use those see out who ll but get have same up well because between for all each does came just from was an these himself very under over more
|
||||||
de:hattest hattet hier hinter ich ihr ihre im in ist ja jede jedem jeden jeder jedes jener jenes jetzt kann kannst können könnt machen mein meine mit muß mußt musst müssen müßt nach nachdem nein nicht nun oder seid sein seine sich
|
de:hattest hattet hier hinter ich ihr ihre im in ist ja jede jedem jeden jeder jedes jener jenes jetzt kann kannst können könnt machen mein meine mit muß mußt musst müssen müßt nach nachdem nein nicht nun oder seid sein seine sich
|
||||||
es:detras detrás dia día dias días donde dónde dos durante e el él ella ellas ellos en encima enfrente enseguida entre es esa ésa esas ésas ese ése eso esos ésos esta está ésta estado estados estan están estar estas éstas este éste esto estos éstos ex
|
es:detras detrás dia día dias días donde dónde dos durante e el él ella ellas ellos en encima enfrente enseguida entre es esa ésa esas ésas ese ése eso esos ésos esta está ésta estado estados estan están estar estas éstas este éste esto estos éstos ex
|
||||||
fr:font foce haut hos ici il ils je juste la le les leu là ma maintenant mais mes mine moins mon mot même ni nommés note nous nouveaux ou où pa pace paole pas pesonnes peut peu pièce plupat pou pouquoi quand que quel
|
fr:font foce haut hos ici il ils je juste la le les leu là ma maintenant mais mes mine moins mon mot même ni nommés note nous nouveaux ou où pa pace paole pas pesonnes peut peu pièce plupat pou pouquoi quand que quel
|
||||||
|
|
||||||
UI.Help.TechSupport
|
UI.Help.TechSupport
|
||||||
en:Technical support
|
en:Technical support
|
||||||
de:Technische Unterstützung
|
de:Technische Unterstützung
|
||||||
es:Asistencia técnica
|
es:Asistencia técnica
|
||||||
fr:Assistance technique
|
fr:Assistance technique
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
public string GuessCustomLocaleSourceLanguage(LocaleText lt)
|
||||||
|
{
|
||||||
|
int en = 0;
|
||||||
|
int de = 0;
|
||||||
|
int fr = 0;
|
||||||
|
int es = 0;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endregion locale utility
|
#endregion locale utility
|
||||||
|
|||||||
Reference in New Issue
Block a user