Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,3 @@ MAILER_DSN=smtp://localhost
# for Docker:
# MAILER_DSN=smtp://mailcatcher:1025
###< symfony/mailer ###

###> php-translation/loco-adapter ###
LOCO_PROJECT_API_KEY=
###< php-translation/loco-adapter ###
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
"php-http/discovery": "^1.14",
"php-http/httplug-bundle": "^1.19",
"php-http/message": "^1.12",
"php-translation/loco-adapter": "^0.11",
"phpstan/phpstan": "^1.2.0",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-symfony": "^1.0.1",
Expand Down
1 change: 0 additions & 1 deletion config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true],
Translation\Bundle\TranslationBundle::class => ['all' => true],
Translation\PlatformAdapter\Loco\Bridge\Symfony\TranslationAdapterLocoBundle::class => ['dev' => true, 'local' => true],
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
];
11 changes: 0 additions & 11 deletions config/packages/dev/translation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,3 @@
translation:
symfony_profiler:
enabled: true
configs:
bolt:
remote_storage: ["php_translation.adapter.loco"]

# php_translation_adapter_loco_adapter
translation_adapter_loco:
index_parameter: 'id' # 'text' or 'name'. Leave blank for "auto" See https://localise.biz/api/docs/export/exportlocale
projects:
bolt:
api_key: '%env(LOCO_PROJECT_API_KEY)%'
domains: ['messages']
5 changes: 0 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
<!-- ###+ nelmio/cors-bundle ### -->
<env name="CORS_ALLOW_ORIGIN" value="^https?://localhost(:[0-9]+)?$"/>
<!-- ###- nelmio/cors-bundle ### -->

<!-- ###+ php-translation/loco-adapter ### -->
<env name="LOCO_PROJECT_API_KEY" value=""/>
<!-- ###- php-translation/loco-adapter ### -->

<!-- ###+ symfony/mailer ### -->
<!-- MAILER_DSN=smtp://localhost -->
<!-- ###- symfony/mailer ### -->
Expand Down
18 changes: 0 additions & 18 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@
"fakerphp/faker": {
"version": "v1.10.1"
},
"friendsofapi/localise.biz": {
"version": "1.0.1"
},
"friendsofphp/proxy-manager-lts": {
"version": "v1.0.3"
},
Expand Down Expand Up @@ -332,9 +329,6 @@
"php-http/message-factory": {
"version": "v1.0.2"
},
"php-http/multipart-stream-builder": {
"version": "1.1.0"
},
"php-http/promise": {
"version": "v1.0.0"
},
Expand All @@ -347,18 +341,6 @@
"php-translation/extractor": {
"version": "2.0.1"
},
"php-translation/loco-adapter": {
"version": "0.8",
"recipe": {
"repo": "github.com/symfony/recipes-contrib",
"branch": "master",
"version": "0.8",
"ref": "c97545d1c229338606d881294eceeb4cdc993777"
},
"files": [
"config/packages/php_translation_loco_adapter.yaml"
]
},
"php-translation/symfony-bundle": {
"version": "0.10",
"recipe": {
Expand Down