mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-31 21:51:46 +00:00
change message type: compat for _QQ_, and info for empty values
This commit is contained in:
parent
a7aa53ac31
commit
dcf4801eec
@ -180,7 +180,7 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
|
||||
// Check for empty value
|
||||
if ($value === '""')
|
||||
{
|
||||
$this->report->addWarning($file, JText::_('COM_JEDCHECKER_LANG_TRANSLATION_EMPTY'), $startLineno, $line);
|
||||
$this->report->addInfo($file, JText::_('COM_JEDCHECKER_LANG_TRANSLATION_EMPTY'), $startLineno, $line);
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -196,7 +196,7 @@ class JedcheckerRulesLanguage extends JEDcheckerRule
|
||||
// Check for legacy "_QQ_" code (deprecated since Joomla! 3.9 if favor of escaped double quote \"; removed in Joomla! 4)
|
||||
if (strpos($value, '"_QQ_"') !== false)
|
||||
{
|
||||
$this->report->addInfo($file, JText::_('COM_JEDCHECKER_LANG_QQ_DEPRECATED'), $startLineno, $line);
|
||||
$this->report->addCompat($file, JText::_('COM_JEDCHECKER_LANG_QQ_DEPRECATED'), $startLineno, $line);
|
||||
}
|
||||
|
||||
// Count %... formats in the string
|
||||
|
Loading…
Reference in New Issue
Block a user