Repository navigation
fix(app): polish English UI copy for clarity and natural phrasing - #554
Conversation
- Replace awkward phrasing with idiomatic conventions ("Generate a new code",
"doesn't support this download", "on that device")
- Correct singular subject-verb agreement and plurals ("1 starts now",
"move 1 file to the Trash", "download 1 file again")
- Align reachability advice with the "Port forwarding" settings row title
and localized translations
- Clarify pairing countdown time ("On for another %1$s", "Pairing is on for another %1$s")
- Quote action button in "Couldn't undo “Start now” for %1$s"
- Fix truncated database keys in inspector clipboard copy notifications
- Update test assertions in ErrorCopyTest and TorrentReachabilityNoticeTest
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55e9c15578
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <item quantity="one">Couldn't download %1$d download again</item> | ||
| <item quantity="other">Couldn't download %1$d downloads again</item> | ||
| <item quantity="one">Couldn't download %1$d file again</item> | ||
| <item quantity="other">Couldn't download %1$d files again</item> |
There was a problem hiding this comment.
Keep batch restart counts in downloads
When two or more restarts all fail, AppState.redownload passes failed.size, which counts DownloadTask entries, to this plural. Calling them files makes the error inaccurate, especially when each failed task is a multi-file torrent; retain “downloads” or describe them as restarts instead.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Updated to describe the failures as restarts while retaining downloads as the count unit across all locales (e.g. Couldn't restart %1 download(s) in English, matching Restarted %1 download(s)).
Test Results 1 919 files ±0 1 946 suites ±0 24m 43s ⏱️ + 1m 29s Results for commit 844f57c. ± Comparison against base commit 78cfd53. This pull request removes 2 and adds 3 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Summary of Changes
This PR polishes English user-facing copy across Ketch to ensure natural, idiomatic phrasing, correct grammatical agreements, and alignment with setting labels and localized translations:
Natural UI Conventions & Phrasing
settings_sharing_new_code_title&confirm: Replaced colloquial"Make a new code?"/"Make new code"with"Generate a new code?"/"Generate new code"(standard UI convention matching all 9 translations).error_unsupported: Replaced"This server can't do this download"with"This server doesn't support this download"(matching all translations).connections_unsupported_body: Replaced awkward"Update Ketch on it to see them here."with"Update Ketch on that device to see them here.".downloads_failed_files&downloads_failed_seeding: Replaced"files of"/"seeding of"with"for"("Couldn't change files for %1$s on %2$s").feedback_discovery_failed: Aligned with Ketch's error and local-network conventions ("Couldn't discover devices on the local network").Grammar & Declension Fit
quantity="one"inintake_outcome_start_nowandintake_outcome_start_now_slots("%1$d starts now"instead of"%1$d start now").downloads_speed_caps_many,downloads_remove_trash_all, anddownloads_remove_delete_all("move %1$d file to the Trash"and"delete %1$d file permanently").feedback_redownload_failed("Couldn't download %1$d file again"instead of"Couldn't download %1$d download again").Terminology & Temporal Clarity
settings_torrent_reach_not_forwarded: Corrected"Turn on Port mapping"to"Turn on Port forwarding"to match the settings row title (settings_torrent_port_mapping) and all localized translations.settings_sharing_pairing_on&banner_pairing_on: Clarified remaining countdown duration ("On for another %1$s","Pairing is on for another %1$s").Typography & Action-Name Formatting
feedback_undo_start_now_failed("Couldn't undo “Start now” for %1$s on %2$s")."file path","date added","average speed","origin","task ID").Test Updates
ErrorCopyTestandTorrentReachabilityNoticeTestwith the updated copy.Verification
./gradlew :app:shared:jvmTest(2,373 tests pass).