From 4a6faed2e26141e45586c4efbd50630b1f56e6df Mon Sep 17 00:00:00 2001 From: goaaats Date: Wed, 27 Mar 2024 20:51:00 +0100 Subject: [PATCH] pi: slightly improve validation messages --- Dalamud/Plugin/Internal/PluginValidator.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dalamud/Plugin/Internal/PluginValidator.cs b/Dalamud/Plugin/Internal/PluginValidator.cs index 2757ae7f4..a1b08e327 100644 --- a/Dalamud/Plugin/Internal/PluginValidator.cs +++ b/Dalamud/Plugin/Internal/PluginValidator.cs @@ -87,7 +87,7 @@ internal static class PluginValidator public ValidationSeverity Severity => ValidationSeverity.Warning; /// - public string GetLocalizedDescription() => "The plugin does register a config UI callback. If you have a settings window or section, please consider registering UiBuilder.OpenConfigUi."; + public string GetLocalizedDescription() => "The plugin does not register a config UI callback. If you have a settings window or section, please consider registering UiBuilder.OpenConfigUi to open it."; } /// @@ -99,7 +99,7 @@ internal static class PluginValidator public ValidationSeverity Severity => ValidationSeverity.Warning; /// - public string GetLocalizedDescription() => "The plugin does not register a main UI callback. If your plugin draws any kind of ImGui windows, please consider registering UiBuilder.OpenMainUi to open the plugin's main window."; + public string GetLocalizedDescription() => "The plugin does not register a main UI callback. If your plugin has a window that could be considered the main entrypoint to its features, please consider registering UiBuilder.OpenMainUi to open the plugin's main window."; } /// @@ -112,6 +112,6 @@ internal static class PluginValidator public ValidationSeverity Severity => ValidationSeverity.Fatal; /// - public string GetLocalizedDescription() => $"The plugin has a command({commandName}) without a help message. Please consider adding a help message to the command when registering it."; + public string GetLocalizedDescription() => $"The plugin has a command ({commandName}) without a help message. Please consider adding a help message to the command when registering it."; } }