diff --git a/VolumeControl/Helpers/LocalizationHelper.cs b/VolumeControl/Helpers/LocalizationHelper.cs index e58fe47a..dc4d1269 100644 --- a/VolumeControl/Helpers/LocalizationHelper.cs +++ b/VolumeControl/Helpers/LocalizationHelper.cs @@ -129,7 +129,7 @@ private void ParseSubElement(JProperty property, Stack textId, Localizat public static void Initialize(bool overwriteExistingTranslationConfigs, bool logMissingTranslations, ILogWriter? log) { if (IsInitialized) - throw new InvalidOperationException($"{nameof(LocalizationHelper)} has already been initialized!"); + throw new InvalidOperationException($"[{nameof(LocalizationHelper)}] has already been initialized!"); IsInitialized = true; LogWriter = log; @@ -210,7 +210,7 @@ private static void WriteEmbeddedTranslationConfigs(bool overwriteExisting) // WriteStreamToFileAsync disposes of the stream for us: writeTasks.Add(WriteStreamToFileAsync(assembly.GetManifestResourceStream(resourcePath)!, outputFilePath)); - LogWriter?.Debug($"{nameof(LocalizationHelper)} Writing \"{resourceName}\" to \"{outputFilePath}\""); + LogWriter?.Debug($"[{nameof(LocalizationHelper)}] Writing \"{resourceName}\" to \"{outputFilePath}\""); } }