mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
feat: Add merge_brazil_contacts option to chatwoot settings
This commit is contained in:
parent
b1747d5df1
commit
597ef38c9a
@ -127,6 +127,7 @@ const defaultObj = () => ({
|
||||
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
|
||||
|
@ -231,6 +231,26 @@
|
||||
</template>
|
||||
</v-checkbox>
|
||||
</div>
|
||||
<div>
|
||||
<v-checkbox
|
||||
v-model="chatwootData.merge_brazil_contacts"
|
||||
:disabled="loading || !AppStore.versionSatisfies('>=1.7.4')"
|
||||
:hint="
|
||||
!AppStore.versionSatisfies('>=1.7.4')
|
||||
? $t('version.availableFrom', { version: '1.7.4' })
|
||||
: undefined
|
||||
"
|
||||
:persistent-hint="!AppStore.versionSatisfies('>=1.7.4')"
|
||||
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>
|
||||
@ -276,6 +296,7 @@ const defaultObj = () => ({
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
merge_brazil_contacts: false,
|
||||
auto_create: undefined,
|
||||
import_contacts: false,
|
||||
import_messages: false,
|
||||
@ -305,6 +326,7 @@ export default {
|
||||
sign_delimiter: "\n",
|
||||
reopen_conversation: true,
|
||||
conversation_pending: false,
|
||||
merge_brazil_contacts: false,
|
||||
import_contacts: false,
|
||||
import_messages: false,
|
||||
days_limit_import_messages: 0,
|
||||
@ -318,6 +340,7 @@ export default {
|
||||
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: "C<EFBFBD>digo",
|
||||
},
|
||||
options: {
|
||||
title: "Behavior",
|
||||
@ -107,6 +107,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",
|
||||
|
@ -107,6 +107,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",
|
||||
|
@ -116,6 +116,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