mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 05:07:21 +00:00
Added the informal address to the BeyondFacts Lab (#1176)
This commit is contained in:
1 parent
b6c3fbb5db
commit
e77645f44c
48 files changed
+1254
-160
No files matched your search
@@ -67,7 +67,12 @@ public sealed partial class CollectI18NKeysCommand
|
||||
{
|
||||
// The key in the format A.B.C.D.T{hash}, with the hash the app computes at runtime:
|
||||
var key = $"UI_TEXT_CONTENT.{langNamespace}.T{I18NKeyHash.Of(match.Text)}";
|
||||
allI18NContent.TryAdd(key, I18NKeyHash.NormalizeLineEndings(match.Text));
|
||||
var text = I18NKeyHash.NormalizeLineEndings(match.Text);
|
||||
allI18NContent.TryAdd(key, text);
|
||||
|
||||
// A text of TA() addresses the reader, so it gets a second key for the informal address:
|
||||
if (match.HasAddressVariants)
|
||||
allI18NContent.TryAdd(I18NAddressVariant.InformalKeyOf(key), text);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user