Merge pull request #423 from TheZoker/add-more-translation

Add more translation
This commit is contained in:
Mohit Panjwani
2021-03-22 14:59:04 +05:30
committed by GitHub
23 changed files with 179 additions and 15 deletions

View File

@ -1,3 +1,5 @@
import i18n from '../plugins/i18n';
export default {
addClass(el, className) {
if (el.classList) el.classList.add(className)
@ -261,6 +263,36 @@ export default {
}
}
},
getStatusTranslation(status) {
switch (status) {
case 'DRAFT':
return i18n.t('general.draft')
case 'PAID':
return i18n.t('invoices.paid')
case 'UNPAID':
return i18n.t('invoices.unpaid')
case 'SENT':
return i18n.t('general.sent')
case 'REJECTED':
return i18n.t('estimates.rejected')
case 'ACCEPTED':
return i18n.t('estimates.accepted')
case 'VIEWED':
return i18n.t('invoices.viewed')
case 'EXPIRED':
return i18n.t('estimates.expired')
case 'PARTIALLY PAID':
return i18n.t('estimates.partially_paid')
case 'OVERDUE':
return i18n.t('invoices.overdue')
case 'COMPLETED':
return i18n.t('invoices.completed')
case 'DUE':
return i18n.t('general.due')
default:
return status
}
},
compareVersion(v1, v2, options) {
const lexicographical = options && options.lexicographical
const zeroExtend = options && options.zeroExtend

View File

@ -177,6 +177,8 @@
"copy_billing_address": "نسخ من عنوان الفوترة",
"no_customers": "لا يوجد عملاء حتى الآن!",
"no_customers_found": "لم يتم الحصول على عملاء!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "سوف يحتوي هذا القسم على قائمة العملاء.",
"primary_display_name": "اسم العرض الرئيسي",
"select_currency": "اختر العملة",
@ -200,6 +202,7 @@
"added_on": "أضيف في",
"price": "السعر",
"date_of_creation": "تاريخ الإنشاء",
"not_selected": "No item selected",
"action": "إجراء",
"add_item": "إضافة صنف",
"save_item": "حفظ الصنف",
@ -270,6 +273,7 @@
"required": "حقل مطلوب"
},
"accepted": "مقبول",
"rejected": "Rejected",
"sent": "مرسل",
"draft": "مسودة",
"declined": "مرفوض",
@ -316,6 +320,9 @@
"all": "الكل",
"paid": "مدفوع",
"unpaid": "غير مدفوع",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "العميل",
"paid_status": "حالة الدفع",
"ref_no": "رقم المرجع.",
@ -434,6 +441,8 @@
"update_payment": "تحديث الدفعة",
"payment": "دفعة | مدفوعات",
"no_payments": "لا يوجد مدفوعات حتى الآن!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "لا توجد مدفوعات مطابقة!",
"list_of_payments": "سوف تحتوي هذه القائمة على مدفوعات الفواتير.",
"select_payment_mode": "اختر طريقة الدفع",
@ -463,6 +472,7 @@
"receipt": "سند القبض",
"amount": "المبلغ المطلوب",
"action": "إجراء",
"not_selected": "Not selected",
"note": "ملاحظة",
"category_id": "رمز الفئة",
"date": "تاريخ النفقات",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Rechnungsadresse kopieren",
"no_customers": "Noch keine Kunden!",
"no_customers_found": "Keine Kunden gefunden!",
"no_contact": "Kein Kontakt",
"no_contact_name": "Kein Kontaktname",
"list_of_customers": "Dieser Abschnitt enthält die Liste der Kunden.",
"primary_display_name": "Primärer Anzeige Name",
"select_currency": "Währung wählen",
@ -200,6 +202,7 @@
"added_on": "Hinzugefügt am",
"price": "Preis",
"date_of_creation": "Erstellt am",
"not_selected": "Keine ausgewählt",
"action": "Aktion",
"add_item": "Artikel hinzufügen",
"save_item": "Artikel speichern",
@ -270,6 +273,7 @@
"required": "Feld ist erforderlich"
},
"accepted": "Angenommen",
"rejected": "Abgelehnt",
"sent": "Gesendet",
"draft": "Entwurf",
"declined": "Abgelehnt",
@ -315,7 +319,10 @@
"years": "{years} Jahre",
"all": "Alle",
"paid": "Bezahlt",
"unpaid": "Unbezahlte",
"unpaid": "Unbezahlt",
"viewed": "Gesehen",
"overdue": "Überfällig",
"completed": "Abgeschlossen",
"customer": "KUNDEN",
"paid_status": "BEZAHLT-STATUS",
"ref_no": "REF. - NR.",
@ -434,6 +441,8 @@
"update_payment": "Zahlung ändern",
"payment": "Zahlung | Zahlungen",
"no_payments": "Keine Zahlungen vorhanden!",
"not_selected": "Nicht ausgewählt",
"no_invoice": "Keine Rechnung",
"no_matching_payments": "Es gibt keine passenden Zahlungen!",
"list_of_payments": "Dieser Abschnitt enthält die Liste der Zahlungen.",
"select_payment_mode": "Wählen Sie den Zahlungsmodus",
@ -462,6 +471,7 @@
"description": "Beschreibung",
"receipt": "Eingang",
"amount": "Summe",
"not_selected": "Nicht ausgewählt",
"action": "Aktion",
"note": "Hinweis",
"category_id": "Kategorie-Id",

View File

@ -178,6 +178,8 @@
"copy_billing_address": "Copy from Billing",
"no_customers": "No customers yet!",
"no_customers_found": "No customers found!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "This section will contain the list of customers.",
"primary_display_name": "Primary Display Name",
"select_currency": "Select currency",
@ -201,6 +203,7 @@
"added_on": "Added On",
"price": "Price",
"date_of_creation": "Date Of Creation",
"not_selected": "No item selected",
"action": "Action",
"add_item": "Add Item",
"save_item": "Save Item",
@ -271,6 +274,7 @@
"required": "Field is required"
},
"accepted": "Accepted",
"rejected": "Rejected",
"sent": "Sent",
"draft": "Draft",
"declined": "Declined",
@ -317,6 +321,9 @@
"all": "All",
"paid": "Paid",
"unpaid": "Unpaid",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CUSTOMER",
"paid_status": "PAID STATUS",
"ref_no": "REF NO.",
@ -435,6 +442,8 @@
"update_payment": "Update Payment",
"payment": "Payment | Payments",
"no_payments": "No payments yet!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "There are no matching payments!",
"list_of_payments": "This section will contain the list of payments.",
"select_payment_mode": "Select payment mode",
@ -464,6 +473,7 @@
"receipt": "Receipt",
"amount": "Amount",
"action": "Action",
"not_selected": "Not selected",
"note": "Note",
"category_id": "Category Id",
"date": "Date",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Copia de facturación",
"no_customers": "¡Aún no hay clientes!",
"no_customers_found": "¡No se encontraron clientes!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Esta sección contendrá la lista de clientes.",
"primary_display_name": "Nombre de visualización principal",
"select_currency": "Seleccione el tipo de moneda",
@ -200,6 +202,7 @@
"added_on": "Añadido",
"price": "Precio",
"date_of_creation": "Fecha de creación",
"not_selected": "No item selected",
"action": "Acción",
"add_item": "Añadir artículo",
"save_item": "Guardar artículo",
@ -270,6 +273,7 @@
"required": "Se requiere campo"
},
"accepted": "Aceptado",
"rejected": "Rejected",
"sent": "Enviado",
"draft": "Borrador",
"declined": "Rechazado",
@ -316,6 +320,9 @@
"all": "Todas",
"paid": "Pagada",
"unpaid": "No pagado",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CLIENTE",
"paid_status": "ESTADO PAGADO",
"ref_no": "NÚMERO DE REFERENCIA.",
@ -434,6 +441,8 @@
"update_payment": "Actualizar pago",
"payment": "Pago | Pagos",
"no_payments": "¡Aún no hay pagos!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "¡No hay pagos equivalentes!",
"list_of_payments": "Esta sección contendrá la lista de pagos.",
"select_payment_mode": "Seleccionar modo de pago",
@ -463,6 +472,7 @@
"receipt": "Recibo",
"amount": "Cantidad",
"action": "Acción",
"not_selected": "Not selected",
"note": "Nota",
"category_id": "Categoria ID",
"date": "Fecha de gastos",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Copier depuis l'adresse de facturation",
"no_customers": "Vous navez pas encore de clients !",
"no_customers_found": "Aucun client !",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Cette section contiendra la liste des clients.",
"primary_display_name": "Nom d'affichage principal",
"select_currency": "Sélectionnez la devise",
@ -200,6 +202,7 @@
"added_on": "Ajouté le",
"price": "Prix",
"date_of_creation": "Date de création",
"not_selected": "No item selected",
"action": "action",
"add_item": "Ajouter un article",
"save_item": "Enregistrer l'article",
@ -270,6 +273,7 @@
"required": "Champ requis"
},
"accepted": "Accepté",
"rejected": "Rejected",
"sent": "Envoyé",
"draft": "Brouillon",
"declined": "Refusé",
@ -316,6 +320,9 @@
"all": "Toutes",
"paid": "Payé",
"unpaid": "Non payé",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CLIENT",
"paid_status": "STATUT DU PAIEMENT",
"ref_no": "Réf.",
@ -434,6 +441,8 @@
"update_payment": "Mettre à jour le paiement",
"payment": "Paiement | Paiements",
"no_payments": "Aucun paiement pour le moment !",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Il n'y a aucun paiement correspondant !",
"list_of_payments": "Cette section contiendra la liste des paiements",
"select_payment_mode": "Sélectionnez le moyen de paiement",
@ -463,6 +472,7 @@
"receipt": "Reçu",
"amount": "Montant",
"action": "action",
"not_selected": "Not selected",
"note": "Remarque",
"category_id": "Identifiant de catégorie",
"date": "Date",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Copy from Billing",
"no_customers": "No customers yet!",
"no_customers_found": "No customers found!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "This section will contain the list of customers.",
"primary_display_name": "Primary Display Name",
"select_currency": "Select currency",
@ -200,6 +202,7 @@
"added_on": "Added On",
"price": "Price",
"date_of_creation": "Date Of Creation",
"not_selected": "No item selected",
"action": "Action",
"add_item": "Add Item",
"save_item": "Save Item",
@ -270,6 +273,7 @@
"required": "Field is required"
},
"accepted": "Accepted",
"rejected": "Rejected",
"sent": "Sent",
"draft": "Draft",
"declined": "Declined",
@ -316,6 +320,9 @@
"all": "All",
"paid": "Paid",
"unpaid": "Unpaid",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CUSTOMER",
"paid_status": "PAID STATUS",
"ref_no": "REF NO.",
@ -434,6 +441,8 @@
"update_payment": "Update Payment",
"payment": "Payment | Payments",
"no_payments": "No payments yet!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "There are no matching payments!",
"list_of_payments": "This section will contain the list of payments.",
"select_payment_mode": "Select payment mode",
@ -463,6 +472,7 @@
"receipt": "Receipt",
"amount": "Amount",
"action": "Action",
"not_selected": "Not selected",
"note": "Note",
"category_id": "Category Id",
"date": "Date",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Copia da Fatturazione",
"no_customers": "Ancora nessun Cliente!",
"no_customers_found": "Nessun cliente trovato!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Qui ci sarà la lista dei tuoi clienti",
"primary_display_name": "Mostra il Nome Principale",
"select_currency": "Selezione Valùta",
@ -200,6 +202,7 @@
"added_on": "Aggiunto il",
"price": "Prezzo",
"date_of_creation": "Data di creazione",
"not_selected": "No item selected",
"action": "Azione",
"add_item": "Aggiungi Commessa",
"save_item": "Salva",
@ -270,6 +273,7 @@
"required": "Campo obbligatorio"
},
"accepted": "Accettato",
"rejected": "Rejected",
"sent": "Inviato",
"draft": "Bozza",
"declined": "Rifiutato",
@ -316,6 +320,9 @@
"all": "Tutti",
"paid": "Pagato",
"unpaid": "Insoluto",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CLIENTE",
"paid_status": "STATO DI PAGAMENTO",
"ref_no": "RIF N.",
@ -434,6 +441,8 @@
"update_payment": "Aggiorna pagamento",
"payment": "Pagamento | Pagamenti",
"no_payments": "Ancora nessun pagamento!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Non ci sono pagamenti!",
"list_of_payments": "Questa sezione conterrà la lista dei pagamenti.",
"select_payment_mode": "Seleziona modalità di pagamento",
@ -463,6 +472,7 @@
"receipt": "Ricevuta",
"amount": "Ammontare",
"action": "Azione",
"not_selected": "Not selected",
"note": "Nota",
"category_id": "Id categoria",
"date": "Data Spesa",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Kopēt no juridiskās adreses",
"no_customers": "Pagaidām nav klientu!",
"no_customers_found": "Klienti netika atrasti!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Šajā sadaļā būs klientu saraksts.",
"primary_display_name": "Klienta nosaukums",
"select_currency": "Izvēlieties valūtu",
@ -200,6 +202,7 @@
"added_on": "Pievienots",
"price": "Cena",
"date_of_creation": "Izveidošanas datums",
"not_selected": "No item selected",
"action": "Darbība",
"add_item": "Pievienot",
"save_item": "Saglabāt",
@ -270,6 +273,7 @@
"required": "Šis lauks ir obligāts"
},
"accepted": "Apstiprināts",
"rejected": "Rejected",
"sent": "Nosūtīts",
"draft": "Melnraksts",
"declined": "Noraidīts",
@ -316,6 +320,9 @@
"all": "Visi",
"paid": "Apmaksāts",
"unpaid": "Neapmaksāts",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "KLIENTS",
"paid_status": "APMAKSAS STATUS",
"ref_no": "REF NR.",
@ -434,6 +441,8 @@
"update_payment": "Labot maksājumu",
"payment": "Maksājums | Maksājumi",
"no_payments": "Nav pievienotu maksājumu!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Netika atrasts neviens maksājums!",
"list_of_payments": "Šajā sadaļā būs maksājumu saraksts.",
"select_payment_mode": "Izvēlēties maksājuma veidu",
@ -463,6 +472,7 @@
"receipt": "Čeks",
"amount": "Summa",
"action": "Darbība",
"not_selected": "Not selected",
"note": "Piezīme",
"category_id": "Kategorijas Id",
"date": "Datums",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Kopiëren van facturering",
"no_customers": "Nog geen klanten!",
"no_customers_found": "Geen klanten gevonden!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Hier vind je jouw klanten terug.",
"primary_display_name": "Primaire weergavenaam",
"select_currency": "Selecteer valuta",
@ -200,6 +202,7 @@
"added_on": "Toegevoegd",
"price": "Prijs",
"date_of_creation": "Datum van creatie",
"not_selected": "No item selected",
"action": "Actie",
"add_item": "Voeg item toe",
"save_item": "Item opslaan",
@ -270,6 +273,7 @@
"required": "Veld is vereist"
},
"accepted": "Geaccepteerd",
"rejected": "Rejected",
"sent": "Verzonden",
"draft": "Concept",
"declined": "Geweigerd",
@ -316,6 +320,9 @@
"all": "Allemaal",
"paid": "Betaald",
"unpaid": "Onbetaald",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "Klant",
"paid_status": "Betaling",
"ref_no": "REF NR.",
@ -434,6 +441,8 @@
"update_payment": "Betaling bijwerken",
"payment": "Betaling | Betalingen",
"no_payments": "Nog geen betalingen!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Er zijn geen overeenkomende betalingen!",
"list_of_payments": "Hier vind je jouw betalingen terug.",
"select_payment_mode": "Selecteer betalingswijze",
@ -463,6 +472,7 @@
"receipt": "Bon",
"amount": "Bedrag",
"action": "Actie",
"not_selected": "Not selected",
"note": "Notitie",
"category_id": "Categorie ID",
"date": "Uitgavendatum",

View File

@ -158,6 +158,8 @@
"copy_billing_address": "Cópia de faturamento",
"no_customers": "Ainda não há clientes!",
"no_customers_found": "Clientes não encontrados!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Esta seção conterá a lista de clientes.",
"primary_display_name": "Nome de exibição principal",
"select_currency": "Selecione o tipo de moeda",
@ -181,6 +183,7 @@
"added_on": "Adicionado",
"price": "Preço",
"date_of_creation": "Data de criação",
"not_selected": "No item selected",
"action": "Ação",
"add_item": "Adicionar item",
"save_item": "Salvar item",
@ -250,6 +253,7 @@
"required": "Campo obrigatório"
},
"accepted": "Aceito",
"rejected": "Rejected",
"sent": "Enviado",
"draft": "Rascunho",
"declined": "Rejeitado",
@ -296,6 +300,9 @@
"all": "Todas",
"paid": "Paga",
"unpaid": "Não Paga",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CLIENTE",
"paid_status": "STATUS PAGAMENTO",
"ref_no": "REFERÊNCIA",
@ -413,6 +420,8 @@
"update_payment": "Atualizar Pagamento",
"payment": "Pagamento | Pagamentos",
"no_payments": "Ainda sem pagamentos!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Não há pagamentos correspondentes!",
"list_of_payments": "Esta seção conterá a lista de pagamentos.",
"select_payment_mode": "Selecione a forma de pagamento",
@ -436,6 +445,7 @@
"receipt": "Receita",
"amount": "Montante",
"action": "Ação",
"not_selected": "Not selected",
"note": "Observação",
"category_id": "Categoria",
"date": "Data da Despesa",

View File

@ -177,6 +177,8 @@
"copy_billing_address": "Cópia de faturamento",
"no_customers": "Ainda não há clientes!",
"no_customers_found": "Clientes não encontrados!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Esta seção conterá a lista de clientes.",
"primary_display_name": "Nome de exibição principal",
"select_currency": "Selecione o tipo de moeda",
@ -200,6 +202,7 @@
"added_on": "Adicionado",
"price": "Preço",
"date_of_creation": "Data de criação",
"not_selected": "No item selected",
"action": "Ação",
"add_item": "Adicionar item",
"save_item": "Salvar item",
@ -270,6 +273,7 @@
"required": "Campo obrigatório"
},
"accepted": "Aceito",
"rejected": "Rejected",
"sent": "Enviado",
"draft": "Rascunho",
"declined": "Rejeitado",
@ -316,6 +320,9 @@
"all": "Todas",
"paid": "Paga",
"unpaid": "Não Paga",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "CLIENTE",
"paid_status": "STATUS PAGAMENTO",
"ref_no": "REFERÊNCIA",
@ -434,6 +441,8 @@
"update_payment": "Atualizar Pagamento",
"payment": "Pagamento | Pagamentos",
"no_payments": "Ainda sem pagamentos!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Não há pagamentos correspondentes!",
"list_of_payments": "Esta seção conterá a lista de pagamentos.",
"select_payment_mode": "Selecione a forma de pagamento",
@ -463,6 +472,7 @@
"receipt": "Receita",
"amount": "Montante",
"action": "Ação",
"not_selected": "Not selected",
"note": "Observação",
"category_id": "Categoria",
"date": "Data da Despesa",

View File

@ -178,6 +178,8 @@
"copy_billing_address": "Kopiraj iz adrese za naplatu",
"no_customers": "Još uvek nema klijenata!",
"no_customers_found": "Klijenti nisu pronađeni!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Ova sekcija će da sadrži spisak klijenata.",
"primary_display_name": "Primarni naziv koji se prikazuje",
"select_currency": "Odaberi valutu",
@ -201,6 +203,7 @@
"added_on": "Datum dodavanja",
"price": "Cena",
"date_of_creation": "Datum kreiranja",
"not_selected": "No item selected",
"action": "Akcije",
"add_item": "Dodaj Stavku",
"save_item": "Sačuvaj Stavku",
@ -271,6 +274,7 @@
"required": "Polje je obavezno"
},
"accepted": "Prihvaćeno",
"rejected": "Rejected",
"sent": "Poslato",
"draft": "U izradi",
"declined": "Odbijeno",
@ -317,6 +321,9 @@
"all": "Sve",
"paid": "Plaćeno",
"unpaid": "Neplaćeno",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "KLIJENT",
"paid_status": "STATUS UPLATE",
"ref_no": "POZIV NA BROJ",
@ -435,6 +442,8 @@
"update_payment": "Ažuriraj Uplatu",
"payment": "Uplata | Uplate",
"no_payments": "Još uvek nema uplata!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Ne postoje uplate koje odgovaraju pretrazi!",
"list_of_payments": "Ova sekcija će da sadrži listu uplata.",
"select_payment_mode": "Odaberi način plaćanja",
@ -464,6 +473,7 @@
"receipt": "Račun",
"amount": "Iznos",
"action": "Akcija",
"not_selected": "Not selected",
"note": "Napomena",
"category_id": "ID kategorije",
"date": "Datum",

View File

@ -178,6 +178,8 @@
"copy_billing_address": "Kopiera från faktura",
"no_customers": "Inga kunder än!",
"no_customers_found": "Hittade inga kunder!",
"no_contact": "No contact",
"no_contact_name": "No contact name",
"list_of_customers": "Här kommer det finnas en lista med kunder.",
"primary_display_name": "Visningsnamn",
"select_currency": "Välj valuta",
@ -201,6 +203,7 @@
"added_on": "Tillagd den",
"price": "Pris",
"date_of_creation": "Skapandedatum",
"not_selected": "No item selected",
"action": "Handling",
"add_item": "Skapa artikel",
"save_item": "Spara artikel",
@ -271,6 +274,7 @@
"required": "Fältet är tvingande"
},
"accepted": "Accepterad",
"rejected": "Rejected",
"sent": "Skickat",
"draft": "Utkast",
"declined": "Avvisad",
@ -317,6 +321,9 @@
"all": "Alla",
"paid": "Betalda",
"unpaid": "Obetalda",
"viewed": "Viewed",
"overdue": "Overdue",
"completed": "Completed",
"customer": "KUNDER",
"paid_status": "BETALSTATUS",
"ref_no": "REF NR.",
@ -435,6 +442,8 @@
"update_payment": "Uppdatera betalning",
"payment": "Betalning | Betalningar",
"no_payments": "Inga betalningar än!",
"not_selected": "Not selected",
"no_invoice": "No invoice",
"no_matching_payments": "Inga matchande betalningar!",
"list_of_payments": "Här kommer listan med betalningar finnas.",
"select_payment_mode": "Välj betalningssätt",
@ -464,6 +473,7 @@
"receipt": "Kvitto",
"amount": "Summa",
"action": "Handling",
"not_selected": "Not selected",
"note": "Notering",
"category_id": "Kategorins ID",
"date": "Datum",

View File

@ -195,7 +195,7 @@
<template slot-scope="row">
<span>{{ $t('customers.contact_name') }}</span>
<span>
{{ row.contact_name ? row.contact_name : 'No Contact Name' }}
{{ row.contact_name ? row.contact_name : $t('customers.no_contact_name') }}
</span>
</template>
</sw-table-column>
@ -208,7 +208,7 @@
<template slot-scope="row">
<span>{{ $t('customers.phone') }}</span>
<span>
{{ row.phone ? row.phone : 'No Contact' }}
{{ row.phone ? row.phone : $t('customers.no_contact') }}
</span>
</template>
</sw-table-column>

View File

@ -65,9 +65,11 @@
:color="$utils.getBadgeStatusColor(row.status).color"
>
{{
row.status != 'PARTIALLY_PAID'
? row.status
: row.status.replace('_', ' ')
$utils.getStatusTranslation(
row.status != 'PARTIALLY_PAID'
? row.status
: row.status.replace('_', ' ')
)
}}
</sw-badge>
</template>

View File

@ -254,7 +254,7 @@
:color="$utils.getBadgeStatusColor(row.status).color"
class="px-3 py-1"
>
{{ row.status }}
{{ $utils.getStatusTranslation(row.status) }}
</sw-badge>
</template>
</sw-table-column>

View File

@ -172,7 +172,7 @@
:color="$utils.getBadgeStatusColor(estimate.status).color"
class="px-1 text-xs"
>
{{ estimate.status }}
{{ $utils.getStatusTranslation(estimate.status) }}
</sw-badge>
</div>

View File

@ -208,7 +208,7 @@
>
<template slot-scope="row">
<span>{{ $t('expenses.customer') }}</span>
<span> {{ row.user_name ? row.user_name : 'Not selected' }} </span>
<span> {{ row.user_name ? row.user_name : $t('expenses.not_selected') }} </span>
</template>
</sw-table-column>

View File

@ -241,7 +241,7 @@
:bg-color="$utils.getBadgeStatusColor(row.status).bgColor"
:color="$utils.getBadgeStatusColor(row.status).color"
>
{{ row.status.replace('_', ' ') }}
{{ $utils.getStatusTranslation(row.status.replace('_', ' ')) }}
</sw-badge>
</template>
</sw-table-column>
@ -258,7 +258,7 @@
:bg-color="$utils.getBadgeStatusColor(row.status).bgColor"
:color="$utils.getBadgeStatusColor(row.status).color"
>
{{ row.paid_status.replace('_', ' ') }}
{{ $utils.getStatusTranslation(row.paid_status.replace('_', ' ')) }}
</sw-badge>
</template>
</sw-table-column>

View File

@ -189,7 +189,7 @@
:font-size="$utils.getBadgeStatusColor(invoice.status).fontSize"
class="px-1 text-xs"
>
{{ invoice.status }}
{{ $utils.getStatusTranslation(invoice.status) }}
</sw-badge>
</div>

View File

@ -189,7 +189,7 @@
<span>{{ $t('items.unit') }}</span>
<span>
{{ row.unit_name ? row.unit_name : 'Not selected' }}
{{ row.unit_name ? row.unit_name : $t('items.not_selected') }}
</span>
</template>
</sw-table-column>

View File

@ -202,7 +202,7 @@
<template slot-scope="row">
<span>{{ $t('payments.payment_mode') }}</span>
<span>
{{ row.payment_mode ? row.payment_mode : 'Not selected' }}
{{ row.payment_mode ? row.payment_mode : $t('payments.not_selected') }}
</span>
</template>
</sw-table-column>
@ -216,7 +216,7 @@
<template slot-scope="row">
<span>{{ $t('invoices.invoice_number') }}</span>
<span>
{{ row.invoice_number ? row.invoice_number : 'No Invoice' }}
{{ row.invoice_number ? row.invoice_number : $t('payments.no_invoice') }}
</span>
</template>
</sw-table-column>