From 255f8baaa91efcf7dfe8b27bcaaa11ebb8286729 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 9 Jun 2017 17:34:57 +0300 Subject: [PATCH] Fix typos --- app/Ninja/Repositories/InvoiceRepository.php | 2 +- resources/lang/en/validation.php | 2 +- resources/lang/en_UK/validation.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Ninja/Repositories/InvoiceRepository.php b/app/Ninja/Repositories/InvoiceRepository.php index 3e771fc9b14f..28c80a029b38 100644 --- a/app/Ninja/Repositories/InvoiceRepository.php +++ b/app/Ninja/Repositories/InvoiceRepository.php @@ -723,7 +723,7 @@ class InvoiceRepository extends BaseRepository } } - // if no contacts are selected auto-select the first to enusre there's an invitation + // if no contacts are selected auto-select the first to ensure there's an invitation if (! count($sendInvoiceIds)) { $sendInvoiceIds[] = $client->contacts[0]->id; } diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index 37ffbfc56488..59f06ad7668a 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -73,7 +73,7 @@ return array( "has_credit" => "The client does not have enough credit.", "notmasked" => "The values are masked", "less_than" => "The :attribute must be less than :value", - "has_counter" => "To enusre all invoice numbers are unique the pattern needs to contain either {\$counter} or {\$clientIdNumber} and {\$clientCounter}", + "has_counter" => "To ensure all invoice numbers are unique the pattern needs to contain either {\$counter} or {\$clientIdNumber} and {\$clientCounter}", "valid_contacts" => "The contact must have either an email or name", "valid_invoice_items" => "The invoice exceeds the maximum amount", "valid_subdomain" => "The subdomain is restricted", diff --git a/resources/lang/en_UK/validation.php b/resources/lang/en_UK/validation.php index 37ffbfc56488..59f06ad7668a 100644 --- a/resources/lang/en_UK/validation.php +++ b/resources/lang/en_UK/validation.php @@ -73,7 +73,7 @@ return array( "has_credit" => "The client does not have enough credit.", "notmasked" => "The values are masked", "less_than" => "The :attribute must be less than :value", - "has_counter" => "To enusre all invoice numbers are unique the pattern needs to contain either {\$counter} or {\$clientIdNumber} and {\$clientCounter}", + "has_counter" => "To ensure all invoice numbers are unique the pattern needs to contain either {\$counter} or {\$clientIdNumber} and {\$clientCounter}", "valid_contacts" => "The contact must have either an email or name", "valid_invoice_items" => "The invoice exceeds the maximum amount", "valid_subdomain" => "The subdomain is restricted",