/** * @inheritdoc */ public function attributeLabels() { $labels = parent::attributeLabels(); return array_merge($labels, ['password' => 'Password', 'repassword' => 'Confirm Password', 'oldpassword' => 'Old Password', 'file' => 'Profile Picture']); }
/** * @inheritdoc */ public function attributeLabels() { $labels = parent::attributeLabels(); return array_merge($labels, ['password' => "新密码", 'repassword' => "确认密码", 'oldpassword' => "老密码"]); }