Skip to content

Commit 1c03367

Browse files
committed
fix pluralization.
1 parent 20ecc7d commit 1c03367

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/OrchardCoreContrib.PoExtractor/Program.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ public static void Main(string[] args)
2424
.IsRequired();
2525

2626
// Options
27-
var language = app.Option("-l|--language <LANGUAGE>", "Specifies the code language to extracts translatable strings from.", CommandOptionType.SingleValue, options =>
27+
var language = app.Option("-l|--language <LANGUAGE>", "Specifies the code language to extracts translatable strings from.", CommandOptionType.SingleValue, option =>
2828
{
29-
options.Accepts(cfg => cfg.Values("C#", "VB"));
30-
options.DefaultValue = "C#";
29+
option.Accepts(cfg => cfg.Values("C#", "VB"));
30+
option.DefaultValue = "C#";
3131
});
32-
var template = app.Option("-t|--template <TEMPLATE>", "Specifies the template engine to extract the translatable strings from.", CommandOptionType.SingleValue, options =>
33-
options.Accepts(cfg => cfg.Values("Razor", "Liquid"))
32+
var template = app.Option("-t|--template <TEMPLATE>", "Specifies the template engine to extract the translatable strings from.", CommandOptionType.SingleValue, option =>
33+
option.Accepts(cfg => cfg.Values("Razor", "Liquid"))
3434
);
3535
var ignoredProjects = app.Option("-i|--ignore <IGNORED_PROJECTS>", "Ignores extracting PO files from a given project(s).", CommandOptionType.MultipleValue);
3636
var localizers = app.Option("--localizer <LOCALIZERS>", "Specifies the name of the localizer(s) that will be used during the extraction process.", CommandOptionType.MultipleValue);

0 commit comments

Comments
 (0)