mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-27 15:59:47 +00:00
Fix key formatting in I18N key collection command by replacing dots with double colons
This commit is contained in:
parent
93b488a233
commit
9a339c6d6d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user