Skip to content

Commit c6c10b3

Browse files
committed
Change Tag to Reword in Reword component
1 parent 57611fc commit c6c10b3

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
@@ -611,6 +611,15 @@ pub mod commands {
611611
CMD_GROUP_LOG,
612612
)
613613
}
614+
pub fn reword_commit_confirm_msg(
615+
key_config: &SharedKeyConfig,
616+
) -> CommandText {
617+
CommandText::new(
618+
format!("Reword [{}]", get_hint(key_config.enter),),
619+
"tag commit",
620+
CMD_GROUP_LOG,
621+
)
622+
}
614623
pub fn reword_commit(
615624
key_config: &SharedKeyConfig,
616625
) -> CommandText {

0 commit comments

Comments
 (0)