mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
Merge ca95156832
into b1747d5df1
This commit is contained in:
commit
b20bf32f6c
@ -124,9 +124,11 @@ const defaultObj = () => ({
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
merge_brazil_contacts: false,
|
||||
import_contacts: false,
|
||||
import_messages: false,
|
||||
days_limit_import_messages: 0, // Set as a number
|
||||
|
@ -97,6 +97,25 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex align-center gap-4 flex-wrap">
|
||||
<v-text-field
|
||||
class="flex-grow-1 flex-shrink-0 mb-3"
|
||||
v-model="chatwootData.name_inbox"
|
||||
:disabled="
|
||||
loading ||
|
||||
!AppStore.versionSatisfies('>=1.7.4')
|
||||
"
|
||||
:label="$t('chatwoot.nameInbox')"
|
||||
:hint="
|
||||
!AppStore.versionSatisfies('>=1.7.4')
|
||||
? $t('version.availableFrom', { version: '1.7.4' })
|
||||
: $t('chatwoot.nameInboxHelp')
|
||||
"
|
||||
:persistent-hint="!AppStore.versionSatisfies('>=1.7.4')"
|
||||
hide-details="auto"
|
||||
style="min-width: 200px"
|
||||
></v-text-field>
|
||||
</div>
|
||||
<div class="d-flex align-center gap-4 flex-wrap">
|
||||
<v-checkbox
|
||||
class="flex-grow-0 flex-shrink-0"
|
||||
@ -231,6 +250,26 @@
|
||||
</template>
|
||||
</v-checkbox>
|
||||
</div>
|
||||
<div>
|
||||
<v-checkbox
|
||||
v-model="chatwootData.merge_brazil_contacts"
|
||||
:disabled="loading || !AppStore.versionSatisfies('>=1.7.5')"
|
||||
:hint="
|
||||
!AppStore.versionSatisfies('>=1.7.5')
|
||||
? $t('version.availableFrom', { version: '1.7.5' })
|
||||
: undefined
|
||||
"
|
||||
:persistent-hint="!AppStore.versionSatisfies('>=1.7.5')"
|
||||
hide-details="auto"
|
||||
class="mb-3"
|
||||
density="compact"
|
||||
>
|
||||
<template v-slot:label>
|
||||
<span>{{ $t("chatwoot.mergeBrasilianContacts") }}</span>
|
||||
<HelpTooltip>{{ $t("chatwoot.mergeBrasilianContactsHelp") }}</HelpTooltip>
|
||||
</template>
|
||||
</v-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
</v-form>
|
||||
</v-card-text>
|
||||
@ -272,10 +311,12 @@ const defaultObj = () => ({
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
merge_brazil_contacts: false,
|
||||
auto_create: undefined,
|
||||
import_contacts: false,
|
||||
import_messages: false,
|
||||
@ -301,10 +342,12 @@ export default {
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
merge_brazil_contacts: false,
|
||||
import_contacts: false,
|
||||
import_messages: false,
|
||||
days_limit_import_messages: 0,
|
||||
@ -314,10 +357,12 @@ export default {
|
||||
url: "",
|
||||
account_id: "",
|
||||
token: "",
|
||||
name_inbox: "",
|
||||
sign_msg: true,
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
merge_brazil_contacts: false,
|
||||
import_contacts: false,
|
||||
import_messages: false,
|
||||
days_limit_import_messages: 0,
|
||||
|
@ -74,7 +74,7 @@ export default {
|
||||
title: "Phone not connected",
|
||||
apiGenericError: "Could not load QR Code, if the error persists, restart the API and try again.",
|
||||
qr: "QR Code",
|
||||
code: "Código",
|
||||
code: "Code",
|
||||
},
|
||||
options: {
|
||||
title: "Behavior",
|
||||
@ -97,6 +97,8 @@ export default {
|
||||
account_id: "Account ID",
|
||||
token: "Account Token",
|
||||
dayslimitimportmessages: "Days limit to import messages",
|
||||
nameInbox: "Inbox name",
|
||||
nameInboxHelp: "Inbox name to be used in Chatwoot. If not provided, it will default to the session name.",
|
||||
signMsg: "Sign messages",
|
||||
signMsgHelp: "Adds the agent name at the first line of the message",
|
||||
signDelimiter: "Signature delimiter",
|
||||
@ -107,6 +109,8 @@ export default {
|
||||
conversationPendingHelp: "Starts the conversation as pending instead of open",
|
||||
autoCreate: "Create Inbox",
|
||||
autoCreateHelp: "Creates the inbox in Chatwoot if it doesn't exist",
|
||||
mergeBrasilianContacts: "Merge Brazilian contacts",
|
||||
mergeBrasilianContactsHelp: "If there are two contacts with the same number, one with the ninth digit and the other without it, they will be merged; valid only for Brazilian numbers.",
|
||||
importcontacts: "Import contacts",
|
||||
importcontactsHelp: "Import contacts to Chatwoot",
|
||||
importmessages: "Import messages",
|
||||
@ -212,4 +216,4 @@ export default {
|
||||
none: "Nobody",
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -97,6 +97,8 @@ export default {
|
||||
account_id: "ID de Cuenta",
|
||||
token: "Token de Cuenta",
|
||||
dayslimitimportmessages: "Límite de días para importar mensajes",
|
||||
nameInbox: "Nombre de la bandeja de entrada",
|
||||
nameInboxHelp: "Nombre de la bandeja de entrada que se utilizará en Chatwoot. Si no se proporciona, será el nombre de la sesión por defecto.",
|
||||
signMsg: "Firmar en mensajes",
|
||||
signMsgHelp: "Agrega el nombre del agente en la primera línea del mensaje.",
|
||||
signDelimiter: "Delimitador de firma",
|
||||
@ -107,6 +109,8 @@ export default {
|
||||
conversationPendingHelp: "Inicia la conversación como pendiente en lugar de abierta",
|
||||
autoCreate: "Crear bandeja de entrada",
|
||||
autoCreateHelp: "Crea la bandeja de entrada en Chatwoot si no existe",
|
||||
mergeBrasilianContacts: "Unir contactos brasileños",
|
||||
mergeBrasilianContactsHelp: "Si hay dos contactos con el mismo número, uno con el dígito nueve y otro sin él, se fusionarán; válido únicamente para números brasileños.",
|
||||
importcontacts: "Importar contactos",
|
||||
importcontactsHelp: "Importa contactos a Chatwoot",
|
||||
importmessages: "Importar mensajes",
|
||||
|
@ -103,6 +103,8 @@ export default {
|
||||
account_id: "ID da conta",
|
||||
token: "Token da conta",
|
||||
dayslimitimportmessages: "Limite de dias para importar mensagens",
|
||||
nameInbox: "Nome da caixa de entrada",
|
||||
nameInboxHelp: "Nome da caixa de entrada que será utilizado no Chatwoot. Se não for informado, será o nome da sessão.",
|
||||
signMsg: "Assinar mensagens",
|
||||
signMsgHelp: "Adiciona o nome do atendente na primeira linha da mensagem",
|
||||
signDelimiter: "Separador da assinatura da mensagem",
|
||||
@ -116,6 +118,8 @@ export default {
|
||||
"Inicia a conversa como pendente ao invés de aberta",
|
||||
autoCreate: "Criar Caixa de Entrada",
|
||||
autoCreateHelp: "Cria a caixa de entrada no Chatwoot caso ela não exista",
|
||||
mergeBrasilianContacts: "Mesclar contatos brasileiros",
|
||||
mergeBrasilianContactsHelp: "Se houver dois contatos com o mesmo número, sendo um com nono dígito e outro sem, eles serão mesclados; válido apenas para números brasileiros.",
|
||||
importcontacts: "Importar contatos",
|
||||
importcontactsHelp: "Importar contatos para o Chatwoot",
|
||||
importmessages: "Importar mensagens",
|
||||
|
Loading…
Reference in New Issue
Block a user