[pr-feature][localisation] Spanish catalog (locales/es.json), with accented letters in the F1 menu #196
Loading…
Reference in a new issue
No description provided.
Delete branch "starrockanonigtavi/Darner:spanish"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contributor role (optional)
What it changes
locales/es.json: Spanish for all 798 message keys oflocales/en.json: the F1 menu, the F3 panel, the advisor line, the warm-up lines, the preload window, the launcher andplaymessages, and the CLI help. Neutral Latin American Spanish. Names such as DLSS, FPS, GPU, VRAM, RT, HDR and Reflex, and words players use as they are (shaders, pipelines, frame gen, presets), are left in English.es, soes-MX,es-ES,es-419and the rest find it through the existing fallback; it needs no aliases.GetUserPreferredUILanguageslookup.{0},{1:N0}), names in backquotes and the split of a message across keys (launcher.sdk.*_missing+*_fetch, the HDR lines) are kept as in English. The[Y/n]prompts keep Y/N, since the answer is read as Y or N.menu.rs,cased): an accented letter now belongs to its word. Before,GENERACIÓNwas cut at the Ó and came out asGeneraciÓN.drawn_text(the AUTO-DETECT change list): accented letters and Chinese are kept, upper-cased, instead of being turned into spaces.i18n::spanish(), likei18n::chinese().--language esbeside--language zh-CN.There are no new settings, no new
DARNER_*switches and no change to play defaults. English and Chinese text is unchanged.How it was tested
60c137460c1374:cargo clippy --workspace --all-targets --locked -- -D warnings: passedcargo test -p darner-core --locked: passed (31)cargo test -p darner-gpu --lib --locked host::menu: 51 passed, 2 ignored (the picture tests)cargo test -p darner --locked: passedcargo xtask policy: passed (556 files)es.jsonhas exactly the keys ofen.json, and the same placeholders and backquoted names in each message.spanish_texts_are_shown_in_ordinary_letters(accents, sentence case, one-letter words, English and Chinese unchanged) and adrawn_textcase with Ñ, Ú and Chinese.DARNER_MENU_LANGUAGE=es), on every page, the key bindings, the save list and the FPS line, at 1080 lines: tabs, switches, values beside theirn/mcount, buttons and the panel's wrapping. The command wasDARNER_MENU_SHOT=<dir> DARNER_MENU_LANGUAGE=es cargo test -p darner-gpu --lib menu::tests::menu_pictures -- --ignored.main.Checklist
main.docs/asset-policy.md.Checked for overlap
menu.rsandi18n.rs; whichever lands second needs a small rebase.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.