Update Flex endpoint

This commit is contained in:
github-action[bot]
2023-05-04 09:06:28 +00:00
parent ddddfb2497
commit 1e9e13853e
2 changed files with 53 additions and 2 deletions
@@ -0,0 +1,51 @@
{
"manifests": {
"symfony/ux-translator": {
"manifest": {
"bundles": {
"Symfony\\UX\\Translator\\UxTranslatorBundle": [
"all"
]
},
"copy-from-recipe": {
"assets/": "assets/",
"config/": "%CONFIG_DIR%/"
}
},
"files": {
"assets/translator.js": {
"contents": [
"/*",
" * This file is part of the Symfony UX Translator package.",
" *",
" * If folder \"../var/translations\" does not exist, or some translations are missing,",
" * you must warmup your Symfony cache to refresh JavaScript translations.",
" *",
" * If you use TypeScript, you can rename this file to \"translator.ts\" to take advantage of types checking.",
" */",
"",
"import { trans, getLocale, setLocale, setLocaleFallbacks } from '@symfony/ux-translator';",
"import { localeFallbacks } from '../var/translations/configuration';",
"",
"setLocaleFallbacks(localeFallbacks);",
"",
"export { trans };",
"export * from '../var/translations';",
""
],
"executable": false
},
"config/packages/ux_translator.yaml": {
"contents": [
"ux_translator:",
" # The directory where the JavaScript translations are dumped",
" dump_directory: '%kernel.project_dir%/var/translations'",
""
],
"executable": false
}
},
"ref": "3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe"
}
}
}
+2 -2
View File
@@ -3,7 +3,7 @@
"symfony/ux-translator": {
"manifest": {
"bundles": {
"Symfony\\UX\\Translator\\TranslatorBundle": [
"Symfony\\UX\\Translator\\UxTranslatorBundle": [
"all"
]
},
@@ -45,7 +45,7 @@
"executable": false
}
},
"ref": "368d87bd6a1888d83b6b028692cdb09c2097f004"
"ref": "3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe"
}
}
}