public static string HeadingText(this IStringLocalizer me, string?label, string?objectName, object?owner, PageAction action) { var text = new StringBuilder(100); text.Append(me.ActionText(label, objectName, action)); if (owner is not null) { text.Append(' '); //text.Append(me["For"].Value.ToLowerInvariant()); //text.Append(' '); text.Append(owner.Name()); } return(text.ToString()); }