diff --git a/administrator/language/en-GB/en-GB.plg_installer_jce.ini b/administrator/language/en-GB/en-GB.plg_installer_jce.ini
index 69a366aa..b0b78a6c 100644
--- a/administrator/language/en-GB/en-GB.plg_installer_jce.ini
+++ b/administrator/language/en-GB/en-GB.plg_installer_jce.ini
@@ -1,9 +1,10 @@
; JCE
-; Copyright (C) 2009 - 2019 Ryan Demmer. All rights reserved.
+; Copyright (C) 2009 - 2024 Ryan Demmer. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
; Note : All ini files need to be saved as UTF-8
PLG_INSTALLER_JCE="Installer - JCE"
PLG_INSTALLER_JCE_XML_DESCRIPTION="JCE Installer Plugin"
PLG_INSTALLER_JCE_KEY_WARNING="JCE Update : You need to set your Subscription Key to update JCE Pro or JCE Plugins. Please see - Using the Subscription Key"
-PLG_INSTALLER_JCE_KEY_INVALID="JCE Update : The Subscription Key you have provided is expired or invalid. Please purchase a new Subscription to continue using this key - Buy or Renew a JCE Subscription
For more information about the Subscription Key, please see - Using the Subscription Key"
\ No newline at end of file
+PLG_INSTALLER_JCE_KEY_INVALID="JCE Update : The Subscription Key you have provided is expired or invalid. Please purchase a new Subscription to continue using this key - Buy or Renew a JCE Subscription
For more information about the Subscription Key, please see - Using the Subscription Key"
+PLG_INSTALLER_JCE_KEY_LIMIT="JCE Update : You have reached the Update Limit for this Subscription Key. Please upgrade to the next Subscription Tier - Buy or Renew a JCE Subscription
For more information about the Subscription Key, please see - Using the Subscription Key"
\ No newline at end of file
diff --git a/administrator/language/en-GB/en-GB.plg_installer_jce.sys.ini b/administrator/language/en-GB/en-GB.plg_installer_jce.sys.ini
index b06f079f..61756df9 100644
--- a/administrator/language/en-GB/en-GB.plg_installer_jce.sys.ini
+++ b/administrator/language/en-GB/en-GB.plg_installer_jce.sys.ini
@@ -1,5 +1,5 @@
; JCE
-; Copyright (C) 2009 - 2016 Ryan Demmer. All rights reserved.
+; Copyright (C) 2009 - 2024 Ryan Demmer. All rights reserved.
; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php
; Note : All ini files need to be saved as UTF-8
diff --git a/plugins/installer/jce/src/PluginTraits/EventsTrait.php b/plugins/installer/jce/src/PluginTraits/EventsTrait.php
index c4088ee4..6ae094dd 100644
--- a/plugins/installer/jce/src/PluginTraits/EventsTrait.php
+++ b/plugins/installer/jce/src/PluginTraits/EventsTrait.php
@@ -123,8 +123,8 @@ public function onInstallerBeforePackageDownload(&$url, &$headers)
}
// update limit exceeded
- if (429 == $response->code || 499 === $response->code) {
- $app->enqueueMessage(Text::_('PLG_INSTALLER_JCE_KEY_INVALID'), 'notice');
+ if (498 === $response->code) {
+ $app->enqueueMessage(Text::_('PLG_INSTALLER_JCE_KEY_LIMIT'), 'notice');
}
return true;