Fix key formatting in I18N key collection command by replacing dots with double colons

This commit is contained in:
tsommer committed 2025-04-25 15:27:52 +02:00
1 parent 93b488a233
commit 9a339c6d6d
1 file changed
+1 -1
+1 -1
View File
@@ -146,7 +146,7 @@ public sealed partial class CollectI18NKeysCommand
var keyWithoutPrefix = key.StartsWith(UI_TEXT_CONTENT, StringComparison.OrdinalIgnoreCase) ? key[UI_TEXT_CONTENT.Length..] : key;
// Replace all dots in the key with colons:
keyWithoutPrefix = keyWithoutPrefix.Replace('.', ':');
keyWithoutPrefix = keyWithoutPrefix.Replace(".", "::");
// Add a comment with the original text content:
sb.AppendLine();