public static string ActionText(this IStringLocalizer me, string?label, string?objectName, PageAction action) => label.HasValue() ? $"{me.ActionName(action)} {me.ObjectName(label, !action.IsEmpty())}" : $"{me.ActionName(action)} {me.ObjectName(objectName, !action.IsEmpty())}";
public static string AddOrEdit(this IStringLocalizer me, string?objectName, bool isAdd) => $"{me.AddOrEdit(isAdd)} {me.ObjectName(objectName, true)}";