Added the informal address to the BeyondFacts Lab (#1176)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-08 21:10:51 +01:00
1 parent b6c3fbb5db
commit e77645f44c
48 files changed
+1254 -160

No files matched your search

+3 -2
View File
@@ -1,9 +1,10 @@
namespace SharedTools;
/// <summary>
/// A text of T() or TB() which the I18N collector found in a source file.
/// A text of T(), TB(), or TA() which the I18N collector found in a source file.
/// </summary>
/// <param name="Offset">Where its literal starts in the file.</param>
/// <param name="Length">How many characters its literal takes in the file.</param>
/// <param name="Text">The string the compiler makes of the literal.</param>
public sealed record I18NSourceText(int Offset, int Length, string Text);
/// <param name="HasAddressVariants">Whether the text comes from TA(), i.e., addresses the reader and gets a variant with the informal address, see I18NAddressVariant.</param>
public sealed record I18NSourceText(int Offset, int Length, string Text, bool HasAddressVariants);