Repository navigation
feat(l10n): align Game Center terms with the iOS 26 system and drop the dead #983 keys - #1085
Merged
Merged
Conversation
…he dead #983 keys Live keys (GameCenterEntryRow, both apps): ja Leaderboards ランキング → リーダーボード; ko Achievements 업적 → 목표 달성, Leaderboards 리더보드 → 순위표; th Achievements ความสำเร็จ → ผลสำเร็จ, Leaderboards กระดานผู้นำ → ลีดเดอร์บอร์ด. Same three terms in the InfoPlist friend-list purpose string. Source: #1030 B-3 verdict (GameCenterUI.framework string tables); ja ruling per the PM decision on #1025. Deleted every key with zero references in shipping code (rg over *.swift, *.strings, *.plist, *.py; only docs/designs/code prototype hits remain): the #983 Daily Rank screen cluster, the stale Leaderboard / Couldn't load leaderboard. / View full leaderboard / Enable Friends… / error.gameCenter.not_authenticated.body keys, and the English "No Rankings Yet" / "Couldn't Load Rankings" keys that used the banned term. The Sudoku catalog also carried "Friends" twice; both copies were orphans. Fixture regenerated via mise run gen:l10n_fixture. mise run scan:l10n passes. part of #1025 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… §11 orphan-cleanup line ja unifies on リーダーボード for the surviving Leaderboards key; ko/th align to the iOS 26 GameCenterUI system terms; every zero-reference GC key was deleted rather than translated, with the per-app key list recorded under stage 3. part of #1025 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Owner
Author
|
PM review record: dual CR + fresh-context acceptance, all clean. Merging.
Follow-up: #1086 (remaining stale keys, 36 of 56 are live but mislabelled). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1025
part of #1014
What
Aligns the two live Game Center entry-row terms with what the iOS 26 system dashboard shows in each locale, per the #1030 B-3 verdict, and deletes every dead Game Center key instead of translating it (PM ruling on #1025, 2026-09-14).
Evidence the terms were checked against real on-device vocabulary, not translated in isolation:
GC terms changed (both apps, identical)
Live keys:
Achievements,Leaderboards(GameAppKit/GameCenterEntryRow.swift,String(localized:bundle: .main)), plus theNSGameKitFriendListUsageDescriptionpurpose string inInfoPlist.xcstrings(read by the OS).Leaderboard; katakana of the same word keeps the destination recognisable and reads as Japanese)A JSON diff of every surviving key between
origin/mainand this branch shows exactly these 16 value changes (8 per app) and nothing else.Orphan keys deleted (zero references in shipping code)
Proof command per key, repo-wide, quoted exact match:
rg -c --fixed-strings '"<key>"' --glob '*.swift' --glob '*.strings' --glob '*.plist' --glob '*.py' --glob '!**/.build/**'Every key below returns 0 in
App/andPackages/; the only hits anywhere are indocs/designs/code/(the standalone DesignPreviewKit prototype package, which has no catalog lookups):Leaderboard×3,Couldn't load leaderboard.×2,View full leaderboard×1,Friends×1.Sudoku — 22 keys (23 blocks: the catalog carried
Friendstwice, both copies orphans):Daily Rank,World,Friends×2,Sign In,Connect with Friends,Allow Game Center to see your friends list to compare daily times with people you know.,Allow Friends Access,No Rankings Yet,Be the first to set a time today.,None of your friends have set a time today. Add friends in Game Center to compare.,Open Game Center,Couldn't Load Rankings,Check your connection and try again.,Top Ranked,Your Rank,You,Leaderboard,Couldn't load leaderboard.,Enable Friends to see this list.,error.gameCenter.not_authenticated.body,View full leaderboard,Practice puzzles aren't ranked.Minesweeper — 20 keys:
the same 16
#983keys (Daily Rank…You, singleFriends) plusLeaderboard,Couldn't load leaderboard.,View leaderboard,Practice puzzles aren't ranked.Kept because live:
Sign in to Game Center(GameAppKit/GameRoot.swift:129),Achievements,Leaderboards.Deletion was a text splice (no JSON round-trip), so the diff is only the removed blocks plus one trailing-comma fix; key sets verified by JSON parse before/after (Sudoku 215 → 193, Minesweeper 188 → 168).
rg -n "Rankings|ランキング" --glob "*.xcstrings"→ 0 hits.Gates
mise run scan:l10n(aftermise run gen:l10n_fixture; fixture is a byte copy, not hand-edited):swift test --package-path Packages/SudokuKit --filter L10n: 4 tests in 2 suites passed.mise run scan:design_contracts: PASS.Docs
docs/designs/v3/design.md§12 #3 records the ja/ko/th ruling; §11 stage-3 "孤兒字串清理" marked done with the key list.New v3 strings (#1051 / #1038)
A read-only scan of every user-visible literal added by 714a58c (#1051) and 9023023 (#1038) —
Text/Label/String(localized:bundle: .main)/LocalizedStringKey/AppTab.titleKey— found every one present as a key in both catalogs (the gate's blind spot is a key absent entirely; none is). Literals present in only one catalog are per-app copy ("3 new boards" vs "3 new puzzles", Beginner/Intermediate/Expert vs Easy/Medium/Hard, Minesweeper'sFailedstate), not gaps. Interpolated keys (%lld day streak,Difficulty %lld of %lld,Best %lld) match in both catalogs. So this PR adds no new keys;scan:l10nalready covered the 7 locales of the v3 strings.Out of scope, filed as #1086: 51 non-GC
extractionState: stalekeys remain in Sudoku and 5 in Minesweeper. A reference count splits them into 20 true orphans (delete) and 36 live keys that Xcode mislabelsstalebecause they are looked up from packages viabundle: .main(relabelmanual, do not delete).🤖 Generated with Claude Code