Skip to content

Commit

Permalink
Fixed error in missing translations example
Browse files Browse the repository at this point in the history
  • Loading branch information
machour authored and cebe committed Oct 4, 2014
1 parent 33c3f21 commit f0879a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/tutorial-i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ use yii\i18n\MissingTranslationEvent;

class TranslationEventHandler
{
public static function(MissingTranslationEvent $event) {
public static function handleMissingTranslation(MissingTranslationEvent $event) {
$event->translatedMessage = "@MISSING: {$event->category}.{$event->message} FOR LANGUAGE {$event->language} @";
}
}
Expand Down

0 comments on commit f0879a1

Please sign in to comment.