A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.
Rust archive-managerdesktop-appdual-paneexplorer-alternativefile-browserfile-explorerfile-managerfluent-designgpu-acceleratedgpuimacosmicaproductivityquick-lookrustrust-guitabswindowswindows-11windows-explorer
The percent sign follows the language everywhere (1114); an Extra large text size (1105)
gelenmedya303c83b3e96f
diff --git a/crates/rf-app/src/properties_view.rs b/crates/rf-app/src/properties_view.rsindex 416baf3d..5056c376 100644--- a/crates/rf-app/src/properties_view.rs+++ b/crates/rf-app/src/properties_view.rs@@ -1313,7 +1313,7 @@ impl PropsView {.border_color(p.border).child(div().h_full().rounded(px(7.)).bg(used_color).w(relative(frac))).into_any_element(),- div().text_xs().text_color(p.text_secondary).child(format!("{} %{:.0}", t!("Dolu:"), frac * 100.0)).into_any_element(),+ div().text_xs().text_color(p.text_secondary).child(format!("{} {}", t!("Dolu:"), crate::i18n::pct(frac * 100.0))).into_any_element(),],));if d.kind != DriveKind::Network && d.kind != DriveKind::Optical {diff --git a/crates/rf-app/src/settings.rs b/crates/rf-app/src/settings.rsindex abc7080f..bfb1912a 100644--- a/crates/rf-app/src/settings.rs+++ b/crates/rf-app/src/settings.rs@@ -704,7 +704,7 @@ pub struct Settings {pub explorer_sidebar_width: Option<f32>,/// Sidebar sections the user turned off ("drives", "cloud", "libraries", "network", "tags").pub sidebar_hidden: Vec<String>,- /// The sidebar's text size, percent of the usual like `text_percent` (87, 93, 100 or 112); 0 = the same as the window's+ /// The sidebar's text size, percent of the usual like `text_percent` (87, 93, 100, 112 or 125); 0 = the same as the window's/// (issue 266: the sidebar denser without the rest of the window changing).#[serde(skip_serializing_if = "is_zero_u16")]pub sidebar_text_percent: u16,diff --git a/crates/rf-app/src/settings_view.rs b/crates/rf-app/src/settings_view.rsindex d09078ae..0dcdb001 100644--- a/crates/rf-app/src/settings_view.rs+++ b/crates/rf-app/src/settings_view.rs@@ -2152,6 +2152,7 @@ fn appearance(p: &Palette, s: &Settings, cx: &mut App) -> Vec<AnyElement> {(93, t!("Küçük").into()),(100, t!("Normal").into()),(112, t!("Büyük").into()),+ (125, t!("Çok büyük").into()),],|s, v| s.sidebar_text_percent = v as u16,),@@ -2368,7 +2369,8 @@ fn appearance(p: &Palette, s: &Settings, cx: &mut App) -> Vec<AnyElement> {u32::from(s.text_percent),// (four steps since issue 89: "a font size in between small and normal". What was Small is Extra small, at the same// size, so nobody's text changes; the new step is 13 px where Normal is 14.)- vec![(87, t!("Çok küçük").into()), (93, t!("Küçük").into()), (100, t!("Normal").into()), (112, t!("Büyük").into())],+ // (a fifth since issue 1105: "an extra-large font size")+ vec![(87, t!("Çok küçük").into()), (93, t!("Küçük").into()), (100, t!("Normal").into()), (112, t!("Büyük").into()), (125, t!("Çok büyük").into())],|s, v| s.text_percent = v as u16,),)));@@ -4444,7 +4446,8 @@ fn update_card(p: &Palette, s: &Settings) -> AnyElement {State::Checking => t!("Denetleniyor…").to_string(),State::UpToDate => t!("rustyfiles güncel.").to_string(),State::Available(v) => format!("{} {v}", t!("Yeni sürüm var:")),- State::Downloading(v, pct) => format!("{} {v} · %{pct}", t!("İndiriliyor:")),+ // (the percent sign where the language puts it: issue 1114, "%85" in a language that writes "85%")+ State::Downloading(v, pct) => format!("{} {v} · {}", t!("İndiriliyor:"), crate::i18n::pct(*pct as f32)),State::Ready(v) => format!("{} {v}. {}", t!("İndirildi:"), t!("Yeniden başlatınca uygulanır.")),State::Failed(e) => format!("{} {e}", t!("Denetlenemedi:")),};diff --git a/crates/rf-app/src/shell/desktop/view.rs b/crates/rf-app/src/shell/desktop/view.rsindex 8cb61f22..28b7af37 100644--- a/crates/rf-app/src/shell/desktop/view.rs+++ b/crates/rf-app/src/shell/desktop/view.rs@@ -744,7 +744,7 @@ impl DesktopView {let g = ops.read(cx).glance();let busy = g.running.is_some();self.ops_line = g.running.map(|(title, pct)| match pct {- Some(p) => format!("{title} %{p}"),+ Some(p) => format!("{title} {}", crate::i18n::pct(p as f32)),None => title,});self.ops_busy_changed(busy);