Skip to content

Commit

Permalink
add Laravel v9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
blessingdube committed Mar 11, 2022
1 parent f0cdcfd commit 6313d6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"require": {
"php": "^7.2|^8.0",
"google/cloud": "^0.172.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"oss-tools/laravel-langman": "^1.4",
"oss-tools/laravel-libretranslate": "^0.1.3",
"oss-tools/laravel-libretranslate": "^0.1.4",
"scn/deepl-api-connector": "^2",
"stichoza/google-translate-php": "^4.1.5"
},
Expand Down
1 change: 0 additions & 1 deletion src/Commands/AllCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public function handle()
$foundLanguages = count($targetLanguages);
$this->line('Found '.$foundLanguages.' '.Str::plural('language', $foundLanguages).' to translate');

$availableTranslations = 0;
$sourceTranslations = $this->autoTranslator->getSourceTranslations();
$availableTranslations = count($dottedTranslations = Arr::dot($sourceTranslations)) * count($targetLanguages);

Expand Down

0 comments on commit 6313d6c

Please sign in to comment.