Files
return-youtube-dislike/Website/pages/faq.vue
T
waifucon af2fc3900d Add Persian translations and RTL website support (#1334)
Add Persian translations for the extension, website, documentation, and store description. Correct wording and support right-to-left website layout, language switching, and initial page hydration.

Co-authored-by: waifucon <waifudev@atomicmail.io>
2026-10-18 11:53:57 +02:00

40 lines
1.2 KiB
Vue

<template>
<div class="width-constraint">
<h1 class="title-text">
{{ $vuetify.lang.t("$vuetify.faq.title") }}
</h1>
<p style="color: #999; margin-top: 0.5rem; margin-bottom: 1.5rem">
{{ $vuetify.lang.t("$vuetify.faq.subtitle") }}
</p>
<v-expansion-panels>
<v-expansion-panel v-for="i in [1, 2, 3, 4, 5, 6, 7]" :key="i">
<v-expansion-panel-header>
{{ $vuetify.lang.t(`$vuetify.faq.bullet${i}`) }}
</v-expansion-panel-header>
<v-expansion-panel-content
:class="$vuetify.rtl ? 'text-right' : 'text-left'"
>
<hr style="border-color: #444" />
<br />
<span v-html="$vuetify.lang.t(`$vuetify.faq.bullet${i}text`)" />
</v-expansion-panel-content>
</v-expansion-panel>
</v-expansion-panels>
</div>
</template>
<script>
export default {
transition(to, from) {
if (!from) return "swoop-in";
let routes = ["index", "install", "docs", "help", "faq", "donate", "links"];
if (routes.indexOf(to.name) < 0) return "swoop-out";
if (routes.indexOf(from.name) < 0) return "swoop-in";
return routes.indexOf(to.name) > routes.indexOf(from.name)
? "swoop-left"
: "swoop-right";
},
};
</script>