Edit -> It’s version 1.0.10 but I can’t edit the title
Hi,
I am using the new feature Yii:t("moduleID.source","text") to translate messages of my modules.
According to the documentation the sources should be in module/messages directory
But CPhpMessageSource never finds them.
instead of looking for the module class (moduleIDModule.php) to determine the basePath it looks for moduleID.php
I think that
<?php
protected function getMessageFile($category,$language){
...
$moduleClass=substr($category,0,$pos);
...
}
?>
should be
<?php
protected function getMessageFile($category,$language){
...
$moduleClass=substr($category,0,$pos)."Module";
...
}
?>