File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -641,9 +641,9 @@ impl DrawableComponent for ConventionalCommitPopup {
641
641
. style ( self . theme . title ( true ) )
642
642
. title ( Span :: styled (
643
643
if self . seleted_commit_type . is_some ( ) {
644
- "Emoji of commit"
644
+ strings :: POPUP_TITLE_CONVENTIONAL_COMMIT
645
645
} else {
646
- "Type of commit"
646
+ strings :: POPUP_TITLE_GITMOJI
647
647
} ,
648
648
self . theme . title ( true ) ,
649
649
) )
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ pub static PUSH_POPUP_STATES_DELTAS: &str = "deltas (2/3)";
23
23
pub static PUSH_POPUP_STATES_PUSHING : & str = "pushing (3/3)" ;
24
24
pub static PUSH_POPUP_STATES_TRANSFER : & str = "transfer" ;
25
25
pub static PUSH_POPUP_STATES_DONE : & str = "done" ;
26
+ pub const POPUP_TITLE_CONVENTIONAL_COMMIT : & str = "Type of Commit" ;
27
+ pub const POPUP_TITLE_GITMOJI : & str = "Emoji of Commit" ;
26
28
27
29
pub static PUSH_TAGS_POPUP_MSG : & str = "Push Tags" ;
28
30
pub static PUSH_TAGS_STATES_FETCHING : & str = "fetching" ;
You can’t perform that action at this time.
0 commit comments