Merge pull request #6 from huyz/clarify-labels-of-mode-and-action
This commit is contained in:
commit
0cd0a4343a
3 changed files with 5 additions and 5 deletions
|
|
@ -71,8 +71,8 @@ public class CommitPrefixerConfigurable implements Configurable {
|
||||||
formatHelp.setForeground(JBColor.GRAY);
|
formatHelp.setForeground(JBColor.GRAY);
|
||||||
|
|
||||||
JBLabel prefixingHelp = new JBLabel("<html>Select how the prefix should be added to commit messages:<br>" +
|
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>Manual</b>: You manually click the 'Add Prefix' button in the commit tool window.<br>" +
|
||||||
"<b>Before commit</b>: The prefix will be added automatically before commit.</html>");
|
"<b>Automatic</b>: The prefix is added automatically after you click Commit.</html>");
|
||||||
prefixingHelp.setForeground(JBColor.GRAY);
|
prefixingHelp.setForeground(JBColor.GRAY);
|
||||||
|
|
||||||
// Build the form
|
// Build the form
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,8 @@ public class CommitPrefixerSettings implements PersistentStateComponent<CommitPr
|
||||||
|
|
||||||
// Enum for prefixing modes
|
// Enum for prefixing modes
|
||||||
public enum PrefixingMode {
|
public enum PrefixingMode {
|
||||||
MANUAL("Pre-fill in commit dialog"),
|
MANUAL("Manual"),
|
||||||
AUTOMATIC("Before commit");
|
AUTOMATIC("Automatic");
|
||||||
|
|
||||||
private final String displayName;
|
private final String displayName;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
<!-- Add the commit prefix action to the VCS menu -->
|
<!-- Add the commit prefix action to the VCS menu -->
|
||||||
<action id="org.cobalyte.AddCommitPrefixAction"
|
<action id="org.cobalyte.AddCommitPrefixAction"
|
||||||
class="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">
|
description="Add a prefix to the commit message based on the current branch name">
|
||||||
<add-to-group group-id="Vcs.MessageActionGroup" anchor="first"/>
|
<add-to-group group-id="Vcs.MessageActionGroup" anchor="first"/>
|
||||||
</action>
|
</action>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue