You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
331 B
TypeScript

import { type Ref, computed } from 'vue'
import { useData } from 'vitepress'
export interface Data {
lang: Ref<string>
}
const { lang }: Data = useData()
export const main_three_dots = computed<string>(() => (lang.value === 'ru') ? ('Переводчик') : ((lang.value === 'ua') ? ('Перекладач') : ('Translator')))