Skip to content

Commit 7eb8929

Browse files
gantoineclaude
andcommitted
fix(frontend): base v2 verified badge on real DB hash matches
The v2 details "Verified ROM" badge was gated on `crc_hash` being present, but a hash is computed for essentially every ROM (including compressed archives that never matched any database). This made the badge appear on unverified ROMs (#3806). Introduce `romVerification` as the single source of truth, mirroring the backend's `_filter_by_verified`: a ROM is verified only when a Hasheous signature match flag is set. Drive the header badge, the Metadata-tab per-database chips, and (fixed) the RetroAchievements chip (`ra_match`, not `ra_id`) from the same shared list, and add the previously missing WHDLoad / PureDOS databases. Also clarify what the badge means (#3807): the header tooltip now spells out that it is a database hash match (Hasheous / RetroAchievements), with the short label kept as the icon's accessible name. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 191d1ef commit 7eb8929

23 files changed

Lines changed: 165 additions & 26 deletions

File tree

frontend/src/locales/bg_BG/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Потвърждение",
433433
"verified-rom": "Потвърден ROM",
434+
"verified-rom-hint": "Hash verified against ROM database",
434435
"versions-count": "{n} версии",
435436
"volume-mute": "Заглуши",
436437
"volume-unmute": "Включи звука",

frontend/src/locales/cs_CZ/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Ověření",
433433
"verified-rom": "Ověřená ROM",
434+
"verified-rom-hint": "Hash verified against ROM database",
434435
"versions-count": "{n} verzí",
435436
"volume-mute": "Ztlumit",
436437
"volume-unmute": "Zrušit ztlumení",

frontend/src/locales/de_DE/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Verifizierung",
433433
"verified-rom": "Verifizierte ROM",
434+
"verified-rom-hint": "Hash mit ROM-Datenbank abgeglichen",
434435
"versions-count": "{n} Versionen",
435436
"volume-mute": "Stummschalten",
436437
"volume-unmute": "Stummschaltung aufheben",

frontend/src/locales/en_GB/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Verification",
433433
"verified-rom": "Verified ROM",
434+
"verified-rom-hint": "Hash verified against ROM database",
434435
"versions-count": "{n} versions",
435436
"volume-mute": "Mute",
436437
"volume-unmute": "Unmute",

frontend/src/locales/en_US/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Upload tracks",
432432
"verification": "Verification",
433433
"verified-rom": "Verified ROM",
434+
"verified-rom-hint": "Hash verified against ROM database",
434435
"versions-count": "{n} versions",
435436
"volume-mute": "Mute",
436437
"volume-unmute": "Unmute",

frontend/src/locales/es_ES/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Verificación",
433433
"verified-rom": "ROM verificada",
434+
"verified-rom-hint": "Hash verificado contra una base de datos de ROM",
434435
"versions-count": "{n} versiones",
435436
"volume-mute": "Silenciar",
436437
"volume-unmute": "Quitar silencio",

frontend/src/locales/fr_FR/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Vérification",
433433
"verified-rom": "ROM vérifiée",
434+
"verified-rom-hint": "Empreinte vérifiée dans une base de données de ROM",
434435
"versions-count": "{n} versions",
435436
"volume-mute": "Couper le son",
436437
"volume-unmute": "Activer le son",

frontend/src/locales/hu_HU/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Ellenőrzés",
433433
"verified-rom": "Ellenőrzött ROM",
434+
"verified-rom-hint": "Hash verified against ROM database",
434435
"versions-count": "{n} verzió",
435436
"volume-mute": "Némítás",
436437
"volume-unmute": "Némítás feloldása",

frontend/src/locales/it_IT/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "Verifica",
433433
"verified-rom": "ROM verificata",
434+
"verified-rom-hint": "Hash verificato su un database di ROM",
434435
"versions-count": "{n} versioni",
435436
"volume-mute": "Disattiva audio",
436437
"volume-unmute": "Riattiva audio",

frontend/src/locales/ja_JP/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@
431431
"upload-tracks": "Add tracks",
432432
"verification": "検証",
433433
"verified-rom": "確認済みROM",
434+
"verified-rom-hint": "Hash verified against ROM database",
434435
"versions-count": "{n}件のバージョン",
435436
"volume-mute": "ミュート",
436437
"volume-unmute": "ミュート解除",

0 commit comments

Comments
 (0)