Merge pull request #2209 from wctang/ui-translation

UI translation update
This commit is contained in:
Georges-Antoine Assi
2025-08-05 09:40:30 -04:00
committed by GitHub
5 changed files with 12 additions and 10 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

View File

@@ -35,9 +35,9 @@
"server-stats": "伺服器狀態",
"size-on-disk": "占用磁碟空間",
"slug": "網址關鍵字",
"state": "狀態",
"states": "狀態",
"states-n": "{n} 狀態 | {n} 狀態",
"state": "即時存檔",
"states": "即時存檔",
"states-n": "{n} 即時存檔 | {n} 即時存檔",
"update": "更新",
"upload": "上傳",
"user-interface": "使用界面",

View File

@@ -12,9 +12,9 @@
"select-save": "選擇存檔",
"change-save": "更改存檔",
"deselect-save": "取消選擇存檔",
"select-state": "選擇狀態",
"change-state": "更改狀態",
"deselect-state": "取消選擇狀態",
"select-state": "選擇即時存檔",
"change-state": "更改即時存檔",
"deselect-state": "取消選擇即時存檔",
"background-color": "背景顏色",
"select-background-color": "選擇背景顏色"
}

View File

@@ -32,7 +32,7 @@
"name": "名稱",
"no-metadata-source": "未啟用元數據來源",
"no-saves-found": "未找到存檔",
"no-states-found": "未找到狀態",
"no-states-found": "未找到即時存檔",
"now-playing": "正在遊玩",
"personal": "私人",
"public-notes": "公共筆記",