Ejemplo n.º 1
0
 public override bool Execute()
 {
     Log.LogMessage($"Converting '{SourceXml}' to XLIFF at '{XliffOutputDir}'.");
     if (string.IsNullOrWhiteSpace(TargetLocale))
     {
         TargetLocale = null;
     }
     LocalizeLists.SplitSourceLists(SourceXml, XliffOutputDir, TargetLocale, Log);
     return(true);
 }
Ejemplo n.º 2
0
 public override bool Execute()
 {
     Log.LogMessage($"Combining lists from {XliffSourceFiles.Length} XLIFF files into '{OutputXml}'.");
     LocalizeLists.CombineXliffFiles(XliffSourceFiles.Select(i => i.ItemSpec).ToList(), OutputXml);
     return(true);
 }