Skip to content

Commit bdca190

Browse files
author
Michael Babker
committed
Add a warning for the 4.0 branch
1 parent 59c8897 commit bdca190

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

administrator/components/com_patchtester/PatchTester/View/Pulls/PullsHtmlView.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ public function render()
9393
// Make text strings available in the JavaScript API
9494
\JText::script('COM_PATCHTESTER_CONFIRM_RESET');
9595

96+
// Set a warning on 4.0 branch
97+
if (version_compare(JVERSION, '4.0', 'ge'))
98+
{
99+
\JFactory::getApplication()->enqueueMessage(\JText::_('COM_PATCHTESTER_40_WARNING'), 'warning');
100+
}
101+
96102
return parent::render();
97103
}
98104

administrator/components/com_patchtester/language/en-GB/en-GB.com_patchtester.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
; Note : All ini files need to be saved as UTF-8
55

66
COM_PATCHTESTER="Joomla! Patch Tester"
7+
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."
78
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"
89
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"
910
COM_PATCHTESTER_APPLIED="Applied"

0 commit comments

Comments
 (0)