File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ pub static STASH_POPUP_MSG: &str = "type name (optional)";
1717pub static RESET_TITLE : & str = "Reset" ;
1818pub static RESET_MSG : & str = "confirm file reset?" ;
1919
20+ pub static LOG_TITLE : & str = "Commit" ;
21+
2022pub static HELP_TITLE : & str = "Help: all commands" ;
2123
2224pub static STASHING_FILES_TITLE : & str = "Files to Stash" ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use crate::{
66 ScrollType ,
77 } ,
88 keys,
9- strings:: commands,
9+ strings:: { self , commands} ,
1010 ui:: calc_scroll_top,
1111 ui:: style:: Theme ,
1212} ;
@@ -254,7 +254,8 @@ impl DrawableComponent for Revlog {
254254 ) ;
255255
256256 let title = format ! (
257- "commit {}/{}" ,
257+ "{} {}/{}" ,
258+ strings:: LOG_TITLE ,
258259 self . count_total. saturating_sub( self . selection) ,
259260 self . count_total,
260261 ) ;
You can’t perform that action at this time.
0 commit comments