Feature: multi language (VI, EN, JA)

CR: sonh (fake)
This commit is contained in:
2021-08-23 15:19:49 +07:00
parent 7057e5b35c
commit eb88996797
37 changed files with 788 additions and 327 deletions

View File

@@ -40,15 +40,15 @@ class CaptureLogs extends \yii\db\ActiveRecord {
*/
public function attributeLabels() {
return [
'id' => 'ID',
'time' => 'Thời gian',
'image' => 'Hình ảnh',
'status' => 'Status',
'remark' => 'Remark',
'staff_name' => "Name",
'staff_image' => "Hình ảnh đăng kí",
'confidence' => 'Độ tin cậy',
'sync_status' => 'Trạng thái đồng bộ'
'id' => Yii::t("app", "ID"),
'time' => Yii::t("app", "THOI_GIAN"),
'image' => Yii::t("app", "HINH_ANH"),
'status' => Yii::t("app", "TRANG_THAI"),
'remark' => Yii::t("app", "REMARK"),
'staff_name' => Yii::t("app", "TEN"),
'staff_image' => Yii::t("app", "HINH_ANH_DANG_KI"),
'confidence' => Yii::t("app", "DO_TIN_CAY"),
'sync_status' => Yii::t("app", "TRANG_THAI_DONG_BO")
];
}