mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 08:19:47 +00:00
Fixed *.razor.cs file handling
This commit is contained in:
parent
7fb5220048
commit
722b0141e3
@ -46,7 +46,7 @@ public sealed partial class CollectI18NKeysCommand
|
|||||||
|
|
||||||
var ns = this.DetermineNamespace(filePath);
|
var ns = this.DetermineNamespace(filePath);
|
||||||
var fileInfo = new FileInfo(filePath);
|
var fileInfo = new FileInfo(filePath);
|
||||||
var name = fileInfo.Name.Replace(fileInfo.Extension, string.Empty);
|
var name = fileInfo.Name.Replace(fileInfo.Extension, string.Empty).Replace(".razor", string.Empty);
|
||||||
var langNamespace = $"{ns}.{name}".ToUpperInvariant();
|
var langNamespace = $"{ns}.{name}".ToUpperInvariant();
|
||||||
foreach (var match in matches)
|
foreach (var match in matches)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user