Skip to content

Commit 7513a4b

Browse files
authored
Merge pull request #107 from skyflyer/main
Respect default localizers if none are set
2 parents f799acb + 8cc0316 commit 7513a4b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/OrchardCoreContrib.PoExtractor/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ public static void Main(string[] args)
6060
IgnoredProject.Add(ignoredProject);
6161
}
6262

63-
LocalizerAccessors.LocalizerIdentifiers = [.. localizers.Values];
63+
if (localizers.Values.Count > 0)
64+
{
65+
LocalizerAccessors.LocalizerIdentifiers = [.. localizers.Values];
66+
}
6467

6568
var projectFiles = new List<string>();
6669
var projectProcessors = new List<IProjectProcessor>();

0 commit comments

Comments
 (0)