diff --git a/docs/switch-development.md b/docs/switch-development.md index 5b3ca7e0..b9e5cf02 100644 --- a/docs/switch-development.md +++ b/docs/switch-development.md @@ -27,7 +27,7 @@ This document covers what landed so far, known limitations, how hardware was tes ### What this branch already does - Detect `NX` via `src/core/Platform.lua` without reusing Android flags -- Writable ROM inbox under `getSaveDirectory()/imports/` + “Procurar novamente” +- Writable ROM inbox under `getSaveDirectory()/imports/` + “Scan again” - Joy-Con / gamepad mapping shared by launcher and gameplay (Nintendo A/B UX on NX) - Focus loss / joystick reconnect recovery; opt-in `switch-debug.txt` diagnostics - Loose assemble + fused NRO build scripts (`scripts/build_switch.sh`, `scripts/switch/*`) @@ -347,7 +347,7 @@ Community mods install from a **separate** MTP inbox (not mixed into the ROM `im | Save-relative path | `imports/mods/` | | MTP destination | `1: SD Card//imports/mods/` (see launcher notice for the live `getSaveDirectory()` path) | | Candidates | `*.zip` only | -| Rescan | MODS tab → **Procurar novamente** (installs each zip via `LauncherMods.installZip`; source zips are retained on success and failure) | +| Rescan | MODS tab → **Scan again** (installs each zip via `LauncherMods.installZip`; source zips are retained on success and failure) | | FIND MODS | Remains network-gated / hidden on NX (`networkValidated == false`) | Do **not** commit third-party mod zip bytes into git. Drop the zip over MTP, rescan, enable in MODS, then Play. diff --git a/docs/switch-hardware-evidence.md b/docs/switch-hardware-evidence.md index 43c61aac..f0cd5fd8 100644 --- a/docs/switch-hardware-evidence.md +++ b/docs/switch-hardware-evidence.md @@ -30,7 +30,7 @@ Do **not** commit ROM dumps or private dump hashes. Do **not** mark a row **pass ## T12 — Red import + Play — pass -Inbox MTP → “Procurar novamente” → Play; Joy-Con launcher/gameplay (not touch-only). +Inbox MTP → “Scan again” → Play; Joy-Con launcher/gameplay (not touch-only). --- @@ -158,7 +158,7 @@ DramaticShape (or any) mod `.zip` bytes. | Step | Pass / fail / pending | Notes | | ---- | --------------------- | ----- | | MTP zip into save `imports/mods/` | **pass** | Photo evidence + prior inbox path | -| MODS → Procurar novamente → mod listed | **pass** | IMG_1766 — Dramatic Shape Voxel Mod installed | +| MODS → Scan again → mod listed | **pass** | IMG_1766 — Dramatic Shape Voxel Mod installed | | Enable mod + Play Red boots without crash | **pass** | Overworld / Pallet / Oak lab photos on #531 | | Overworld Select+A → visible colors/settings change | **pass** | Chords shipped; OLED session used display paths with VoxelMod | | Overworld Select+B → visible tilt/perspective change | **pass** | Same; VoxelMod 3D overworld visible (IMG_1771) | diff --git a/docs/switch-install.md b/docs/switch-install.md index 38fec531..bc85d24e 100644 --- a/docs/switch-install.md +++ b/docs/switch-install.md @@ -54,7 +54,7 @@ This project ships **no** game data. On first launch: 1. Put your own legally obtained Pokémon Red or Blue `.gb` into the ROM inbox under the game’s save directory (`imports/` — the launcher shows the live path). -2. Use **Procurar novamente** / rescan on the Red/Blue tab if you add the +2. Use **Scan again** on the Red/Blue tab if you add the file after the first open. Saves live in the LÖVE save directory and **persist across NRO updates** — @@ -66,7 +66,7 @@ Mods install from a zip inbox (same transfer methods as ROMs): 1. Copy a release `.zip` into the save-dir **`imports/mods/`** path the launcher shows (MTP / SD / FTP — [switch-transfer.md](switch-transfer.md)). -2. In the launcher, open **MODS** → **Procurar novamente** → enable the mod → +2. In the launcher, open **MODS** → **Scan again** → enable the mod → **Play**. Remote **FIND MODS** / GitHub download stays **off** on Switch. Do not put diff --git a/docs/switch-transfer.md b/docs/switch-transfer.md index 43d01e60..d8ac970c 100644 --- a/docs/switch-transfer.md +++ b/docs/switch-transfer.md @@ -22,7 +22,7 @@ Player install (what to download, title override) stays in | Fused release NRO | `sdmc:/switch/gen1recomp/gen1recomp.nro` (or versioned name under that folder) | | Loose iteration pair | `sdmc:/switch/gen1recomp/gen1recomp.nro` **and** `game.love` beside it | | ROM inbox | LÖVE save dir → `imports/` (launcher shows the live `getSaveDirectory()` path; under MTP often `1: SD Card//imports/`) | -| Mod zip inbox | Same save dir → `imports/mods/` then MODS → **Procurar novamente** | +| Mod zip inbox | Same save dir → `imports/mods/` then MODS → **Scan again** | | Opt-in diagnostics | Empty `switch-debug.txt` in the save dir → `switch.log` | | Lua error log | `lua-error.log` in the save dir | @@ -121,8 +121,8 @@ a single vendor tutorial. 1. Exit MTP / unmount SD / stop FTP cleanly. 2. Launch via **title override** (hold **R** on a title → hbmenu). **Applet Mode is not supported** (not enough memory). -3. For ROMs: launcher → **Procurar novamente** if the file was added after - boot. For mods: MODS → **Procurar novamente** → enable → Play. +3. For ROMs: launcher → **Scan again** if the file was added after + boot. For mods: MODS → **Scan again** → enable → Play. VoxelMod Joy-Con chords and Switch performance tips: [switch-install.md](switch-install.md#community-mods-voxelmod). diff --git a/src/import/RomImporter.lua b/src/import/RomImporter.lua index b7374d81..b5f9adec 100644 --- a/src/import/RomImporter.lua +++ b/src/import/RomImporter.lua @@ -3562,12 +3562,12 @@ function RomImporter:_drawGamePanel(version, x, y, w, h, paged) elseif erroring then romState = "Import failed" romDetail = self.detail or Strings("That ROM could not be imported.") - romBtnLabel = self.isNX and "Procurar novamente" or "Import ROM" + romBtnLabel = self.isNX and Strings("Scan again") or "Import ROM" romBtnEnabled = true elseif notice then romState = "No ROM imported" romDetail = trim((notice.status or "") .. " " .. (notice.detail or "")) - romBtnLabel = self.isNX and "Procurar novamente" or "Import ROM" + romBtnLabel = self.isNX and Strings("Scan again") or "Import ROM" romBtnEnabled = true elseif self.returning[version] then romState = "Update required" @@ -3577,7 +3577,7 @@ function RomImporter:_drawGamePanel(version, x, y, w, h, paged) else romState = "No ROM imported" romDetail = "The ROM is verified before any files are created. " .. dropHint - romBtnLabel = self.isNX and "Procurar novamente" or "Import ROM" + romBtnLabel = self.isNX and Strings("Scan again") or "Import ROM" romBtnEnabled = true end end @@ -4488,7 +4488,7 @@ end -- card list is drawn whole, and the returned natural height is what draw() -- measures the page against. function RomImporter:_modsImportButtonLabel() - if self.isNX then return "Procurar novamente" end + if self.isNX then return Strings("Scan again") end return "Import mod .zip" end @@ -4507,7 +4507,7 @@ end function RomImporter:_modsEmptyHint() if self.isNX then return Strings("No mods installed - copy a .zip into imports/mods/ " - .. "and tap Procurar novamente.") + .. "and tap Scan again.") end if self.android then return "No mods installed - tap Import mod .zip to add one." diff --git a/tests/rom_importer_nx_mods_inbox_test.lua b/tests/rom_importer_nx_mods_inbox_test.lua index 283e0194..25921ae7 100644 --- a/tests/rom_importer_nx_mods_inbox_test.lua +++ b/tests/rom_importer_nx_mods_inbox_test.lua @@ -254,8 +254,8 @@ check(ri.modNotice and ri.modNotice.ok, "NX chooseMod success notice") -- NXMOD-01 UI: NX MODS panel label + hints mention imports/mods/ ri = freshImporter() -eq(ri:_modsImportButtonLabel(), "Procurar novamente", - "NX MODS button label is Procurar novamente") +eq(ri:_modsImportButtonLabel(), "Scan again", + "NX MODS button label is Scan again") local defaultHint = ri:_modsDefaultHint() check(defaultHint:find("imports/mods/", 1, true), "NX default hint mentions imports/mods/") @@ -264,8 +264,8 @@ check(defaultHint:find("DBI MTP", 1, true), local emptyHint = ri:_modsEmptyHint() check(emptyHint:find("imports/mods/", 1, true), "NX empty-state hint mentions imports/mods/") -check(emptyHint:find("Procurar novamente", 1, true), - "NX empty-state hint mentions Procurar novamente") +check(emptyHint:find("Scan again", 1, true), + "NX empty-state hint mentions Scan again") -- Desktop keeps Import mod .zip (non-NX) local desk = setmetatable({ diff --git a/tests/switch_transfer_docs_test.lua b/tests/switch_transfer_docs_test.lua index 65794769..13977178 100644 --- a/tests/switch_transfer_docs_test.lua +++ b/tests/switch_transfer_docs_test.lua @@ -26,7 +26,7 @@ mustContain(transfer, "sdmc:/switch/gen1recomp/", "transfer") mustContain(transfer, "imports/", "transfer") mustContain(transfer, "imports/mods/", "transfer") mustContain(transfer, "1: SD Card", "transfer") -mustContain(transfer, "Procurar novamente", "transfer") +mustContain(transfer, "Scan again", "transfer") mustContain(transfer, "one contributor example", "transfer") mustContain(transfer, "Linux", "transfer") mustContain(transfer, "Windows", "transfer")