From f39cd0d006a95c2b278ad327d3314520e7ab377f Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sat, 8 Aug 2026 14:54:30 +0200 Subject: [PATCH] Use the DecompilerSettings.Other resource key consistently Four settings used the bare category string "Other" while the rest of the group uses the "DecompilerSettings.Other" resource key. Both happen to resolve to the same English text today, so the options UI shows one group, but the two keys would split into separate groups the moment their translations diverge. Assisted-by: Claude:claude-fable-5:Claude Code --- ICSharpCode.Decompiler/DecompilerSettings.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ICSharpCode.Decompiler/DecompilerSettings.cs b/ICSharpCode.Decompiler/DecompilerSettings.cs index 79112cb98..3691fd18d 100644 --- a/ICSharpCode.Decompiler/DecompilerSettings.cs +++ b/ICSharpCode.Decompiler/DecompilerSettings.cs @@ -381,7 +381,7 @@ namespace ICSharpCode.Decompiler /// false: pictureBox1.BeginInit(); /// default: false /// - [Category("Other")] + [Category("DecompilerSettings.Other")] [Description("DecompilerSettings.AlwaysCastTargetsOfExplicitInterfaceImplementationCalls")] [DecompilerSetting(DefaultValue = false)] public partial bool AlwaysCastTargetsOfExplicitInterfaceImplementationCalls { get; set; } @@ -392,7 +392,7 @@ namespace ICSharpCode.Decompiler /// false: DoSomething(); /// default: false /// - [Category("Other")] + [Category("DecompilerSettings.Other")] [Description("DecompilerSettings.AlwaysQualifyMemberReferences")] [DecompilerSetting(DefaultValue = false)] public partial bool AlwaysQualifyMemberReferences { get; set; } @@ -403,7 +403,7 @@ namespace ICSharpCode.Decompiler /// false: enum Kind { A, B, C = 5 } /// default: false /// - [Category("Other")] + [Category("DecompilerSettings.Other")] [Description("DecompilerSettings.AlwaysShowEnumMemberValues")] [DecompilerSetting(DefaultValue = false)] public partial bool AlwaysShowEnumMemberValues { get; set; } @@ -411,7 +411,7 @@ namespace ICSharpCode.Decompiler /// /// Gets/Sets whether to use variable names from debug symbols, if available. /// - [Category("Other")] + [Category("DecompilerSettings.Other")] [Description("DecompilerSettings.UseVariableNamesFromDebugSymbolsIfAvailable")] [DecompilerSetting] public partial bool UseDebugSymbols { get; set; }