Skip to content

fix(i18n): name the real update host instead of GitHub in consent text - #1365

Open
4ni1ak wants to merge 1 commit into
AprilNEA:masterfrom
4ni1ak:fix/update-consent-wrong-host
Open

fix(i18n): name the real update host instead of GitHub in consent text#1365
4ni1ak wants to merge 1 commit into
AprilNEA:masterfrom
4ni1ak:fix/update-consent-wrong-host

Conversation

@4ni1ak

@4ni1ak 4ni1ak commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The update-consent copy said "OpenLogi can check GitHub for a new version once per launch," but the actual update check does not talk to GitHub.

Root cause

crates/openlogi-desktop/src/platform/updater.rs builds the manifest URL from UpdaterConfig::default, which points at https://updates.openlogi.org/channels/stable/latest.json. The update_consent_description string in every locale catalog named GitHub instead, which is misleading for a user auditing outgoing connections — the traffic never reaches github.com.

Changes

  • crates/openlogi-ui/locales/*.toml (all 23 catalogs): reworded update_consent_description to name updates.openlogi.org instead of GitHub, translated literally per locale. No keys added or removed.

Testing

  • cargo fmt --all -- --check
  • cargo clippy -p openlogi-ui -p openlogi-desktop --all-targets -- -D warnings
  • cargo test -p openlogi-ui locale (catalog key-parity across all locale files)
  • cargo test -p openlogi-desktop i18n (catalog wiring)
  • Not runtime-tested on hardware (no device-dependent behavior touched).

Fixes #1342

update_consent_description said OpenLogi checks GitHub for a new version,
but the actual manifest request goes to updates.openlogi.org
(see UpdaterConfig::default in crates/openlogi-desktop/src/platform/updater.rs).
A user auditing outgoing connections would see traffic to a host the copy
never mentions. Update the string in every locale catalog to name
updates.openlogi.org instead.
@4ni1ak
4ni1ak requested a review from AprilNEA as a code owner September 11, 2026 22:22
@greptile-apps

greptile-apps Bot commented Sep 11, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

The PR should not merge until the consent copy reflects the configurable update endpoint rather than only its default host.

Fix All in CodexFindings

  1. P1 Consent hard-codes update host

Summary

  • The replacement aligns the text with the default updater endpoint.
  • The text remains inaccurate for supported builds that override the manifest URL.

Reviews (1) · Last reviewed commit: "fix(i18n): name the real update host ins..."

check_for_updates_consent_title = "Check for updates?"
update_consent_description = "OpenLogi can check GitHub for a new version once per launch. It does not download updates automatically or send telemetry. You can change this in Settings."
update_consent_description = "OpenLogi can check updates.openlogi.org for a new version once per launch. It does not download updates automatically or send telemetry. You can change this in Settings."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Consent hard-codes update host

If a custom or self-hosted build overrides OPENLOGI_UPDATE_MANIFEST_URL, this text still says the request goes to updates.openlogi.org. Accepting the consent immediately runs the updater against the configured endpoint, so users can be told one host while the application contacts another. The same hard-coded host appears in the other 22 changed locale catalogs.

Fix in Codex Fix in Claude Code

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.

[Bug]: Update consent dialog says "check GitHub" but the check goes to updates.openlogi.org

1 participant