[PR #4800] [MERGED] feat(launcher): localize AI agent and Data collection settings sections #5861

Closed
opened 2026-11-03 05:15:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4800
Author: @josegil1909
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4798-settings-ai-telemetry-i18n


📝 Commits (1)

  • 44d3e49 feat(launcher): localize AI agent and Data collection settings sections

📊 Changes

9 files changed (+469 additions, -66 deletions)

View changed files

📝 launcher/lang/de.json (+51 -1)
📝 launcher/lang/es.json (+51 -1)
📝 launcher/lang/fr.json (+51 -1)
📝 launcher/lang/pl.json (+51 -1)
📝 launcher/lang/ru.json (+51 -1)
📝 launcher/lang/uk.json (+51 -1)
📝 launcher/lang/zh.json (+51 -1)
📝 launcher/src/agents_page.rs (+56 -31)
📝 launcher/src/collection.rs (+56 -28)

📄 Description

🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally.

Fixes #4798

Summary

  • Routes the AI section (launcher/src/agents_page.rs) and Data collection section + first-run consent modal (launcher/src/collection.rs) through tr(...) / trf(...), including the switch titles and descriptions from telemetry::SWITCHES, telemetry::PING_NAME, telemetry::PING, and telemetry::NEVER.
  • Adds the 50 new strings across all 7 launcher language tables (de.json, es.json, fr.json, pl.json, ru.json, uk.json, zh.json) with full Spanish translations in launcher/lang/es.json.
  • Leaves launcher/src/main.rs untouched so this PR does not overlap with #4178.

Checks

  • python3 tools/check_public_tree.py: passed
  • cargo fmt --manifest-path launcher/Cargo.toml --check: passed
  • cargo test --manifest-path launcher/Cargo.toml --lib i18n::tests: 5 passed
  • cargo test --manifest-path launcher/Cargo.toml --lib telemetry::tests: 3 passed

🤖 Generated with Google Antigravity


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4800 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4798-settings-ai-telemetry-i18n` --- ### 📝 Commits (1) - [`44d3e49`](https://github.com/horizon-rust/horizon/commit/44d3e49db8b699ef4748e8610cac514d64defa33) feat(launcher): localize AI agent and Data collection settings sections ### 📊 Changes **9 files changed** (+469 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+51 -1) 📝 `launcher/lang/es.json` (+51 -1) 📝 `launcher/lang/fr.json` (+51 -1) 📝 `launcher/lang/pl.json` (+51 -1) 📝 `launcher/lang/ru.json` (+51 -1) 📝 `launcher/lang/uk.json` (+51 -1) 📝 `launcher/lang/zh.json` (+51 -1) 📝 `launcher/src/agents_page.rs` (+56 -31) 📝 `launcher/src/collection.rs` (+56 -28) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. Fixes #4798 ### Summary - Routes the **AI** section (`launcher/src/agents_page.rs`) and **Data collection** section + first-run consent modal (`launcher/src/collection.rs`) through `tr(...)` / `trf(...)`, including the switch titles and descriptions from `telemetry::SWITCHES`, `telemetry::PING_NAME`, `telemetry::PING`, and `telemetry::NEVER`. - Adds the 50 new strings across all 7 launcher language tables (`de.json`, `es.json`, `fr.json`, `pl.json`, `ru.json`, `uk.json`, `zh.json`) with full Spanish translations in `launcher/lang/es.json`. - Leaves `launcher/src/main.rs` untouched so this PR does not overlap with #4178. ### Checks - `python3 tools/check_public_tree.py`: passed - `cargo fmt --manifest-path launcher/Cargo.toml --check`: passed - `cargo test --manifest-path launcher/Cargo.toml --lib i18n::tests`: 5 passed - `cargo test --manifest-path launcher/Cargo.toml --lib telemetry::tests`: 3 passed 🤖 Generated with Google Antigravity --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:30 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5861
No description provided.