Allow overriding the default locale in .env file

This commit is contained in:
David Bomba 2022-12-05 12:42:32 +11:00
parent 7c57c91f89
commit 4739277b47
3 changed files with 5 additions and 5 deletions

View File

@ -190,7 +190,7 @@ class Import implements ShouldQueue
public function middleware()
{
return [new WithoutOverlapping($this->company->company_key)];
return [new WithoutOverlapping("only_one_migration_at_a_time_ever")];
}
/**

View File

@ -81,7 +81,7 @@ return [
|
*/
'locale' => 'en',
'locale' => env('DEFAULT_LOCALE', 'en'),
/*
|--------------------------------------------------------------------------

View File

@ -4566,9 +4566,9 @@ $LANG = array(
'invalid_time' => 'Invalid Time',
'signed_in_as' => 'Signed in as',
'total_results' => 'Total results',
'restore_company_gateway' => 'Restore payment gateway',
'archive_company_gateway' => 'Archive payment gateway',
'delete_company_gateway' => 'Delete payment gateway',
'restore_company_gateway' => 'Restore gateway',
'archive_company_gateway' => 'Archive gateway',
'delete_company_gateway' => 'Delete gateway',
'exchange_currency' => 'Exchange currency',
'tax_amount1' => 'Tax Amount 1',
'tax_amount2' => 'Tax Amount 2',