private function getVariants($catalogue = 'messages')
{
if ($catalogue === null) {
$catalogue = 'messages';
}
foreach ($this->getCatalogueList($catalogue) as $variant) {
$file = $this->getSource($variant);
$po = $this->getPOFile($file);
if (is_file($file) || is_file($po)) {
return array($variant, $file, $po);
}
}
return false;
}