Commit f0879a1d by Mehdi Achour Committed by Carsten Brandt

Fixed error in missing translations example

close #5347
parent 33c3f219
...@@ -463,7 +463,7 @@ use yii\i18n\MissingTranslationEvent; ...@@ -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} @";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment