@@ -24,26 +24,26 @@ module.exports = (options) => {
24
24
{
25
25
type : 'list' ,
26
26
name : 'type' ,
27
- message : 'Select the type of change that you\'re committing:' ,
27
+ message : 'Type of change that you\'re committing:' ,
28
28
choices,
29
29
default : options . defaultType ,
30
30
} , {
31
31
type : 'input' ,
32
32
name : 'scope' ,
33
- message : 'What is the scope of this change (e.g. component or file name) : (press enter to skip)' ,
33
+ message : 'Scope of this change, component or folder name: (enter to skip)' ,
34
34
default : options . defaultScope ,
35
35
filter ( value ) {
36
36
return value . trim ( ) . toLowerCase ( ) ;
37
37
} ,
38
38
} , {
39
39
type : 'confirm' ,
40
40
name : 'isEmoji' ,
41
- message : 'Add Emoji by default ?' ,
41
+ message : 'Emoji by default ?' ,
42
42
default : true ,
43
43
} , {
44
44
type : 'input' ,
45
45
name : 'emoji' ,
46
- message : 'Add your own Emoji :\n' ,
46
+ message : 'Your own Emoji :\n' ,
47
47
when ( answers ) {
48
48
return ! answers . isEmoji ;
49
49
} ,
@@ -52,7 +52,7 @@ module.exports = (options) => {
52
52
name : 'subject' ,
53
53
message ( answers ) {
54
54
return (
55
- `Write a short , imperative tense description of the change (max ${
55
+ `Short , imperative tense description of the change (max ${
56
56
helpers . maxSummaryLength ( options , answers )
57
57
} chars):\n`
58
58
) ;
@@ -82,21 +82,21 @@ module.exports = (options) => {
82
82
type : 'input' ,
83
83
name : 'body' ,
84
84
message :
85
- 'Provide a longer description of the change: (press enter to skip)\n' ,
85
+ 'Longer description of the change: (enter to skip)\n' ,
86
86
default : options . defaultBody ,
87
87
} ,
88
88
{
89
89
type : 'confirm' ,
90
90
name : 'isBreaking' ,
91
- message : 'Are there any breaking changes?' ,
91
+ message : 'Breaking changes?' ,
92
92
default : false ,
93
93
} ,
94
94
{
95
95
type : 'input' ,
96
96
name : 'breakingBody' ,
97
97
default : '-' ,
98
98
message :
99
- 'A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself :\n' ,
99
+ 'Breaking change requires a body :\n' ,
100
100
when ( answers ) {
101
101
return answers . isBreaking && ! answers . body ;
102
102
} ,
@@ -119,15 +119,15 @@ module.exports = (options) => {
119
119
{
120
120
type : 'confirm' ,
121
121
name : 'isIssueAffected' ,
122
- message : 'Does this change affect any open issues?' ,
122
+ message : 'Affect any open issues?' ,
123
123
default : ! ! options . defaultIssues ,
124
124
} ,
125
125
{
126
126
type : 'input' ,
127
127
name : 'issuesBody' ,
128
128
default : '-' ,
129
129
message :
130
- 'If issues are closed, the commit requires a body. Please enter a longer description of the commit itself :\n' ,
130
+ 'If issues are closed, the commit requires a body :\n' ,
131
131
when ( answers ) {
132
132
return (
133
133
answers . isIssueAffected && ! answers . body && ! answers . breakingBody
@@ -137,7 +137,7 @@ module.exports = (options) => {
137
137
{
138
138
type : 'input' ,
139
139
name : 'issues' ,
140
- message : 'Add issue references (e.g. "fix #123", "re #123".) :\n' ,
140
+ message : 'Issue references, "fix #123", "close #123" :\n' ,
141
141
when ( answers ) {
142
142
return answers . isIssueAffected ;
143
143
} ,
0 commit comments