Skip to content

fix(app): polish English UI copy for clarity and natural phrasing - #554

Merged
linroid merged 3 commits into
mainfrom
fix/polish-ui-copy
Oct 14, 2026
Merged

linroid merged 3 commits into
mainfrom
fix/polish-ui-copy

Conversation

@linroid

@linroid linroid commented Oct 14, 2026

Copy link
Copy Markdown
Owner

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:

  1. 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").
  2. Grammar & Declension Fit

    • Corrected singular subject-verb agreement for quantity="one" in intake_outcome_start_now and intake_outcome_start_now_slots ("%1$d starts now" instead of "%1$d start now").
    • Fixed singular plural items in downloads_speed_caps_many, downloads_remove_trash_all, and downloads_remove_delete_all ("move %1$d file to the Trash" and "delete %1$d file permanently").
    • Avoided repetitive verb-noun collision in feedback_redownload_failed ("Couldn't download %1$d file again" instead of "Couldn't download %1$d download again").
  3. 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").
  4. Typography & Action-Name Formatting

    • Quoted action button title in feedback_undo_start_now_failed ("Couldn't undo “Start now” for %1$s on %2$s").
    • Fixed inspector clipboard copy toast notifications that displayed truncated internal keys ("file path", "date added", "average speed", "origin", "task ID").
  5. Test Updates

    • Synchronized assertions in ErrorCopyTest and TorrentReachabilityNoticeTest with the updated copy.

Verification

  • Tested with ./gradlew :app:shared:jvmTest (2,373 tests pass).

- 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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T03:49:09.396730Z 55e9c15 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)).

@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

 1 919 files  ±0   1 946 suites  ±0   24m 43s ⏱️ + 1m 29s
12 942 tests +1  12 695 ✅ +1  247 💤 ±0  0 ❌ ±0 
15 517 runs  +1  15 270 ✅ +1  247 💤 ±0  0 ❌ ±0 

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.
com.linroid.ketch.app.instance.InstanceManagerStandInTest ‑ standIn_atASavedDevicesAddress_isThatDeviceAndStaysSaved[jvm]
iosSimulatorArm64Test.com.linroid.ketch.app.instance.InstanceManagerStandInTest ‑ standIn_atASavedDevicesAddress_isThatDeviceAndStaysSaved[iosSimulatorArm64]
com.linroid.ketch.app.desktop.DownloadsLockTest ‑ claim_whileACommandQuitsWithoutDescribingItself_takesTheLock
com.linroid.ketch.app.instance.InstanceManagerStandInTest ‑ standIn_atASavedDevicesAddress_isThatDeviceWithTheTokenItUsesNow[jvm]
iosSimulatorArm64Test.com.linroid.ketch.app.instance.InstanceManagerStandInTest ‑ standIn_atASavedDevicesAddress_isThatDeviceWithTheTokenItUsesNow[iosSimulatorArm64]

♻️ This comment has been updated with latest results.

@linroid
linroid merged commit 03a6826 into main Oct 14, 2026
11 checks passed
@linroid
linroid deleted the fix/polish-ui-copy branch October 14, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant