Skip to content

Commit d7676d4

Browse files
committed
Change Tag to Reword in Reword component
1 parent 17c56a1 commit d7676d4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/components/reword.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl Component for RewordComponent {
5252
self.input.commands(out, force_all);
5353

5454
out.push(CommandInfo::new(
55-
strings::commands::tag_commit_confirm_msg(
55+
strings::commands::reword_commit_confirm_msg(
5656
&self.key_config,
5757
),
5858
true,

src/strings.rs

+9
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,15 @@ pub mod commands {
631631
CMD_GROUP_LOG,
632632
)
633633
}
634+
pub fn reword_commit_confirm_msg(
635+
key_config: &SharedKeyConfig,
636+
) -> CommandText {
637+
CommandText::new(
638+
format!("Reword [{}]", get_hint(key_config.enter),),
639+
"tag commit",
640+
CMD_GROUP_LOG,
641+
)
642+
}
634643
pub fn reword_commit(
635644
key_config: &SharedKeyConfig,
636645
) -> CommandText {

0 commit comments

Comments
 (0)