diff --git a/frontend/src/console/components/CollectionCard.vue b/frontend/src/console/components/CollectionCard.vue index 4f0edf025..61a871b96 100644 --- a/frontend/src/console/components/CollectionCard.vue +++ b/frontend/src/console/components/CollectionCard.vue @@ -7,6 +7,7 @@ import { useTemplateRef, watch, } from "vue"; +import { useI18n } from "vue-i18n"; import { collectionElementRegistry, smartCollectionElementRegistry, @@ -20,6 +21,7 @@ import { EXTENSION_REGEX, } from "@/utils/covers"; +const { t } = useI18n(); const props = defineProps<{ collection: CollectionType; index: number; @@ -229,7 +231,7 @@ onMounted(() => { class="text-xs opacity-90" :style="{ color: 'var(--console-collection-card-text)' }" > - {{ collection.rom_count || 0 }} games + {{ t("console.games-n", collection.rom_count || 0) }} diff --git a/frontend/src/console/components/NavigationText.vue b/frontend/src/console/components/NavigationText.vue index b76e94bc7..5a4ead638 100644 --- a/frontend/src/console/components/NavigationText.vue +++ b/frontend/src/console/components/NavigationText.vue @@ -1,5 +1,6 @@