flavors work

This commit is contained in:
2021-12-02 13:43:04 +01:00
parent e0fc7c620a
commit 2536c46fc7
38 changed files with 275 additions and 337 deletions
@@ -13,12 +13,5 @@ public class LocalizationModule : ZeroModule
services.AddScoped<ILanguageStore, LanguageStore>();
services.AddScoped<ITranslationStore, TranslationStore>();
services.AddScoped<ILocalizer, Localizer>();
services.Configure<FlavorOptions>(opts =>
{
opts.Provide<Country>("zero.country", "Country", "Default country", "fth-flag");
opts.Provide<Language>("zero.language", "Language", "Default language", "fth-flag");
opts.Provide<Translation>("zero.translation", "Translation", "Default translation", "fth-flag");
});
}
}