launcher: route the last raw literals through strings (#791)

finishes what #767 started (thanks @hernan0078). most of that pr landed
already when the launcher panels moved to LauncherView; these six sites were
what was left, and they sit next to siblings that already call Strings.

also pins the delete chip to the wider of Delete/Sure? instead of to Delete.
english happens to have the longer word first, a translation need not.
This commit is contained in:
bryanthaboi
2026-08-04 09:50:51 -04:00
committed by GitHub
parent 3c1246ee06
commit 7d3950658a
2 changed files with 13 additions and 9 deletions
+3 -3
View File
@@ -2888,7 +2888,7 @@ end
-- NX / desktop / Android labels and inbox hints for the FlexLove view.
function RomImporter:_modsImportButtonLabel()
if self.isNX then return Strings("Scan again") end
return "Import mod .zip"
return Strings("Import mod .zip")
end
function RomImporter:_modsDefaultHint()
@@ -2899,7 +2899,7 @@ function RomImporter:_modsDefaultHint()
return Strings("Copy a .zip via MTP into %s/imports/mods/\n"
.. "DBI MTP → 1: SD Card/%simports/mods/", saveDir, rel)
end
if self.android then return "Or copy a mod .zip via USB." end
if self.android then return Strings("Or copy a mod .zip via USB.") end
return Strings("Or drop a mod .zip onto the window.")
end
@@ -2915,7 +2915,7 @@ function RomImporter:_savesDefaultHint(version)
.. "DBI MTP → 1: SD Card/%s%s/", game, saveDir, inbox, rel, inbox)
end
if self.android then
return "Import or export a .sav with the system file picker."
return Strings("Import or export a .sav with the system file picker.")
end
return Strings("Import a .sav to a new slot, or export the active slot.")
end