mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 11:28:51 -06:00
feat: cross_reference --all --target
--target without --platform keeps every platform with the target, each narrowed to the cores it builds for it, as verify and generate_pack read --all --target. --all is accepted as the explicit whole-tree scope. Remaining CLI plurals go through count_text ("1 name", "+1 record").
This commit is contained in:
1 parent
7bc02025dc
commit
4d62c56730
7 files changed
+172
-46
No files matched your search
@@ -4,6 +4,7 @@ from __future__ import annotations
|
||||
|
||||
from collections import Counter
|
||||
|
||||
from core.text import count_text
|
||||
from packs.verdicts import Severity, Status
|
||||
from resolve.categories import BIOS
|
||||
from resolve.nativemode import reads_file_contents
|
||||
@@ -205,7 +206,7 @@ def _print_undeclared_entry(
|
||||
name = u["path"] if u["name"] in repeated and u.get("path") else u["name"]
|
||||
arc_count = u.get("archive_file_count")
|
||||
if arc_count:
|
||||
name_label = f"{name} ({arc_count} file{'s' if arc_count != 1 else ''})"
|
||||
name_label = f"{name} ({count_text(arc_count, 'file')})"
|
||||
else:
|
||||
name_label = name
|
||||
if u.get("alternatives") and not u.get("in_repo"):
|
||||
|
||||
Reference in new issue
Block a user