mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-21 03:09:08 -05:00
docs: word removal candidates by what was searched
"No core opens it" claimed more than the search shows: what was checked is that no profile of a core the platform runs names the entry by name, path or hash. The reason and the page sentence now say that.
This commit is contained in:
1 parent
545e3f3ba1
commit
479ada29fe
3 files changed
+4
-3
No files matched your search
@@ -132,7 +132,7 @@ def _loads_romsets(profile: dict) -> bool:
|
||||
_ARCHIVES = (".zip", ".7z")
|
||||
|
||||
REASONS = {
|
||||
"candidate": "no core the platform runs opens it",
|
||||
"candidate": "no profile of a core the platform runs names it",
|
||||
"unresolved": "a core the platform names has no profile yet",
|
||||
"romset": "a ROM set, and these cores open sets their profiles do not list",
|
||||
}
|
||||
|
||||
@@ -124,7 +124,8 @@ def candidate_lines(candidates: list[dict]) -> list[str]:
|
||||
count = _plural(len(candidates), "entry", "entries")
|
||||
sentence = (
|
||||
f"{count} of the original {'is' if len(candidates) == 1 else 'are'} not "
|
||||
"opened by any profiled emulator this platform runs. "
|
||||
"named, by name, path or hash, in the profile of any emulator this "
|
||||
"platform runs. "
|
||||
f"{'It stays' if len(candidates) == 1 else 'They stay'} in the updated file"
|
||||
)
|
||||
if open_question:
|
||||
|
||||
@@ -418,7 +418,7 @@ class RemovalCandidatesNeedAReadingNoCoreAnswers(unittest.TestCase):
|
||||
"cores_examined": [], "unresolved_cores": []},
|
||||
])
|
||||
page = generate_exports_page([report], {})
|
||||
self.assertIn("1 entry of the original is not opened", page)
|
||||
self.assertIn("1 entry of the original is not named, by name, path or hash", page)
|
||||
self.assertIn("- `Enterprise` `zt18hfnt.rom`", page)
|
||||
self.assertNotIn("no entry the platform declares is removed", page)
|
||||
|
||||
|
||||
Reference in new issue
Block a user