From 9eef724650be02fd1a0a6df8353775f4f2db3767 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:12:25 +0200 Subject: [PATCH 1/9] adding weglot/translate-bundle package recipe --- .../0.6/config/packages/weglot_translate.yml | 7 +++++++ weglot/translate-bundle/0.6/manifest.json | 11 +++++++++++ weglot/translate-bundle/0.6/post-install.txt | 12 ++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 weglot/translate-bundle/0.6/config/packages/weglot_translate.yml create mode 100644 weglot/translate-bundle/0.6/manifest.json create mode 100644 weglot/translate-bundle/0.6/post-install.txt diff --git a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml new file mode 100644 index 00000000..48c3a82d --- /dev/null +++ b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml @@ -0,0 +1,7 @@ +weglot_translate: + api_key: '%env(WG_API_KEY)%' + original_language : 'en' + cache: true + destination_languages: + - 'fr' + - 'de' \ No newline at end of file diff --git a/weglot/translate-bundle/0.6/manifest.json b/weglot/translate-bundle/0.6/manifest.json new file mode 100644 index 00000000..afe1830c --- /dev/null +++ b/weglot/translate-bundle/0.6/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "WG_API_KEY": "..." + } +} \ No newline at end of file diff --git a/weglot/translate-bundle/0.6/post-install.txt b/weglot/translate-bundle/0.6/post-install.txt new file mode 100644 index 00000000..3501805f --- /dev/null +++ b/weglot/translate-bundle/0.6/post-install.txt @@ -0,0 +1,12 @@ + + Next: Weglot Configuration + + + * The weglot/translate-bundle uses Weglot service. Create a free + account on https://dashboard.weglot.com/register and modify your WG_API_KEY + config in .env + + * Edit the configuration in config/packages/weglot_translate.yaml + to start translate your website. + +More details: https://github.com/weglot/translate-bundle \ No newline at end of file From f084ffae5910ddb07dbf650cf2ccc91d9658701c Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:15:07 +0200 Subject: [PATCH 2/9] adding newline for yaml config --- .../translate-bundle/0.6/config/packages/weglot_translate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml index 48c3a82d..4546b150 100644 --- a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml +++ b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml @@ -4,4 +4,4 @@ weglot_translate: cache: true destination_languages: - 'fr' - - 'de' \ No newline at end of file + - 'de' From 57d9103e953880c12d02a8685d731f67bce83924 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:15:33 +0200 Subject: [PATCH 3/9] adding newline for manifest --- weglot/translate-bundle/0.6/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weglot/translate-bundle/0.6/manifest.json b/weglot/translate-bundle/0.6/manifest.json index afe1830c..8615530b 100644 --- a/weglot/translate-bundle/0.6/manifest.json +++ b/weglot/translate-bundle/0.6/manifest.json @@ -8,4 +8,4 @@ "env": { "WG_API_KEY": "..." } -} \ No newline at end of file +} From 744db975de7ba0efda47d7ca0d9937ef954f8240 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:16:02 +0200 Subject: [PATCH 4/9] adding newline for post-install.txt --- weglot/translate-bundle/0.6/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weglot/translate-bundle/0.6/post-install.txt b/weglot/translate-bundle/0.6/post-install.txt index 3501805f..086c526a 100644 --- a/weglot/translate-bundle/0.6/post-install.txt +++ b/weglot/translate-bundle/0.6/post-install.txt @@ -9,4 +9,4 @@ * Edit the configuration in config/packages/weglot_translate.yaml to start translate your website. -More details: https://github.com/weglot/translate-bundle \ No newline at end of file +More details: https://github.com/weglot/translate-bundle From bb5fcd702f307ac9b00394d26d0cd834f19dc351 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:16:49 +0200 Subject: [PATCH 5/9] fixing indent for manifest --- weglot/translate-bundle/0.6/manifest.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/weglot/translate-bundle/0.6/manifest.json b/weglot/translate-bundle/0.6/manifest.json index 8615530b..c5c14a13 100644 --- a/weglot/translate-bundle/0.6/manifest.json +++ b/weglot/translate-bundle/0.6/manifest.json @@ -1,11 +1,11 @@ { - "bundles": { - "Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - }, - "env": { - "WG_API_KEY": "..." - } + "bundles": { + "Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "WG_API_KEY": "..." + } } From 51cddc53103bcb7dc5c3b1f6c7c17062b6003e34 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:18:38 +0200 Subject: [PATCH 6/9] adding newline for yaml config --- weglot/translate-bundle/0.6/config/packages/weglot_translate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml index 4546b150..c6b615c9 100644 --- a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml +++ b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml @@ -5,3 +5,4 @@ weglot_translate: destination_languages: - 'fr' - 'de' + From 212724d4de8527eee0915179ae73f42a4336d365 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:19:07 +0200 Subject: [PATCH 7/9] adding newline for post-install.txt --- weglot/translate-bundle/0.6/post-install.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/weglot/translate-bundle/0.6/post-install.txt b/weglot/translate-bundle/0.6/post-install.txt index 086c526a..688dcfe5 100644 --- a/weglot/translate-bundle/0.6/post-install.txt +++ b/weglot/translate-bundle/0.6/post-install.txt @@ -10,3 +10,4 @@ to start translate your website. More details: https://github.com/weglot/translate-bundle + From e194c13d89d90212cb54c711c612b1275b2e8782 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:24:58 +0200 Subject: [PATCH 8/9] adding newline at end of manifest --- weglot/translate-bundle/0.6/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/weglot/translate-bundle/0.6/manifest.json b/weglot/translate-bundle/0.6/manifest.json index c5c14a13..d1ca02cc 100644 --- a/weglot/translate-bundle/0.6/manifest.json +++ b/weglot/translate-bundle/0.6/manifest.json @@ -9,3 +9,4 @@ "WG_API_KEY": "..." } } + From 6f537f5f13a918973b4308268531709311e5452c Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:26:37 +0200 Subject: [PATCH 9/9] moving yaml file --- .../packages/{weglot_translate.yml => weglot_translate.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename weglot/translate-bundle/0.6/config/packages/{weglot_translate.yml => weglot_translate.yaml} (100%) diff --git a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yaml similarity index 100% rename from weglot/translate-bundle/0.6/config/packages/weglot_translate.yml rename to weglot/translate-bundle/0.6/config/packages/weglot_translate.yaml