From 0fa28d72822d7a779fbdedad40254678f6d4eb98 Mon Sep 17 00:00:00 2001 From: Toni Barth Date: Sat, 25 Jan 2025 17:47:58 +0100 Subject: [PATCH] add belongs_to field to hits view --- client/src/locale/de.yml | 1 + client/src/locale/en.yml | 1 + client/src/pages/game/hits-view.tsx | 2 ++ 3 files changed, 4 insertions(+) diff --git a/client/src/locale/de.yml b/client/src/locale/de.yml index b81b7ee..d043be0 100644 --- a/client/src/locale/de.yml +++ b/client/src/locale/de.yml @@ -11,6 +11,7 @@ and: und artist: Interpret automatic: Automatisch beforeYear: vor {{year}} +belongsTo: Zugehörig zu betweenYears: von {{year1}} bis {{year2}} cancel: Abbrechen cannotClaimHit: Du kannst dir derzeit keinen Hit nehmen diff --git a/client/src/locale/en.yml b/client/src/locale/en.yml index d422663..7573bf5 100644 --- a/client/src/locale/en.yml +++ b/client/src/locale/en.yml @@ -11,6 +11,7 @@ and: and artist: Artist automatic: Automatic beforeYear: before {{year}} +belongsTo: Belongs to betweenYears: between {{year1}} and {{year2}} cancel: Cancel cannotClaimHit: You cannot claim a hit right now diff --git a/client/src/pages/game/hits-view.tsx b/client/src/pages/game/hits-view.tsx index 92760a6..eb5998c 100644 --- a/client/src/pages/game/hits-view.tsx +++ b/client/src/pages/game/hits-view.tsx @@ -39,6 +39,7 @@ export default ({ {t("artist")} {t("title")} {t("year")} + {t("belongsTo")} {t("pack", { count: 1, @@ -55,6 +56,7 @@ export default ({ {h.artist} {h.title} {h.year} + {h.belongs_to} {h.pack}