Skip to content

Commit d693057

Browse files
authored
Bugfix with service names (#381)
1 parent aa65cf3 commit d693057

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Resources/config/auto_translation.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@ services:
44
decorates: 'translator'
55
decoration_priority: 10
66
arguments:
7-
- "%php_translation.default_locale%"
8-
- "@php_translator.fallback_translator.inner"
9-
- "@php_translation.translator_service.external_translator"
7+
- '%php_translation.default_locale%'
8+
- '@Translation\Bundle\Translator\FallbackTranslator.inner'
9+
- '@php_translation.translator_service.external_translator'
1010

1111
php_translation.translator_service.external_translator:
1212
class: Translation\Translator\Translator
1313
arguments: []
1414
calls:
15-
- [ 'setLogger', ["@?logger"]]
15+
- [ 'setLogger', ['@?logger']]
1616

1717
# ----- Services ------
1818
php_translation.translator_service.google:
1919
class: Translation\Translator\Service\GoogleTranslator
20-
arguments: ["%php_translation.translator_service.api_key%"]
20+
arguments: ['%php_translation.translator_service.api_key%']
2121

2222
php_translation.translator_service.yandex:
2323
class: Translation\Translator\Service\YandexTranslator
24-
arguments: ["%php_translation.translator_service.api_key%"]
24+
arguments: ['%php_translation.translator_service.api_key%']
2525

2626
php_translation.translator_service.bing:
2727
class: Translation\Translator\Service\BingTranslator
28-
arguments: ["%php_translation.translator_service.api_key%"]
28+
arguments: ['%php_translation.translator_service.api_key%']

0 commit comments

Comments
 (0)