feat:修复锁详情页面报错,简化翻译单词

This commit is contained in:
anfe 2024-06-18 15:49:59 +08:00
parent 62c7ea2892
commit 55ca41e8b4
5 changed files with 18 additions and 15 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -2,14 +2,14 @@
"starLock": "Star Lock", "starLock": "Star Lock",
"lockThrough": "Lock Through", "lockThrough": "Lock Through",
"clickUnlockAndHoldDownClose": "Click To Unlock And Hold Down to Close", "clickUnlockAndHoldDownClose": "Click To Unlock And Hold Down to Close",
"checkingIn": "Checking In", "checkingIn": "CheckIn",
"electronicKey": "Electronic Key", "electronicKey": "KeyCard",
"password": "Password", "password": "Password",
"card": "Card", "card": "Card",
"fingerprint": "Fingerprint", "fingerprint": "Finger",
"remoteControl": "RemoteControl", "remoteControl": "RemCtrl",
"face": "face", "face": "face",
"operatingRecord": "Operating Record", "operatingRecord": "OpLog",
"doorLockLog": "Door lock log", "doorLockLog": "Door lock log",
"number": "Number", "number": "Number",
"additive": "Additive", "additive": "Additive",
@ -217,7 +217,7 @@
"aboutToExpire": "About to expire", "aboutToExpire": "About to expire",
"deAuthorize": "de-authorize", "deAuthorize": "de-authorize",
"changeName": "Change name", "changeName": "Change name",
"authorizedAdmin": "Authorized Admin", "authorizedAdmin": "Admin",
"addAuthorizedAdmin": "Adding an Authorized Administrator", "addAuthorizedAdmin": "Adding an Authorized Administrator",
"lockGroup": "Lock Group", "lockGroup": "Lock Group",
"transferSmartLock": "Transfer Smart Lock", "transferSmartLock": "Transfer Smart Lock",
@ -407,10 +407,10 @@
"getFingerprint": "Get Fingerprint", "getFingerprint": "Get Fingerprint",
"safeVerify": "Security verification", "safeVerify": "Security verification",
"deleteAccountTips": "After deleting the account, all your information and related records will be completely deleted from the platform, and can not be recovered, delete or not", "deleteAccountTips": "After deleting the account, all your information and related records will be completely deleted from the platform, and can not be recovered, delete or not",
"humanFace": "Human Face", "humanFace": "HmFace",
"monitoring": "Monitoring", "monitoring": "Monitoring",
"videoLog": "Video Log", "videoLog": "Video Log",
"messageReminding": "Message Reminding", "messageReminding": "Notice",
"superAdmin": "Super Admin", "superAdmin": "Super Admin",
"normalUser": "Normal User", "normalUser": "Normal User",
"gatewayDevice": "Gateway Device", "gatewayDevice": "Gateway Device",
@ -454,7 +454,7 @@
"videoSlot": "Video slot", "videoSlot": "Video slot",
"密码": "Password", "密码": "Password",
"卡": "Card", "卡": "Card",
"指纹": "Fingerprint", "指纹": "Finger",
"人脸": "Face", "人脸": "Face",
"配件商城": "Lock Mall", "配件商城": "Lock Mall",
"公司名称": "Company Name", "公司名称": "Company Name",
@ -487,7 +487,7 @@
"钥匙将在": "The key will be in", "钥匙将在": "The key will be in",
"天后失效": "Days later invalid", "天后失效": "Days later invalid",
"电量更新时间:": "Power update time:", "电量更新时间:": "Power update time:",
"新增配件": "Add accessories", "新增配件": "Add",
"请在锁旁边完成第一次开锁": "Please complete the first unlock next to the lock", "请在锁旁边完成第一次开锁": "Please complete the first unlock next to the lock",
"正在开锁中...": "Unlocking...", "正在开锁中...": "Unlocking...",
"你的钥匙": "Your key", "你的钥匙": "Your key",
@ -906,5 +906,6 @@
"转移成功": "Transfer success", "转移成功": "Transfer success",
"该已锁被删除": "The locked is deleted", "该已锁被删除": "The locked is deleted",
"授权管理员只能查看和管理自己下发的钥匙、密码等权限": "Authorized administrators can only view and manage the keys, passwords, etc. they issued", "授权管理员只能查看和管理自己下发的钥匙、密码等权限": "Authorized administrators can only view and manage the keys, passwords, etc. they issued",
"添加授权管理员": "Add authorized administrator" "添加授权管理员": "Add authorized administrator",
"手机需联网":"NeedNet"
} }

View File

@ -938,5 +938,6 @@
"转移成功": "转移成功", "转移成功": "转移成功",
"该已锁被删除": "该已锁被删除", "该已锁被删除": "该已锁被删除",
"授权管理员只能查看和管理自己下发的钥匙、密码等权限": "授权管理员只能查看和管理自己下发的钥匙、密码等权限", "授权管理员只能查看和管理自己下发的钥匙、密码等权限": "授权管理员只能查看和管理自己下发的钥匙、密码等权限",
"添加授权管理员": "添加授权管理员" "添加授权管理员": "添加授权管理员",
"手机需联网":"Network Required"
} }

View File

@ -903,5 +903,6 @@
"转移成功": "转移成功", "转移成功": "转移成功",
"该已锁被删除": "该已锁被删除", "该已锁被删除": "该已锁被删除",
"授权管理员只能查看和管理自己下发的钥匙、密码等权限": "授权管理员只能查看和管理自己下发的钥匙、密码等权限", "授权管理员只能查看和管理自己下发的钥匙、密码等权限": "授权管理员只能查看和管理自己下发的钥匙、密码等权限",
"添加授权管理员": "添加授权管理员" "添加授权管理员": "添加授权管理员",
"手机需联网":"手机需联网"
} }

View File

@ -778,7 +778,7 @@ class _LockDetailPageState extends State<LockDetailPage>
? AppColors.mainColor ? AppColors.mainColor
: AppColors.btnDisableColor), : AppColors.btnDisableColor),
), ),
if (add) SizedBox(width: 20.w) else SizedBox(width: 40.w), if (add) SizedBox(width: 20.w) else SizedBox(width: 20.w),
FlavorsImg( FlavorsImg(
child: Image.asset('images/main/icon_lockDetail_needNetwork.png', child: Image.asset('images/main/icon_lockDetail_needNetwork.png',
width: 24.w, width: 24.w,
@ -789,7 +789,7 @@ class _LockDetailPageState extends State<LockDetailPage>
), ),
SizedBox(width: 6.w), SizedBox(width: 6.w),
Text( Text(
'手机需联网', '手机需联网'.tr,
style: TextStyle( style: TextStyle(
fontSize: 20.sp, fontSize: 20.sp,
color: state.isOpenLockNeedOnline.value == 1 color: state.isOpenLockNeedOnline.value == 1