From 1e9e13853e04f132bc356d086f5d952664201fd8 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Thu, 4 May 2023 09:06:28 +0000 Subject: [PATCH] Update Flex endpoint --- ...9d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe.json | 51 +++++++++++++++++++ symfony.ux-translator.2.7.json | 4 +- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 archived/symfony.ux-translator/3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe.json diff --git a/archived/symfony.ux-translator/3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe.json b/archived/symfony.ux-translator/3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe.json new file mode 100644 index 00000000..f92cc99f --- /dev/null +++ b/archived/symfony.ux-translator/3c29d2e6ff46e9c91cd82c95aea7ba61eb8d7fbe.json @@ -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" + } + } +} diff --git a/symfony.ux-translator.2.7.json b/symfony.ux-translator.2.7.json index 0f80d8f0..f92cc99f 100644 --- a/symfony.ux-translator.2.7.json +++ b/symfony.ux-translator.2.7.json @@ -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" } } }