added i18n, english and french for now

This commit is contained in:
2026-01-03 23:01:15 +01:00
parent f71d1ff9ac
commit 53b854d03a
19 changed files with 715 additions and 207 deletions

View File

@@ -1,3 +1,8 @@
<template>
<textarea ref="textareaRef" v-model="content" @input="resize" @keydown="handleKeydown" rows="1"
:placeholder="$t('chat-input-placeholder')"></textarea>
</template>
<script setup lang="ts">
import { ref, nextTick } from 'vue'
@@ -46,11 +51,6 @@ function handleKeydown(e: KeyboardEvent) {
}
</script>
<template>
<textarea ref="textareaRef" v-model="content" @input="resize" @keydown="handleKeydown" placeholder="type a message"
rows="1"></textarea>
</template>
<style scoped>
textarea {
width: 100%;