Skip to content

Commit

Permalink
For sake of logic separation i18n is changed to audittrail category
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammaye committed Apr 12, 2015
1 parent 420b486 commit 7a0435d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions AuditTrail.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ public static function getDb() {
public function attributeLabels()
{
return [
'id' => Yii::t('app','ID'),
'old_value' => Yii::t('app','Old Value'),
'new_value' => Yii::t('app','New Value'),
'action' => Yii::t('app','Action'),
'model' => Yii::t('app','Type'),
'field' => Yii::t('app','Field'),
'stamp' => Yii::t('app','Stamp'),
'user_id' => Yii::t('app','User'),
'model_id' => Yii::t('app','ID'),
'id' => Yii::t('audittrail','ID'),
'old_value' => Yii::t('audittrail','Old Value'),
'new_value' => Yii::t('audittrail','New Value'),
'action' => Yii::t('audittrail','Action'),
'model' => Yii::t('audittrail','Type'),
'field' => Yii::t('audittrail','Field'),
'stamp' => Yii::t('audittrail','Stamp'),
'user_id' => Yii::t('audittrail','User'),
'model_id' => Yii::t('audittrail','ID'),
];
}

Expand Down

0 comments on commit 7a0435d

Please sign in to comment.