From 9a339c6d6d6ffa3074da9d93a7ee8c7457a36940 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 25 Apr 2025 15:27:52 +0200 Subject: [PATCH] Fix key formatting in I18N key collection command by replacing dots with double colons --- app/Build/Commands/CollectI18NKeysCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Build/Commands/CollectI18NKeysCommand.cs b/app/Build/Commands/CollectI18NKeysCommand.cs index 15fe2149..0270333b 100644 --- a/app/Build/Commands/CollectI18NKeysCommand.cs +++ b/app/Build/Commands/CollectI18NKeysCommand.cs @@ -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();