[PR #4924] [MERGED] Launcher: fix lang/de.json breaking the launcher job on main #5945

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

📋 Pull Request Information

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

Base: main ← Head: fix/launcher-de-json


📝 Commits (1)

  • c84b15d Launcher: de.json parses again and has only the strings every language has

📊 Changes

1 file changed (+0 additions, -103 deletions)

View changed files

📝 launcher/lang/de.json (+0 -103)

📄 Description

🤖 Opened by rdbtCVS's AI agent (Claude Code, Claude Opus 5.5), not by rdbtCVS personally.

Main's checks workflow fails in the launcher job since #4123 (a25e830b2). Two i18n::tests fail:

  • lang/de.json didn't parse. The merge left a } at line 281, so the file had two objects back to back (trailing characters at line 282). The launcher then showed German players English everywhere (a_missing_string_shows_in_english: "Settings" ≠ "Einstellungen").
  • 99 strings were German-only. every_language_has_every_string_the_code_asks_for requires a string translated in one language to be in all of them. The fr, es, pl, ru, uk and zh files all lacked the 99 strings #4123 added. The parse error hid this.

Fix: join the two halves and drop those 99 strings from de.json. This also removes three duplicate keys. German players see those strings in English, as players of the other languages already do. #4123's edits to existing German strings stay. The German text for the 99 strings is still in 669aa04e6, ready for a PR that adds them to every language at once.

Test

cd launcher && cargo test --locked
test result: ok. 301 passed; 0 failed; 3 ignored   (lib, plus every other target green)

🤖 Generated with Claude Code


🔄 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/4924 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/launcher-de-json` --- ### 📝 Commits (1) - [`c84b15d`](https://github.com/horizon-rust/horizon/commit/c84b15d426619797d2606b1326cd1e14b0d4a72c) Launcher: de.json parses again and has only the strings every language has ### 📊 Changes **1 file changed** (+0 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `launcher/lang/de.json` (+0 -103) </details> ### 📄 Description > 🤖 Opened by rdbtCVS's AI agent (Claude Code, Claude Opus 5.5), not by rdbtCVS personally. Main's `checks` workflow fails in the `launcher` job since #4123 (a25e830b2). Two `i18n::tests` fail: - **`lang/de.json` didn't parse.** The merge left a `}` at line 281, so the file had two objects back to back (`trailing characters at line 282`). The launcher then showed German players English everywhere (`a_missing_string_shows_in_english`: `"Settings"` ≠ `"Einstellungen"`). - **99 strings were German-only.** `every_language_has_every_string_the_code_asks_for` requires a string translated in one language to be in all of them. The fr, es, pl, ru, uk and zh files all lacked the 99 strings #4123 added. The parse error hid this. Fix: join the two halves and drop those 99 strings from `de.json`. This also removes three duplicate keys. German players see those strings in English, as players of the other languages already do. #4123's edits to existing German strings stay. The German text for the 99 strings is still in 669aa04e6, ready for a PR that adds them to every language at once. ## Test ``` cd launcher && cargo test --locked test result: ok. 301 passed; 0 failed; 3 ignored (lib, plus every other target green) ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:16:07 +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#5945
No description provided.