mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-12 16:01:35 +08:00
更新国际化支持:在多个组件中引入 vue-i18n
This commit is contained in:
@@ -78,12 +78,12 @@ onMounted(() => {
|
||||
<SearchBar />
|
||||
<!-- 👉 Spacer -->
|
||||
<VSpacer />
|
||||
<!-- 👉 Theme & Language -->
|
||||
<NavbarActions />
|
||||
<!-- 👉 Shortcuts -->
|
||||
<ShortcutBar v-if="superUser" />
|
||||
<!-- 👉 Notification -->
|
||||
<UserNofification />
|
||||
<!-- 👉 Theme & Language -->
|
||||
<NavbarActions />
|
||||
<!-- 👉 UserProfile -->
|
||||
<UserProfile />
|
||||
</div>
|
||||
|
||||
@@ -36,10 +36,9 @@ const themes: ThemeSwitcherTheme[] = [
|
||||
|
||||
<template>
|
||||
<div class="d-flex align-center">
|
||||
<!-- 语言切换 -->
|
||||
<LocaleSwitcher class="me-2" />
|
||||
|
||||
<!-- 主题切换 -->
|
||||
<ThemeSwitcher :themes="themes" />
|
||||
<!-- 语言切换 -->
|
||||
<LocaleSwitcher class="me-2" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -176,8 +176,7 @@ onMounted(() => {
|
||||
<div v-for="(item, index) in shortcuts" :key="index">
|
||||
<VCard
|
||||
flat
|
||||
variant="tonal"
|
||||
class="pa-2 d-flex align-center rounded-lg cursor-pointer transition-transform duration-300 hover:-translate-y-1 border"
|
||||
class="pa-2 d-flex align-center cursor-pointer transition-transform duration-300 hover:-translate-y-1 border h-full"
|
||||
hover
|
||||
@click="openDialog(item.dialogRef)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user