From 881d56f7d6ba4b3102411f59a7f973b035b47ca5 Mon Sep 17 00:00:00 2001 From: Torma Zsolt <243981888+tormazs@users.noreply.github.com> Date: Wed, 21 Oct 2026 05:39:58 +0200 Subject: [PATCH] Label the status bar percentage "Progress" rather than "Reading" The status bar shared its "Reading" with the Reading tab in Options, so a translator had to pick a word that works for both, and most languages chose one that reads oddly next to a percentage. "Progress" is the word the Document Info sheet on iOS already uses for the same number. Co-Authored-By: Claude Opus 5.5 --- crates/paperback/src/ui/status.rs | 8 ++++---- crates/paperback/tests/status_bar.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/paperback/src/ui/status.rs b/crates/paperback/src/ui/status.rs index 7094057a4..cb9ccb3ba 100644 --- a/crates/paperback/src/ui/status.rs +++ b/crates/paperback/src/ui/status.rs @@ -7,15 +7,15 @@ use wxdragon::prelude::*; use super::{document_manager::DocumentManager, navigation}; pub fn format_status_text(info: &StatusInfo) -> String { - // TRANSLATORS: Status bar label for the current line number, e.g. "Line 5, Character 120, Reading 45%" + // TRANSLATORS: Status bar label for the current line number, e.g. "Line 5, Character 120, Progress 45%" let line_label = t("Line"); // TRANSLATORS: Status bar label for the current character offset within the line let char_label = t("Character"); - // TRANSLATORS: Status bar label for the reading progress percentage, e.g. "Line 5, Character 120, Reading 45%" - let reading_label = t("Reading"); + // TRANSLATORS: Status bar label for how far through the document the reader has got, e.g. "Line 5, Character 120, Progress 45%" + let progress_label = t("Progress"); format!( "{} {}, {} {}, {} {}%", - line_label, info.line_number, char_label, info.character_number, reading_label, info.percentage + line_label, info.line_number, char_label, info.character_number, progress_label, info.percentage ) } diff --git a/crates/paperback/tests/status_bar.rs b/crates/paperback/tests/status_bar.rs index d4b07ad55..459f996b7 100644 --- a/crates/paperback/tests/status_bar.rs +++ b/crates/paperback/tests/status_bar.rs @@ -7,7 +7,7 @@ mod common; fn status_bar_shows_the_caret_line_from_the_moment_a_document_opens() { let app = common::launch("status-bar"); common::wait_for_reader_focus(app.pid); - common::wait_for_status_prefix(app.pid, "Line 1, Character 1, Reading 0%"); + common::wait_for_status_prefix(app.pid, "Line 1, Character 1, Progress 0%"); common::arrow_down(); common::wait_for_status_prefix(app.pid, "Line 2, ");