diff --git a/RECIPES.md b/RECIPES.md index 66e8a410..b37764e3 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -513,6 +513,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [piou-piou/ribs-cron-bundle](https://packagist.org/packages/piou-piou/ribs-cron-bundle) | [1.0](piou-piou/ribs-cron-bundle/1.0) | | [pixelopen/cloudflare-turnstile-bundle](https://packagist.org/packages/pixelopen/cloudflare-turnstile-bundle) | [0.1](pixelopen/cloudflare-turnstile-bundle/0.1) | | [player259/graphql-bundle](https://packagist.org/packages/player259/graphql-bundle) | [1.0](player259/graphql-bundle/1.0) | +| [pms-nz/object-translation-bundle](https://packagist.org/packages/pms-nz/object-translation-bundle) | [1.0](pms-nz/object-translation-bundle/1.0) | | [pomm-project/pomm-bundle](https://packagist.org/packages/pomm-project/pomm-bundle) | [2.3](pomm-project/pomm-bundle/2.3) | | [pond5/async-request-bundle](https://packagist.org/packages/pond5/async-request-bundle) | [1.1](pond5/async-request-bundle/1.1) | | [prolix/maintenance-bundle](https://packagist.org/packages/prolix/maintenance-bundle) | [2.1](prolix/maintenance-bundle/2.1) | diff --git a/archived/pms-nz.object-translation-bundle/0d68dfba0fc71901e9d5b95606f1de038300a64f.json b/archived/pms-nz.object-translation-bundle/0d68dfba0fc71901e9d5b95606f1de038300a64f.json new file mode 100644 index 00000000..9d75b238 --- /dev/null +++ b/archived/pms-nz.object-translation-bundle/0d68dfba0fc71901e9d5b95606f1de038300a64f.json @@ -0,0 +1,41 @@ +{ + "manifests": { + "pms-nz/object-translation-bundle": { + "manifest": { + "bundles": { + "PmsNz\\ObjectTranslationBundle\\ObjectTranslationBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + "* You're almost ready to use pms-nz/object-translation-bundle!", + "", + "* First, use the console command make:entity create a new entity which where your translations will be stored, e.g. Translation.", + "", + "* Next, extend this class with PmsNz\\ObjectTranslationBundle\\Model\\AbstractTranslation.", + "", + "* Next, use the console commands make:migration and doctrine:migrations:migrate to create a table in your database where translation will be stored.", + "", + "* Next,", + "* Read the documentation at https://github.com/pms-nz/object-translation-bundle" + ] + }, + "files": { + "config/packages/pmsnz_object_translation.yaml": { + "contents": [ + "pms-nz_object_translation:", + " # Change the following class name to that of your entity which stores your translations", + " translation_class: App\\Entity\\Translation", + "", + "" + ], + "executable": false + } + }, + "ref": "0d68dfba0fc71901e9d5b95606f1de038300a64f" + } + } +} diff --git a/index.json b/index.json index 39fde184..7b3054ee 100644 --- a/index.json +++ b/index.json @@ -1640,6 +1640,9 @@ "player259/graphql-bundle": [ "1.0" ], + "pms-nz/object-translation-bundle": [ + "1.0" + ], "pomm-project/pomm-bundle": [ "2.3" ], diff --git a/pms-nz.object-translation-bundle.1.0.json b/pms-nz.object-translation-bundle.1.0.json new file mode 100644 index 00000000..9d75b238 --- /dev/null +++ b/pms-nz.object-translation-bundle.1.0.json @@ -0,0 +1,41 @@ +{ + "manifests": { + "pms-nz/object-translation-bundle": { + "manifest": { + "bundles": { + "PmsNz\\ObjectTranslationBundle\\ObjectTranslationBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + "* You're almost ready to use pms-nz/object-translation-bundle!", + "", + "* First, use the console command make:entity create a new entity which where your translations will be stored, e.g. Translation.", + "", + "* Next, extend this class with PmsNz\\ObjectTranslationBundle\\Model\\AbstractTranslation.", + "", + "* Next, use the console commands make:migration and doctrine:migrations:migrate to create a table in your database where translation will be stored.", + "", + "* Next,", + "* Read the documentation at https://github.com/pms-nz/object-translation-bundle" + ] + }, + "files": { + "config/packages/pmsnz_object_translation.yaml": { + "contents": [ + "pms-nz_object_translation:", + " # Change the following class name to that of your entity which stores your translations", + " translation_class: App\\Entity\\Translation", + "", + "" + ], + "executable": false + } + }, + "ref": "0d68dfba0fc71901e9d5b95606f1de038300a64f" + } + } +}