|
|
|
@ -33,24 +33,19 @@ onMounted(() => {
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
|
<v-menu top offset-y> |
|
|
|
|
<v-menu> |
|
|
|
|
<template #activator="{ props }"> |
|
|
|
|
<MaterialSymbolsTranslate class="cursor-pointer" @click="props.onClick" /> |
|
|
|
|
</template> |
|
|
|
|
<v-list dense class="min-w-50 max-h-90vh overflow-auto !py-0"> |
|
|
|
|
<v-list-item |
|
|
|
|
v-for="lang of languages" |
|
|
|
|
:key="lang.value" |
|
|
|
|
class="!min-h-8 group" |
|
|
|
|
dense |
|
|
|
|
:value="lang" |
|
|
|
|
@click="changeLanguage(lang)" |
|
|
|
|
> |
|
|
|
|
<v-list class="min-w-50 max-h-90vh overflow-auto !py-0 scrollbar-thin-primary"> |
|
|
|
|
<v-list-item v-for="lang of languages" :key="lang.value" class="!min-h-8 group" :value="lang" @click="changeLanguage(lang)"> |
|
|
|
|
<v-list-item-subtitle class="capitalize md:(!leading-8) group-hover:(text-primary font-semibold)"> |
|
|
|
|
{{ Languages[lang] || lang }} |
|
|
|
|
</v-list-item-subtitle> |
|
|
|
|
</v-list-item> |
|
|
|
|
|
|
|
|
|
<v-divider /> |
|
|
|
|
|
|
|
|
|
<v-list-item> |
|
|
|
|
<a |
|
|
|
|
href="https://docs.nocodb.com/engineering/translation/#how-to-contribute--for-community-members" |
|
|
|
@ -63,9 +58,3 @@ onMounted(() => {
|
|
|
|
|
</v-list> |
|
|
|
|
</v-menu> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
|
.v-list { |
|
|
|
|
@apply scrollbar scrollbar-thin scrollbar-thumb-rounded scrollbar-thumb-primary scrollbar-track-white; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|