summaryrefslogtreecommitdiffstats
path: root/pkg/cheatsheet
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-22 14:05:42 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-22 14:36:35 +1000
commit7807b403229cb57f261d97d15a76d0b35b15e19a (patch)
tree6e243e0a712a644e579e44fe055cd1054bf51523 /pkg/cheatsheet
parentb284970bac62364c2cccf6a2408d4584ae93056d (diff)
Better tag creation UX
Previously we used a single-line prompt for a tag annotation. Now we're using the commit message prompt. I've had to update other uses of that prompt to allow the summary and description labels to be passed in
Diffstat (limited to 'pkg/cheatsheet')
-rw-r--r--pkg/cheatsheet/generate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cheatsheet/generate.go b/pkg/cheatsheet/generate.go
index ec2c84dbd..f1e8a3487 100644
--- a/pkg/cheatsheet/generate.go
+++ b/pkg/cheatsheet/generate.go
@@ -101,7 +101,7 @@ func localisedTitle(tr *i18n.TranslationSet, str string) string {
"reflogCommits": tr.ReflogCommitsTitle,
"tags": tr.TagsTitle,
"commitFiles": tr.CommitFilesTitle,
- "commitMessage": tr.CommitMessageTitle,
+ "commitMessage": tr.CommitSummaryTitle,
"commitDescription": tr.CommitDescriptionTitle,
"commits": tr.CommitsTitle,
"confirmation": tr.ConfirmationTitle,