-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
476 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
<?php | ||
|
||
// config for Hyperlinkgroup/Linguist | ||
return [ | ||
/* | ||
|-------------------------------------------------------------------------- | ||
| Linguist API URL | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
'url' => env('LINGUIST_URL', 'https://api.linguist.eu/'), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Linguist Project Slug | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
'project' => env('LINGUIST_PROJECT', ''), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Linguist API Token | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
'token' => env('LINGUIST_TOKEN', ''), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Temporary Directory for Translations while processing | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
'temporary_directory' => 'tmp/translations', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace Hyperlinkgroup\Linguist\Exceptions; | ||
|
||
use Exception; | ||
|
||
class ConfigBrokenException extends Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace Hyperlinkgroup\Linguist\Exceptions; | ||
|
||
use Exception; | ||
|
||
class DirectoryCreationException extends Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
namespace Hyperlinkgroup\Linguist\Exceptions; | ||
|
||
use Exception; | ||
|
||
class NoLanguageActivatedException extends Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.