From 15f3bd1bbd1a12ac9a5f5431622a72ad69b81214 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 11 Dec 2024 16:39:01 +0100 Subject: [PATCH] =?UTF-8?q?refactor(WebKey.Formate):=20Aktualisiert,=20um?= =?UTF-8?q?=20in=20der=20resx-Datei=20in=20alphabetischer=20Reihenfolge=20?= =?UTF-8?q?gruppieren=20zu=20k=C3=B6nnen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EnvelopeGenerator.Web/WebKey.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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);