You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->output->addMessage(Output::NOTICE, '<bg=yellow;options=bold>[Safe Mode]</> Manually run the translation validator to check synonym variables.', $originFile);
625
-
}
626
-
627
-
foreach ($synonymsas$synonym1 => $synonym2)
628
-
{
629
-
if (gettype($synonym1) != 'string' || gettype($synonym2) != 'string')
630
-
{
631
-
$this->output->addMessage(Output::FATAL, 'Must only contain entries of type string => string: ' . serialize($synonym1) . ' => ' . serialize($synonym2), $originFile);
632
-
}
633
-
}
634
-
}
635
-
636
-
/**
637
-
* Validates the search_ignore_words.php file
638
-
*
639
-
* Files must only contain the variable $words.
640
-
* This variable must be an array of string entries.
$this->output->addMessage(Output::NOTICE, '<bg=yellow;options=bold>[Safe Mode]</> Manually run the translation validator to check word variables.', $originFile);
669
-
}
670
-
671
-
foreach ($wordsas$word)
672
-
{
673
-
if (gettype($word) != 'string')
674
-
{
675
-
//@todo use $i
676
-
$this->output->addMessage(Output::FATAL, 'Must only contain entries of type string: ' . serialize($word), $originFile);
0 commit comments