Skip to content

Commit

Permalink
Remove integration with yandex translate API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Nikolaev committed Sep 4, 2020
1 parent e07ba42 commit 15b7865
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,5 @@ $ /usr/bin/env php bin/console darvin:utils:translations:title-case <pathname>
7.3.7: Change temporary files directory from "/tmp" to "%kernel.project_dir%/var/tmp".

7.3.8: Add HTTP cache clear command.

7.3.9: Remove integration with yandex translate API.
1 change: 0 additions & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public function getConfigTreeBuilder(): TreeBuilder
->children()
->append($this->buildOverrideNode())
->scalarNode('tmp_dir')->defaultValue('%kernel.project_dir%/var/tmp/darvin/utils')->cannotBeEmpty()->end()
->scalarNode('yandex_translate_api_key')->defaultNull()->end()
->arrayNode('cache')->addDefaultsIfNotSet()
->children()
->arrayNode('http')->canBeEnabled()
Expand Down
1 change: 0 additions & 1 deletion Resources/config/services/dev/translation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ services:
class: '%darvin_utils.translation.translate_command.class%'
arguments:
- '%darvin_utils.translation.translate_command.name%'
- '%darvin_utils.yandex_translate_api_key%'
tags:
- { name: console.command }

0 comments on commit 15b7865

Please sign in to comment.