Merge pull request #6 from huyz/clarify-labels-of-mode-and-action

This commit is contained in:
Aiden Fuller 2025-07-12 11:12:10 +10:00 committed by GitHub
commit 0cd0a4343a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -71,8 +71,8 @@ public class CommitPrefixerConfigurable implements Configurable {
formatHelp.setForeground(JBColor.GRAY);
JBLabel prefixingHelp = new JBLabel("<html>Select how the prefix should be added to commit messages:<br>" +
"<b>Pre-fill in commit dialog</b>: You need to click the 'Add Prefix' button in the commit dialog.<br>" +
"<b>Before commit</b>: The prefix will be added automatically before commit.</html>");
"<b>Manual</b>: You manually click the 'Add Prefix' button in the commit tool window.<br>" +
"<b>Automatic</b>: The prefix is added automatically after you click Commit.</html>");
prefixingHelp.setForeground(JBColor.GRAY);
// Build the form

View file

@ -31,8 +31,8 @@ public class CommitPrefixerSettings implements PersistentStateComponent<CommitPr
// Enum for prefixing modes
public enum PrefixingMode {
MANUAL("Pre-fill in commit dialog"),
AUTOMATIC("Before commit");
MANUAL("Manual"),
AUTOMATIC("Automatic");
private final String displayName;

View file

@ -45,7 +45,7 @@
<!-- Add the commit prefix action to the VCS menu -->
<action id="org.cobalyte.AddCommitPrefixAction"
class="org.cobalyte.AddCommitPrefixAction"
text="Add Prefix"
text="Add Prefix to Commit Message"
description="Add a prefix to the commit message based on the current branch name">
<add-to-group group-id="Vcs.MessageActionGroup" anchor="first"/>
</action>