diff --git a/EnvelopeGenerator.Web/WebKey.cs b/EnvelopeGenerator.Web/WebKey.cs index 8fc05137..11c938c0 100644 --- a/EnvelopeGenerator.Web/WebKey.cs +++ b/EnvelopeGenerator.Web/WebKey.cs @@ -44,15 +44,15 @@ public static class Formats { - public static readonly string LockedTitle = "Locked{0}Title"; + public static readonly string LockedTitle = nameof(LockedTitle) + "{0}"; - public static readonly string LockedBody = "Locked{0}Body"; + public static readonly string LockedBody = nameof(LockedBody) + "{0}"; - public static readonly string LockedCodeLabel = "Locked{0}CodeLabel"; + public static readonly string LockedCodeLabel = nameof(LockedCodeLabel) + "{0}"; - public static readonly string LockedFooterTitle = "Locked{0}FooterTitle"; + public static readonly string LockedFooterTitle = nameof(LockedFooterTitle) + "{0}"; - public static readonly string LockedFooterBody = "Locked{0}FooterBody"; + public static readonly string LockedFooterBody = nameof(LockedFooterBody) + "{0}"; } public static string Format(this string st, object? arg0) => string.Format(st, arg0: arg0);