Avoid breaking changes

This commit is contained in:
Hisham Bin Ateya
2022-05-31 10:40:42 +03:00
parent aa98508e57
commit a83ed40ec4
7 changed files with 39 additions and 51 deletions

View File

@ -35,7 +35,7 @@ else
if (!string.IsNullOrEmpty(HelpText))
{
_helptext = LocalizeResource(nameof(HelpText), HelpText);
_helptext = Localize(nameof(HelpText), HelpText);
_labelclass = "form-label";
var spanclass = (!string.IsNullOrEmpty(Class)) ? " " + Class : "";
@ -47,7 +47,7 @@ else
_labelclass = "form-label" + labelclass;
}
var text = LocalizeResource("Text", String.Empty);
var text = Localize("Text", String.Empty);
if (!string.IsNullOrEmpty(text))
{
ChildContent =@<text>@text</text>;