Chore: Add translated languages to account settings (#826)

* Add available languages in account settings

Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
Pranav Raj S 2020-05-06 13:38:36 +05:30 committed by GitHub
parent d6d15c8c3c
commit c7120e9637
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 473 additions and 250 deletions

View file

@ -1,6 +1,9 @@
<template>
<div class="chat-message--input">
<chat-input-area v-model="userInput" :placeholder="placeholder" />
<chat-input-area
v-model="userInput"
:placeholder="$t('CHAT_PLACEHOLDER')"
/>
<div class="button-wrap">
<chat-attachment-button
v-if="showAttachment"
@ -44,10 +47,6 @@ export default {
},
mixins: [clickaway],
props: {
placeholder: {
type: String,
default: 'Type your message',
},
onSendMessage: {
type: Function,
default: () => {},

View file

@ -8,7 +8,7 @@
<input
v-model.trim="email"
class="form-input"
placeholder="Please enter your email"
:placeholder="$t('EMAIL_PLACEHOLDER')"
:class="{ error: $v.email.$error }"
@input="$v.email.$touch"
@keyup.enter="onSubmit"