diff --git a/src/Volo.Abp.Localization/Volo/Abp/Localization/IInheritedResourceTypesProvider.cs b/src/Volo.Abp.Localization/Volo/Abp/Localization/IInheritedResourceTypesProvider.cs index c9e41774cd..ca3325f808 100644 --- a/src/Volo.Abp.Localization/Volo/Abp/Localization/IInheritedResourceTypesProvider.cs +++ b/src/Volo.Abp.Localization/Volo/Abp/Localization/IInheritedResourceTypesProvider.cs @@ -6,6 +6,6 @@ namespace Volo.Abp.Localization public interface IInheritedResourceTypesProvider { [NotNull] - Type[] GetInheritedModuleTypes(); + Type[] GetInheritedResourceTypes(); } } \ No newline at end of file diff --git a/src/Volo.Abp.Localization/Volo/Abp/Localization/InheritResourceAttribute.cs b/src/Volo.Abp.Localization/Volo/Abp/Localization/InheritResourceAttribute.cs index 1ee8aa85e9..3783ac0da3 100644 --- a/src/Volo.Abp.Localization/Volo/Abp/Localization/InheritResourceAttribute.cs +++ b/src/Volo.Abp.Localization/Volo/Abp/Localization/InheritResourceAttribute.cs @@ -12,7 +12,7 @@ namespace Volo.Abp.Localization ResourceTypes = resourceTypes ?? new Type[0]; } - public Type[] GetInheritedModuleTypes() + public virtual Type[] GetInheritedResourceTypes() { return ResourceTypes; } diff --git a/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs b/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs index 82f876d6e0..547035fbaf 100644 --- a/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs +++ b/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs @@ -82,7 +82,7 @@ namespace Volo.Abp.Localization foreach (var descriptor in descriptors) { - foreach (var baseResourceType in descriptor.GetInheritedModuleTypes()) + foreach (var baseResourceType in descriptor.GetInheritedResourceTypes()) { BaseResourceTypes.AddIfNotContains(baseResourceType); } diff --git a/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs b/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs index d0ef3247f4..2de5a690a7 100644 --- a/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs +++ b/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs @@ -14,7 +14,7 @@ /// /// Can clients see this setting and it's value. - /// It maybe dangerous for some settings to be visible to clients (such as email server password). + /// It maybe dangerous for some settings to be visible to clients (such as an email server password). /// Default: false. /// public bool IsVisibleToClients { get; set; }