mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-19 16:49:34 +00:00
* Initial plan * Create frontend translation files and update configuration Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Fix missing semicolon in password strength controller Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> * Remove frontend-only translations from messages domain and set frontend as default domain Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
12 lines
515 B
YAML
12 lines
515 B
YAML
ux_translator:
|
|
# The directory where the JavaScript translations are dumped
|
|
dump_directory: '%kernel.project_dir%/var/translations'
|
|
# Only include the frontend translation domain in the JavaScript bundle
|
|
domains:
|
|
- 'frontend'
|
|
|
|
when@prod:
|
|
ux_translator:
|
|
# Control whether TypeScript types are dumped alongside translations.
|
|
# Disable this if you do not use TypeScript (e.g. in production when using AssetMapper), to speed up cache warmup.
|
|
# dump_typescript: false
|