mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-23 18:18:21 +08:00
committed by
Carsten Brandt
parent
33c3f21964
commit
f0879a1d1e
@@ -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} @";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user