You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					36 lines
				
				822 B
			
		
		
			
		
	
	
					36 lines
				
				822 B
			| 
											13 years ago
										 | <?php
 | ||
|  | /**
 | ||
|  |  * MissingTranslationEvent class file.
 | ||
|  |  *
 | ||
|  |  * @link http://www.yiiframework.com/
 | ||
|  |  * @copyright Copyright © 2008 Yii Software LLC
 | ||
|  |  * @license http://www.yiiframework.com/license/
 | ||
|  |  */
 | ||
|  | 
 | ||
|  | namespace yii\i18n;
 | ||
|  | 
 | ||
|  | use yii\base\Event;
 | ||
|  | 
 | ||
|  | /**
 | ||
|  |  * MissingTranslationEvent represents the parameter for the [[MessageSource::missingTranslation]] event.
 | ||
|  |  *
 | ||
|  |  * @author Qiang Xue <qiang.xue@gmail.com>
 | ||
|  |  * @since 2.0
 | ||
|  |  */
 | ||
|  | class MissingTranslationEvent extends Event
 | ||
|  | {
 | ||
|  | 	/**
 | ||
|  | 	 * @var string the message to be translated. An event handler may overwrite this property
 | ||
|  | 	 * with a translated version if possible.
 | ||
|  | 	 */
 | ||
|  | 	public $message;
 | ||
|  | 	/**
 | ||
|  | 	 * @var string the category that the message belongs to
 | ||
|  | 	 */
 | ||
|  | 	public $category;
 | ||
|  | 	/**
 | ||
|  | 	 * @var string the language ID (e.g. en_US) that the message is to be translated to
 | ||
|  | 	 */
 | ||
|  | 	public $language;
 | ||
|  | }
 |