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

This commit is contained in:
Thorsten Sommer 2025-04-25 15:27:52 +02:00
parent 93b488a233
commit 9a339c6d6d
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

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();