Clarify labels of mode and action
This commit is contained in:
parent
e15b805427
commit
37bc9b3dad
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue