diff --git a/EnvelopeGenerator.Web/WebKey.cs b/EnvelopeGenerator.Web/WebKey.cs index 3555be45..1b8ec48f 100644 --- a/EnvelopeGenerator.Web/WebKey.cs +++ b/EnvelopeGenerator.Web/WebKey.cs @@ -42,5 +42,22 @@ public static readonly string ViewDoc = nameof(ViewDoc); public static readonly string HomePageDescription = nameof(HomePageDescription); public static readonly string Privacy = nameof(Privacy); + + public static class Formats + { + public static readonly string LockedTitle = "Locked{0}Title"; + + public static readonly string LockedBody = "Locked{0}Body"; + + public static readonly string LockedCodeLabel = "Locked{0}CodeLabel"; + + public static readonly string LockedFooterTitle = "Locked{0}FooterTitle"; + + public static readonly string LockedFooterBody = "Locked{0}FooterBody"; + } + + public static string Format(this string st, object? arg0) => string.Format(st, arg0: arg0); + + public static string Format(this string st, params object?[] args) => string.Format(st, args: args); } } \ No newline at end of file