Skip to content

Commit

Permalink
Merge pull request #1 from Transl-me/feature/initial_release_updates
Browse files Browse the repository at this point in the history
Initial release updates
  • Loading branch information
VicGUTT authored Oct 27, 2024
2 parents 702283d + f383363 commit 743e313
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[![GitHub Tests Action Status](https://github.com/transl-me/laravel-transl/actions/workflows/run-tests.yml/badge.svg)](https://github.com/transl-me/laravel-transl/actions/workflows/run-tests.yml)
[![GitHub PHPStan Action Status](https://github.com/transl-me/laravel-transl/actions/workflows/phpstan.yml/badge.svg)](https://github.com/transl-me/laravel-transl/actions/workflows/phpstan.yml)
[![GitHub Code Style Action Status](https://github.com/transl-me/laravel-transl/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/transl-me/laravel-transl/actions/workflows/fix-php-code-style-issues.yml)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/transl-me/laravel-transl.svg?style=flat-square)](https://packagist.org/packages/transl-me/laravel-transl)
[![Total Downloads](https://img.shields.io/packagist/dt/transl-me/laravel-transl.svg?style=flat-square)](https://packagist.org/packages/transl-me/laravel-transl)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/transl-me/laravel-transl.svg)](https://packagist.org/packages/transl-me/laravel-transl)
[![Total Downloads](https://img.shields.io/packagist/dt/transl-me/laravel-transl.svg)](https://packagist.org/packages/transl-me/laravel-transl)

---

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"translation",
"translation manager"
],
"homepage": "https://github.com/transl-me/laravel-transl",
"homepage": "https://transl.me",
"authors": [
{
"name": "Victor GUTT",
Expand Down
12 changes: 8 additions & 4 deletions config/transl.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
* This value should be unique per team members/bots.
* This value should be created/retrieved/refreshed from Transl.
*/
'auth_key' => env('TRANSL_KEY'),
'auth_key' => env('TRANSL_KEY', 'Empty `TRANSL_KEY` environnement variable.'),

/**
* A user friendly name given to the project.
Expand Down Expand Up @@ -129,9 +129,13 @@
* list of possible params and their description.
*/
LocalFilesDriver::class => [
'language_directories' => [
lang_path(),
],
'language_directories' => array_filter([
/**
* Ensure the language directory is first published
* with: `php artisan lang:publish`.
*/
file_exists(lang_path()) ? lang_path() : '',
]),
],
],
],
Expand Down

0 comments on commit 743e313

Please sign in to comment.