Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions arca-gui/src/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ impl AppController {
.map(|row| row.size)
.sum();
return format!(
"{} {} · {} {}",
"{} {} \u{b7} {} {}",
rows.len(),
if rows.len() == 1 {
s.item_word
Expand All @@ -687,7 +687,7 @@ impl AppController {
(1.0 - packed as f64 / raw as f64) * 100.0
};
format!(
"{n} {} · {} {} · {} {} · {ratio:.1}% {}",
"{n} {} \u{b7} {} {} \u{b7} {} {} \u{b7} {ratio:.1}% {}",
s.files_word,
human(raw),
s.uncompressed_word,
Expand Down
14 changes: 7 additions & 7 deletions arca-gui/src/ui/dialogs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,22 @@ pub(crate) fn keystroke(spec: &str, mac: bool, s: &'static Strings) -> String {
let parts: Vec<String> = spec
.split('-')
.map(|part| match part {
"ctrl" if mac => "⌘".into(),
"ctrl" if mac => "\u{2318}".into(),
"ctrl" => "Ctrl".into(),
"alt" if mac => "⌥".into(),
"alt" if mac => "\u{2325}".into(),
"alt" => "Alt".into(),
"shift" if mac => "⇧".into(),
"shift" if mac => "\u{21e7}".into(),
"shift" => s.key_shift.into(),
"escape" => s.key_escape.into(),
"delete" => s.key_delete.into(),
"backspace" => s.key_backspace.into(),
"enter" => s.key_enter.into(),
"space" => s.key_space.into(),
"tab" => s.key_tab.into(),
"left" => "←".into(),
"right" => "→".into(),
"up" => "↑".into(),
"down" => "↓".into(),
"left" => "\u{2190}".into(),
"right" => "\u{2192}".into(),
"up" => "\u{2191}".into(),
"down" => "\u{2193}".into(),
"home" => s.key_home.into(),
"end" => s.key_end.into(),
"pageup" => s.key_page_up.into(),
Expand Down
Loading