mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-12-23 03:19:00 +00:00
Add a warning for the 4.0 branch
This commit is contained in:
parent
59c88977b0
commit
bdca1903a5
@ -93,6 +93,12 @@ class PullsHtmlView extends DefaultHtmlView
|
||||
// Make text strings available in the JavaScript API
|
||||
\JText::script('COM_PATCHTESTER_CONFIRM_RESET');
|
||||
|
||||
// Set a warning on 4.0 branch
|
||||
if (version_compare(JVERSION, '4.0', 'ge'))
|
||||
{
|
||||
\JFactory::getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_40_WARNING'), 'warning');
|
||||
}
|
||||
|
||||
return parent::render();
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
; Note : All ini files need to be saved as UTF-8
|
||||
|
||||
COM_PATCHTESTER="Joomla! Patch Tester"
|
||||
COM_PATCHTESTER_40_WARNING="While Joomla! 4.0 is in development, using the patch tester is considered experimental since breaking changes may be merged into Joomla, including the code contained in a patch."
|
||||
COM_PATCHTESTER_API_LIMIT_ACTION="The GitHub API rate limit has been reached for this resource, could not connect to GitHub to perform the requested action. The rate limit will reset at %s"
|
||||
COM_PATCHTESTER_API_LIMIT_LIST="The GitHub API rate limit has been reached for this resource, could not connect to GitHub for updated data. The rate limit will reset at %s"
|
||||
COM_PATCHTESTER_APPLIED="Applied"
|
||||
|
Loading…
Reference in New Issue
Block a user