diff --git a/componentbuilderlanguagetabs.php b/componentbuilderlanguagetabs.php
index 4e35066..727a9c1 100644
--- a/componentbuilderlanguagetabs.php
+++ b/componentbuilderlanguagetabs.php
@@ -23,7 +23,7 @@ JLoader::register('ComponentbuilderHelper', JPATH_ADMINISTRATOR . '/components/c
* Content - Componentbuilder Language Tabs plugin.
*
* @package ComponentbuilderLanguageTabs
- * @since 1.0.0
+ * @since 1.0.1
*/
class PlgContentComponentbuilderLanguageTabs extends CMSPlugin
{
diff --git a/componentbuilderlanguagetabs.xml b/componentbuilderlanguagetabs.xml
index 06a83dc..c669f5d 100644
--- a/componentbuilderlanguagetabs.xml
+++ b/componentbuilderlanguagetabs.xml
@@ -7,7 +7,7 @@
This plugin is used to link your components to the language packaging and extending options, so you can set all the required details for the integration.
Created by Llewellyn van der Merwe
Development started 19th March, 2020
This plugin is used to link your components to the language packaging and extending options, so you can set all the required details for the integration.
Created by Llewellyn van der Merwe
Development started 19th March, 2020
Adding all your translations to your component can increase its size dramatically, so now you are able to move each extra language translation to its own installing package, leaving just your main language in the component.
Please note that this is only relevant if you actually have added extra translations to your component in the Language Translations area of JCB.
" diff --git a/language/en-GB/en-GB.plg_content_componentbuilderlanguagetabs.sys.ini b/language/en-GB/en-GB.plg_content_componentbuilderlanguagetabs.sys.ini index c57d59b..eb5ae75 100644 --- a/language/en-GB/en-GB.plg_content_componentbuilderlanguagetabs.sys.ini +++ b/language/en-GB/en-GB.plg_content_componentbuilderlanguagetabs.sys.ini @@ -1,6 +1,6 @@ PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS="Content - Componentbuilder Language Tabs" PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_DESCRIPTION="This plugin is used to link your components to the language packaging and extending options, so you can set all the required details for the integration." -PLG_CONTENT_COMPONENTBUILDERLANGUAGETABS_XML_DESCRIPTION="This plugin is used to link your components to the language packaging and extending options, so you can set all the required details for the integration.
Created by Llewellyn van der Merwe
Development started 19th March, 2020
This plugin is used to link your components to the language packaging and extending options, so you can set all the required details for the integration.
Created by Llewellyn van der Merwe
Development started 19th March, 2020
Adding all your translations to your component can increase its size dramatically, so now you are able to move each extra language translation to its own installing package, leaving just your main language in the component.
Please note that this is only relevant if you actually have added extra translations to your component in the Language Translations area of JCB.
" diff --git a/script.php b/script.php index 4aa9b3e..cb4258b 100644 --- a/script.php +++ b/script.php @@ -43,6 +43,7 @@ class plgContentComponentbuilderLanguageTabsInstallerScript if ('install' === $route) { + // check that componentbuilder is installed $pathToCore = JPATH_ADMINISTRATOR . '/components/com_componentbuilder/helpers/componentbuilder.php'; if (!JFile::exists($pathToCore)) @@ -60,8 +61,8 @@ class plgContentComponentbuilderLanguageTabsInstallerScript { // get the version $jcbVersion = explode('.', $manifest->version); - // check that we have JCB 2.10.13 or higher installed - if (count($jcbVersion) == 3 && (($jcbVersion[0] == 2 && $jcbVersion[1] >= 10 && (($jcbVersion[1] == 10 && $jcbVersion[2] >= 13) || ($jcbVersion[1] > 10))) || $jcbVersion[0] >= 3)) + // check that we have JCB 3 or higher installed + if (count($jcbVersion) == 3 && $jcbVersion[0] >= 3) { $blockInstall = false; } @@ -69,7 +70,7 @@ class plgContentComponentbuilderLanguageTabsInstallerScript // allow install if all conditions are met if ($blockInstall) { - $app->enqueueMessage('Please upgrade to JCB 2.10.13 or higher before installing this plugin.', 'error'); + $app->enqueueMessage('Please upgrade to JCB-Pro v3.0.0 or higher before installing this plugin.', 'error'); return false; } }