Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ S3_USE_SSL=true
AUTHENTICATION_API_KEY=429683C4C977415CAAFCCE10F7D57E11
# If you leave this option as true, the instances will be exposed in the fetch instances endpoint.
AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
LANGUAGE=en
LANGUAGE=en # en | pt-BR | es | it

# Define a global proxy to be used if the instance does not have one
# PROXY_HOST=
Expand Down
2 changes: 1 addition & 1 deletion src/utils/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fs from 'fs';
import i18next from 'i18next';
import path from 'path';

const languages = ['en', 'pt-BR', 'es'];
const languages = ['en', 'pt-BR', 'es', 'it'];
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
Outdated
const translationsPath = path.join(__dirname, 'translations');
const configService: ConfigService = new ConfigService();

Expand Down
27 changes: 27 additions & 0 deletions src/utils/translations/it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"qrgeneratedsuccesfully": "QRCode generato con successo!",
"scanqr": "Scansiona questo codice QR entro i prossimi 40 secondi.",
"qrlimitreached": "Limite di generazione QRCode raggiunto. Per generare un nuovo QRCode, invia nuovamente il messaggio 'init'.",
"cw.inbox.connected": "🚀 Connessione stabilita con successo!",
"cw.inbox.disconnect": "🚨 Disconnessione di WhatsApp dalla casella di posta *{{inboxName}}*.",
"cw.inbox.alreadyConnected": "🚨 L'istanza {{inboxName}} è già connessa.",
"cw.inbox.clearCache": "✅ Cache dell'istanza {{inboxName}} svuotata.",
"cw.inbox.notFound": "⚠️ Istanza {{inboxName}} non trovata.",
"cw.inbox.status": "⚠️ Stato dell'istanza {{inboxName}}: *{{state}}*.",
"cw.import.startImport": "💬 Avvio importazione messaggi. Attendere prego...",
"cw.import.importingMessages": "💬 Importazione messaggi in corso. Ancora un momento...",
"cw.import.messagesImported": "💬 {{totalMessagesImported}} messaggi importati. Aggiorna la pagina per vedere i nuovi messaggi.",
"cw.import.messagesException": "💬 Si è verificato un errore durante l'importazione dei messaggi.",
"cw.locationMessage.location": "Posizione",
"cw.locationMessage.latitude": "Latitudine",
"cw.locationMessage.longitude": "Longitudine",
"cw.locationMessage.locationName": "Nome",
"cw.locationMessage.locationAddress": "Indirizzo",
"cw.locationMessage.locationUrl": "URL",
"cw.contactMessage.contact": "Contatto",
"cw.contactMessage.name": "Nome",
"cw.contactMessage.number": "Numero",
"cw.message.notsent": "🚨 Impossibile inviare il messaggio. Controlla la tua connessione. {{error}}",
"cw.message.numbernotinwhatsapp": "🚨 Il messaggio non è stato inviato perché il contatto non è un numero WhatsApp valido.",
"cw.message.edited": "Messaggio modificato"
}