diff --git a/star_lock/images/lan/lan_en.json b/star_lock/images/lan/lan_en.json index 33c9433e..c7afa5e9 100644 --- a/star_lock/images/lan/lan_en.json +++ b/star_lock/images/lan/lan_en.json @@ -362,5 +362,10 @@ "templateTip4": "Tip: When sending messages to other people, be critical", "and":"And", "willBeReplacedWithTheActualValue":"Will be replaced with the actual value", - "downloadLink":"Download Link" + "downloadLink":"Download Link", + + "lockScreenTip":"After the function is enabled, you need to use your fingerprint, face or account password to open the APP. There is no need to verify again for 3 minutes", + "hideInvalidUnlockPermissionsTip":"After the function is enabled, the password, electronic key, card, fingerprint and other unlocking permissions that have been invalid for a long time will be hidden and not displayed in the list.", + "appUnlockRequiresMobilePhoneAccessToTheLockTip":"For the selected locks, when the user uses the APP to unlock the lock, his phone needs to be connected to the Internet, otherwise the lock cannot be unlocked", + "checkAll":"Check All" } diff --git a/star_lock/images/lan/lan_keys.json b/star_lock/images/lan/lan_keys.json index 98a2e7da..f7ea8a77 100644 --- a/star_lock/images/lan/lan_keys.json +++ b/star_lock/images/lan/lan_keys.json @@ -362,5 +362,10 @@ "templateTip4": "templateTip4", "and":"and", "willBeReplacedWithTheActualValue":"willBeReplacedWithTheActualValue", - "downloadLink":"downloadLink" + "downloadLink":"downloadLink", + + "lockScreenTip":"lockScreenTip", + "hideInvalidUnlockPermissionsTip":"hideInvalidUnlockPermissionsTip", + "appUnlockRequiresMobilePhoneAccessToTheLockTip":"appUnlockRequiresMobilePhoneAccessToTheLockTip", + "checkAll":"checkAll" } \ No newline at end of file diff --git a/star_lock/images/lan/lan_zh.json b/star_lock/images/lan/lan_zh.json index e099283b..a149fc17 100644 --- a/star_lock/images/lan/lan_zh.json +++ b/star_lock/images/lan/lan_zh.json @@ -365,5 +365,10 @@ "templateTip4": "提示:向其他人发送消息时,关键宇", "and":"和", "willBeReplacedWithTheActualValue":"将替换为实际值", - "downloadLink":"下载链接" + "downloadLink":"下载链接", + + "lockScreenTip":"功能开启后,需使用指纹、人脸或账号密码来打开 APP。3分钟内不需要再次验证", + "hideInvalidUnlockPermissionsTip":"功能开启后,已失效较长时间的密码、电子钥匙、卡、指纹等开锁权限将被隐藏,不在列表里显示。", + "appUnlockRequiresMobilePhoneAccessToTheLockTip":"对于选中的这些锁,当用户用APP开锁时,他的手机需要是连网的,否则无法开锁", + "checkAll":"全选" } \ No newline at end of file diff --git a/star_lock/lib/mine/mineMultiLanguage/mineMultiLanguage_page.dart b/star_lock/lib/mine/mineMultiLanguage/mineMultiLanguage_page.dart index 647f091c..30a781d5 100644 --- a/star_lock/lib/mine/mineMultiLanguage/mineMultiLanguage_page.dart +++ b/star_lock/lib/mine/mineMultiLanguage/mineMultiLanguage_page.dart @@ -40,7 +40,7 @@ class _MineMultiLanguagePageState extends State { for(int i = 0; i < state.languages.length; i++){ var e = state.languages[i]; var lanType = ExtensionLanguageType.fromLanguageCode(e.languageCode); - l.add(CommonItem(leftTitel:lanType.lanTitle, rightTitle:"", allHeight: 70.h, isHaveLine: true, isHaveDirection:false, isHaveRightWidget: true, rightWidget: Obx(() => state.currentLanguageType.value == lanType ? Image(image: const AssetImage("images/icon_item_checked.png"),width:30.w,height:30.w, fit: BoxFit.contain,): Container()), action: (){ + l.add(CommonItem(leftTitel:lanType.lanTitle, rightTitle:"", allHeight: 90.h, isHaveLine: true, isHaveDirection:false, isHaveRightWidget: true, rightWidget: Obx(() => state.currentLanguageType.value == lanType ? Image(image: const AssetImage("images/icon_item_checked.png"),width:30.w,height:30.w, fit: BoxFit.contain,): Container()), action: (){ logic.changeLanguage(e); }),); } diff --git a/star_lock/lib/mine/mineSet/appUnlockNeedMobileNetworkingLock/appUnlockNeedMobileNetworkingLock_page.dart b/star_lock/lib/mine/mineSet/appUnlockNeedMobileNetworkingLock/appUnlockNeedMobileNetworkingLock_page.dart index 4c617e33..9633f116 100644 --- a/star_lock/lib/mine/mineSet/appUnlockNeedMobileNetworkingLock/appUnlockNeedMobileNetworkingLock_page.dart +++ b/star_lock/lib/mine/mineSet/appUnlockNeedMobileNetworkingLock/appUnlockNeedMobileNetworkingLock_page.dart @@ -21,7 +21,7 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State { Widget build(BuildContext context) { return Scaffold( backgroundColor: AppColors.mainBackgroundColor, - appBar: TitleAppBar(barTitle: "锁屏", haveBack:true, backgroundColor: AppColors.mainColor), + appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.lockScreen!.tr, haveBack:true, backgroundColor: AppColors.mainColor), body:Container( padding: EdgeInsets.all(30.w), child: Column( @@ -28,7 +28,7 @@ class _LockScreenPageState extends State { Row( mainAxisAlignment: MainAxisAlignment.start, children: [ - Expanded(child: Text("功能开启后,需使用指纹、人脸或账号密码来打开 APP。3分钟内不需要再次验证")), + Expanded(child: Text(TranslationLoader.lanKeys!.lockSoundTip!.tr)), ], ), SizedBox(height: 20.h,), diff --git a/star_lock/lib/translations/lanKeyEntity.dart b/star_lock/lib/translations/lanKeyEntity.dart index 25ba528f..dd814104 100644 --- a/star_lock/lib/translations/lanKeyEntity.dart +++ b/star_lock/lib/translations/lanKeyEntity.dart @@ -366,7 +366,13 @@ class LanKeyEntity { this.templateTip4, this.and, this.willBeReplacedWithTheActualValue, - this.downloadLink + this.downloadLink, + + this.lockScreenTip, + this.hideInvalidUnlockPermissionsTip, + this.appUnlockRequiresMobilePhoneAccessToTheLockTip, + this.checkAll, + }); LanKeyEntity.fromJson(dynamic json) { @@ -740,6 +746,11 @@ class LanKeyEntity { and = json['and']; willBeReplacedWithTheActualValue = json['willBeReplacedWithTheActualValue']; downloadLink = json['downloadLink']; + + lockScreenTip = json['lockScreenTip']; + hideInvalidUnlockPermissionsTip = json['hideInvalidUnlockPermissionsTip']; + appUnlockRequiresMobilePhoneAccessToTheLockTip = json['appUnlockRequiresMobilePhoneAccessToTheLockTip']; + checkAll = json['checkAll']; } String? starLock; String? clickUnlockAndHoldDownClose; @@ -1108,6 +1119,10 @@ class LanKeyEntity { String? and; String? willBeReplacedWithTheActualValue; String? downloadLink; + String? lockScreenTip; + String? hideInvalidUnlockPermissionsTip; + String? appUnlockRequiresMobilePhoneAccessToTheLockTip; + String? checkAll; Map toJson() { final map = {}; @@ -1480,6 +1495,12 @@ class LanKeyEntity { map['and'] = and; map['willBeReplacedWithTheActualValue'] = willBeReplacedWithTheActualValue; map['downloadLink'] = downloadLink; + + map['lockScreenTip'] = lockScreenTip; + map['hideInvalidUnlockPermissionsTip'] = hideInvalidUnlockPermissionsTip; + map['appUnlockRequiresMobilePhoneAccessToTheLockTip'] = appUnlockRequiresMobilePhoneAccessToTheLockTip; + map['checkAll'] = checkAll; + return map; } } \ No newline at end of file