mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
consitent title
This commit is contained in:
parent
9b1e921af8
commit
3ba3d3e07f
2 changed files with 5 additions and 2 deletions
|
|
@ -17,6 +17,8 @@ pub static STASH_POPUP_MSG: &str = "type name (optional)";
|
|||
pub static RESET_TITLE: &str = "Reset";
|
||||
pub static RESET_MSG: &str = "confirm file reset?";
|
||||
|
||||
pub static LOG_TITLE: &str = "Commit";
|
||||
|
||||
pub static HELP_TITLE: &str = "Help: all commands";
|
||||
|
||||
pub static STASHING_FILES_TITLE: &str = "Files to Stash";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ use crate::{
|
|||
ScrollType,
|
||||
},
|
||||
keys,
|
||||
strings::commands,
|
||||
strings::{self, commands},
|
||||
ui::calc_scroll_top,
|
||||
ui::style::Theme,
|
||||
};
|
||||
|
|
@ -254,7 +254,8 @@ impl DrawableComponent for Revlog {
|
|||
);
|
||||
|
||||
let title = format!(
|
||||
"commit {}/{}",
|
||||
"{} {}/{}",
|
||||
strings::LOG_TITLE,
|
||||
self.count_total.saturating_sub(self.selection),
|
||||
self.count_total,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue