Skip to content

Commit 3fe2940

Browse files
committed
refactor(v2): move provider ratings from header to metadata tab
- Remove ratings display from GameHeader component - Move rating logic (formatRating, normalizeToTen, RatingChip type) to MetadataTab - Add new 'Ratings' section in metadata tab (between Verification and Provider links) - Display ratings with provider logos (16×16px) and formatted values - Add 'ratings-label' translation key to all 18 locale files - Improve organization: ratings now grouped with provider metadata instead of header
1 parent f601e21 commit 3fe2940

20 files changed

Lines changed: 147 additions & 125 deletions

File tree

frontend/src/locales/bg_BG/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Публични бележки",
296296
"qr-scan-to-download": "Сканирай, за да свалиш",
297297
"rating": "Оценка",
298+
"ratings-label": "Оценки",
298299
"redownload": "Свали отново",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Презапиши метаданните от всички избрани източници",

frontend/src/locales/cs_CZ/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Veřejné poznámky",
296296
"qr-scan-to-download": "Naskenujte pro stažení",
297297
"rating": "Hodnocení",
298+
"ratings-label": "Hodnocení",
298299
"redownload": "Znovu stáhnout",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Přepsat metadata ze všech vybraných poskytovatelů",

frontend/src/locales/de_DE/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Öffentliche Notizen",
296296
"qr-scan-to-download": "Scannen zum Herunterladen",
297297
"rating": "Bewertung",
298+
"ratings-label": "Bewertungen",
298299
"redownload": "Erneut herunterladen",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Metadaten aller ausgewählten Anbieter überschreiben",

frontend/src/locales/en_GB/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Public notes",
296296
"qr-scan-to-download": "Scan to download",
297297
"rating": "Rating",
298+
"ratings-label": "Ratings",
298299
"redownload": "Re-download",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Overwrite metadata from all selected providers",

frontend/src/locales/en_US/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Public notes",
296296
"qr-scan-to-download": "Scan to download",
297297
"rating": "Rating",
298+
"ratings-label": "Ratings",
298299
"redownload": "Re-download",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Overwrite metadata from all selected providers",

frontend/src/locales/es_ES/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Notas públicas",
296296
"qr-scan-to-download": "Escanear para descargar",
297297
"rating": "Valoración",
298+
"ratings-label": "Valoraciones",
298299
"redownload": "Volver a descargar",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Sobrescribir metadatos de todos los proveedores seleccionados",

frontend/src/locales/fr_FR/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Notes publiques",
296296
"qr-scan-to-download": "Scanner pour télécharger",
297297
"rating": "Note",
298+
"ratings-label": "Notes",
298299
"redownload": "Retélécharger",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Écraser les métadonnées de tous les fournisseurs sélectionnés",

frontend/src/locales/hu_HU/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Publikus jegyzetek",
296296
"qr-scan-to-download": "Olvasd be a letöltéshez",
297297
"rating": "Értékelés",
298+
"ratings-label": "Értékelések",
298299
"redownload": "Újraletöltés",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Az összes kiválasztott szolgáltató metaadatainak felülírása",

frontend/src/locales/it_IT/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "Note pubbliche",
296296
"qr-scan-to-download": "Scansiona per scaricare",
297297
"rating": "Valutazione",
298+
"ratings-label": "Valutazioni",
298299
"redownload": "Riscarica",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "Sovrascrivi i metadati da tutti i provider selezionati",

frontend/src/locales/ja_JP/rom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@
295295
"public-notes": "公開メモ",
296296
"qr-scan-to-download": "スキャンしてダウンロード",
297297
"rating": "レーティング",
298+
"ratings-label": "レーティング",
298299
"redownload": "再ダウンロード",
299300
"redownload-manual": "Re-download scraped manual",
300301
"refresh-complete-desc": "選択したすべてのプロバイダからメタデータを上書きします",

0 commit comments

Comments
 (0)