Translation system: - Add LibreTranslate container (dev + prod), CPU-only, no port exposed, FR/EN/ES/DE/IT - Create app:translate command: reads *.fr.yaml, translates incrementally, preserves placeholders - Makefile: make trans / make trans_prod (stops container after translation) - Ansible: start libretranslate -> translate -> stop during deploy - Prod container restart: "no" (only runs during deploy) - .gitignore: ignore generated *.en/es/de/it.yaml files - 11 tests for TranslateCommand (API unreachable, empty, incremental, obsolete keys, placeholders, fallback) Test coverage improvements: - OrderController: event ended (400), invalid cart JSON, invalid email, stock zero (4 new tests) - AccountController: finance stats all statuses (paid/pending/refunded/cancelled), soldCounts (2 new tests) - JS cart: checkout without error elements, hide error on retry, stock polling edge cases (singular, no label, qty zero, unknown billet) (8 new tests) - JS editor: comment node sanitization (1 new test) - JS tabs: missing panel, generated id, parent null, click no-panel (5 new tests) Code duplication fixes: - MeilisearchConsistencyCommand: extract diffAndReport() method (was duplicated 3x) - Email templates: extract _order_items_table.html.twig partial (shared by notification + cancelled) - SonarQube: exclude src/Entity/** from CPD (getters/setters duplication) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
56 lines
1.0 KiB
Plaintext
56 lines
1.0 KiB
Plaintext
###> symfony/framework-bundle ###
|
|
/.env.local
|
|
/.env.local.php
|
|
/.env.*.local
|
|
/config/secrets/prod/prod.decrypt.private.php
|
|
/public/bundles/
|
|
/var/
|
|
/vendor/
|
|
###< symfony/framework-bundle ###
|
|
|
|
###> phpunit/phpunit ###
|
|
/phpunit.xml
|
|
/.phpunit.cache/
|
|
###< phpunit/phpunit ###
|
|
|
|
/public/build/
|
|
/public/uploads/
|
|
/public/.update
|
|
docker-compose-prod.yml
|
|
docker/pgsql/pgbouncer.ini
|
|
docker/pgsql/userlist.txt
|
|
node_modules/
|
|
.idea/
|
|
/cert/
|
|
/config/cert/private-key.pem
|
|
/public/media/
|
|
/coverage/
|
|
/coverage-clover.xml
|
|
|
|
###> translations (auto-generated, only FR is source) ###
|
|
/translations/*.en.yaml
|
|
/translations/*.es.yaml
|
|
/translations/*.de.yaml
|
|
/translations/*.it.yaml
|
|
###< translations ###
|
|
|
|
###> friendsofphp/php-cs-fixer ###
|
|
/.php-cs-fixer.php
|
|
/.php-cs-fixer.cache
|
|
###< friendsofphp/php-cs-fixer ###
|
|
|
|
###> symfony/asset-mapper ###
|
|
/public/assets/
|
|
/assets/vendor/
|
|
###< symfony/asset-mapper ###
|
|
|
|
###> spomky-labs/pwa-bundle ###
|
|
/public/sw.js
|
|
/public/workbox
|
|
/public/idb
|
|
/public/pwa
|
|
/public/favicon.ico
|
|
/public/site.webmanifest
|
|
/public/site.*.webmanifest
|
|
###< spomky-labs/pwa-bundle ###
|