Fixed error in missing translations example

close #5347
This commit is contained in:
Mehdi Achour
2014-10-04 11:05:10 +01:00
committed by Carsten Brandt
parent 33c3f21964
commit f0879a1d1e

View File

@@ -463,7 +463,7 @@ use yii\i18n\MissingTranslationEvent;
class TranslationEventHandler class TranslationEventHandler
{ {
public static function(MissingTranslationEvent $event) { public static function handleMissingTranslation(MissingTranslationEvent $event) {
$event->translatedMessage = "@MISSING: {$event->category}.{$event->message} FOR LANGUAGE {$event->language} @"; $event->translatedMessage = "@MISSING: {$event->category}.{$event->message} FOR LANGUAGE {$event->language} @";
} }
} }