Repository navigation
Switch 2 (3/8): stage names of a folder build and the no-profile stop - #605
Merged
Merged
Conversation
A game folder's build has the stages "pack <version>" and "pack DLC" (and "unpack <version>" for a NUP with a newer engine). They showed in English in every language. They are in the launcher's six languages now. The script's stop for a folder of a game without a profile gets its own failure row in the Mac and the Qt launcher.
5 of 6 tasks
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.
Fix or feature
Part of #445. Stack PR 3 of 8, on #604.
What and why
pack v458752andpack DLC(pack_dump.pythroughbuild_ipa_from_nsp.py), and a NUP's build hasunpack v196608(pack_nup.py, new pin).Stage.localizedNameknew onlyextract <name>, so these showed in English in every language. They are in all six languages now, the version kept as the script writes it.DM_GAMES_DIR), the Mac and the Qt launcher now show a failure row instead of the raw last line. The fixture holds the script's real line, and the existing test checks the fragment is still in the engine's script.New strings in zh, en, sv, de, fr and it. The sv, de, fr and it texts are machine-translated.
Checked
cd frontend && swift testpasses,frontend-qtunittest passes (its table test compares the two tables). New:StageNameTests.testTheGameFolderStagesAreShownInTheLaunchersLanguage, thegames.noProfilefixture row.NX_LAUNCHER_CAPTURE_DIR(testRenderLauncherForVisualQAGameFolder, German and Chinese). The "before" capture shows the pack stages as the script writes them, which is what the old code showed. The failure row withtestRenderBuildFailureStatesForScreenshots.641d148.Screenshots
Progress card, before and after, German:
Chinese:
The new failure row (new, no before: the card showed the script's last line). PR 6 adds "or a NUP file" to its first line:
Scope
dm/,scripts/,docs/,ref/) is added to the repository: a change there is a patch inpatches/(a commit inengine/, thentools/engine.py export, andtools/engine.py checkpasses), with itsUpstream-Statusforwarded seedds/nxnative#..., orpendinguntil that PR is open