update ui translation.

This commit is contained in:
wctang
2025-08-05 14:54:53 +08:00
parent a6830839b4
commit eb37bfdb90
2 changed files with 5 additions and 3 deletions

View File

@@ -4,8 +4,10 @@ import States from "@/components/Details/States.vue";
import type { DetailedRom } from "@/stores/roms";
import { ref } from "vue";
import { useDisplay } from "vuetify";
import { useI18n } from "vue-i18n";
// Props
const { t } = useI18n();
defineProps<{ rom: DetailedRom }>();
const tab = ref<"saves" | "states">("saves");
const { mdAndDown } = useDisplay();
@@ -25,13 +27,13 @@ const { mdAndDown } = useDisplay();
prepend-icon="mdi-content-save"
class="rounded text-caption"
value="saves"
>Saves</v-tab
>{{ t("common.saves") }}</v-tab
>
<v-tab
prepend-icon="mdi-file"
class="rounded text-caption"
value="states"
>States</v-tab
>{{ t("common.states") }}</v-tab
>
</v-tabs>
</v-col>

View File

@@ -168,7 +168,7 @@ function onFilterClick(filter: FilterType, value: string) {
>
<v-row no-gutters class="mt-5">
<v-col cols="3" xl="2" class="text-capitalize">
<span>Age Rating</span>
<span>{{ t("rom.age-rating") }}</span>
</v-col>
<div class="d-flex" :class="{ 'my-2': xs }">
<v-img