Repository navigation
feat(l10n): word the title from the shared messages - #15
Merged
Merged
Conversation
Carries the messages crate. The kit words its own text from it and the core words the host's sentences, so this title reads both from one rev. The pin alone does not build: the port follows in the next commits. scripts/pins.env and docs/pins.md follow Cargo.toml.
The core words a typed refusal now, so this title's copy of those sentences goes and connect_reject_message answers. The new ProfileLocked refusal needs no arm here. The console options gain two fields. This title has no profile passwords to prompt for, and the language list stays empty until the console's language is read.
The console keeps its UI language as a system parameter. It reaches the kit's options and the process's message language before any text is read. A language the table does not know, or a read that fails, leaves English. The setting is the console's own and never a title setting. The dev box and the fakes report no language.
The console texts the title drew itself come from pf-l10n: library and log errors, why a session ended, the controller chip, the present line, the wake and host-action notices, and two headings. The ended-session wording follows the shared messages, so a lost connection now reads Connection lost. Four literals have no message and stay English: the stream start failure, the stopped picture, and the two power rows.
Sleep and Shut down are the host's own power actions, so the exit menu takes the host part's labels instead of two English literals of its own.
The client part already has the sentence for a stream that stops on its own; the title read its own English instead.
The wording decisions landed in the shared messages: reworded sentences, merged keys, complete German.
A launch the title refuses reads the client part's sentence; the cause stays in the log.
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.
Pins punktfunk at
c4d6fe182(#2307 + #2308;pins.envanddocs/pins.mdfollow). The copied reject sentences incore/errors.rsare deleted for the core'sconnect_reject_message; the title's own text reads frompf-l10n. The console's language comes from the system parameter (sceSystemServiceParamGetInt, bound inpf-ps5-sys) through a pure table to BCP-47 tags, thenset_languagesandConsoleOptions.languages; unknown gives English. No setting.Verified on the Mac:
cargo fmt --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace. Not run:task cross-check(needs the GPL payload SDK and the Skia bring-up); nothing on a console, so linkingsceSystemServiceParamGetIntis unconfirmed.