1 write to Source
Microsoft.DotNet.XliffTasks (1)
Model\TranslatableNode.cs (1)
14Source = source;
9 references to Source
Microsoft.DotNet.XliffTasks (9)
Model\TranslatableDocument.cs (1)
49/// Values indicate the text with which to replace <see cref="TranslatableNode.Source"/>.
Model\TranslatableNode.cs (1)
36/// will replace <see cref="Source"/> with <paramref name="translation"/> in this node.
Model\XlfDocument.cs (6)
124if (source != sourceNode.Source || (sourceNode.Note != null && note != sourceNode.Note)) 126unitElement.SetSourceValue(sourceNode.Source); 140unitElement.SetTargetValue(sourceNode.Source); 167unitElement.SetTargetValue(sourceNode.Source); 190new XElement(Source, sourceNode.Source), 191new XElement(Target, new XAttribute("state", "new"), sourceNode.Source),
Tasks\TransformTemplates.cs (1)
93Dictionary<string, string> defaultTranslation = document.Nodes.ToDictionary(node => node.Id, node => node.Source);