我的设置-锁屏、APP开锁时需手机连网的锁、隐藏无效开锁权限,三个模块完成国际化
This commit is contained in:
parent
69a46812ed
commit
681ed316bc
@ -362,5 +362,10 @@
|
|||||||
"templateTip4": "Tip: When sending messages to other people, be critical",
|
"templateTip4": "Tip: When sending messages to other people, be critical",
|
||||||
"and":"And",
|
"and":"And",
|
||||||
"willBeReplacedWithTheActualValue":"Will be replaced with the actual value",
|
"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"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -362,5 +362,10 @@
|
|||||||
"templateTip4": "templateTip4",
|
"templateTip4": "templateTip4",
|
||||||
"and":"and",
|
"and":"and",
|
||||||
"willBeReplacedWithTheActualValue":"willBeReplacedWithTheActualValue",
|
"willBeReplacedWithTheActualValue":"willBeReplacedWithTheActualValue",
|
||||||
"downloadLink":"downloadLink"
|
"downloadLink":"downloadLink",
|
||||||
|
|
||||||
|
"lockScreenTip":"lockScreenTip",
|
||||||
|
"hideInvalidUnlockPermissionsTip":"hideInvalidUnlockPermissionsTip",
|
||||||
|
"appUnlockRequiresMobilePhoneAccessToTheLockTip":"appUnlockRequiresMobilePhoneAccessToTheLockTip",
|
||||||
|
"checkAll":"checkAll"
|
||||||
}
|
}
|
||||||
@ -365,5 +365,10 @@
|
|||||||
"templateTip4": "提示:向其他人发送消息时,关键宇",
|
"templateTip4": "提示:向其他人发送消息时,关键宇",
|
||||||
"and":"和",
|
"and":"和",
|
||||||
"willBeReplacedWithTheActualValue":"将替换为实际值",
|
"willBeReplacedWithTheActualValue":"将替换为实际值",
|
||||||
"downloadLink":"下载链接"
|
"downloadLink":"下载链接",
|
||||||
|
|
||||||
|
"lockScreenTip":"功能开启后,需使用指纹、人脸或账号密码来打开 APP。3分钟内不需要再次验证",
|
||||||
|
"hideInvalidUnlockPermissionsTip":"功能开启后,已失效较长时间的密码、电子钥匙、卡、指纹等开锁权限将被隐藏,不在列表里显示。",
|
||||||
|
"appUnlockRequiresMobilePhoneAccessToTheLockTip":"对于选中的这些锁,当用户用APP开锁时,他的手机需要是连网的,否则无法开锁",
|
||||||
|
"checkAll":"全选"
|
||||||
}
|
}
|
||||||
@ -40,7 +40,7 @@ class _MineMultiLanguagePageState extends State<MineMultiLanguagePage> {
|
|||||||
for(int i = 0; i < state.languages.length; i++){
|
for(int i = 0; i < state.languages.length; i++){
|
||||||
var e = state.languages[i];
|
var e = state.languages[i];
|
||||||
var lanType = ExtensionLanguageType.fromLanguageCode(e.languageCode);
|
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);
|
logic.changeLanguage(e);
|
||||||
}),);
|
}),);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,7 +21,7 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State<APPUnlockNeedMob
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: AppColors.mainBackgroundColor,
|
backgroundColor: AppColors.mainBackgroundColor,
|
||||||
appBar: TitleAppBar(barTitle: "APP开锁时需手机连网的锁", haveBack:true, backgroundColor: AppColors.mainColor),
|
appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.appUnlockRequiresMobilePhoneAccessToTheLock!.tr, haveBack:true, backgroundColor: AppColors.mainColor),
|
||||||
body:Column(
|
body:Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
@ -29,11 +29,11 @@ class _APPUnlockNeedMobileNetworkingLockPageState extends State<APPUnlockNeedMob
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: Text("对于选中的这些锁,当用户用APP开锁时,他的手机需要是连网的,否则无法开锁")),
|
Expanded(child: Text(TranslationLoader.lanKeys!.appUnlockRequiresMobilePhoneAccessToTheLockTip!.tr)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
CommonItem(leftTitel:"全选", rightTitle:"", allHeight:100.h, isHaveLine: false, isHaveRightWidget: true,
|
CommonItem(leftTitel:TranslationLoader.lanKeys!.checkAll!.tr, rightTitle:"", allHeight:100.h, isHaveLine: false, isHaveRightWidget: true,
|
||||||
rightWidget: GestureDetector(
|
rightWidget: GestureDetector(
|
||||||
onTap: (){
|
onTap: (){
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ class _HideInvalidUnlockPermissionsPageState extends State<HideInvalidUnlockPerm
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: AppColors.mainBackgroundColor,
|
backgroundColor: AppColors.mainBackgroundColor,
|
||||||
appBar: TitleAppBar(barTitle: "隐藏无效开锁权限", haveBack:true, backgroundColor: AppColors.mainColor),
|
appBar: TitleAppBar(barTitle: TranslationLoader.lanKeys!.hideInvalidUnlockPermissions!.tr, haveBack:true, backgroundColor: AppColors.mainColor),
|
||||||
body:Container(
|
body:Container(
|
||||||
padding: EdgeInsets.all(30.w),
|
padding: EdgeInsets.all(30.w),
|
||||||
child: Column(
|
child: Column(
|
||||||
@ -28,7 +28,7 @@ class _HideInvalidUnlockPermissionsPageState extends State<HideInvalidUnlockPerm
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: Text("功能开启后,已失效较长时间的密码、电子钥匙、卡、指纹等开锁权限将被隐藏,不在列表里显示。")),
|
Expanded(child: Text(TranslationLoader.lanKeys!.hideInvalidUnlockPermissionsTip!.tr)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
SizedBox(height: 20.h,),
|
SizedBox(height: 20.h,),
|
||||||
|
|||||||
@ -20,7 +20,7 @@ class _LockScreenPageState extends State<LockScreenPage> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: AppColors.mainBackgroundColor,
|
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(
|
body:Container(
|
||||||
padding: EdgeInsets.all(30.w),
|
padding: EdgeInsets.all(30.w),
|
||||||
child: Column(
|
child: Column(
|
||||||
@ -28,7 +28,7 @@ class _LockScreenPageState extends State<LockScreenPage> {
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Expanded(child: Text("功能开启后,需使用指纹、人脸或账号密码来打开 APP。3分钟内不需要再次验证")),
|
Expanded(child: Text(TranslationLoader.lanKeys!.lockSoundTip!.tr)),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
SizedBox(height: 20.h,),
|
SizedBox(height: 20.h,),
|
||||||
|
|||||||
@ -366,7 +366,13 @@ class LanKeyEntity {
|
|||||||
this.templateTip4,
|
this.templateTip4,
|
||||||
this.and,
|
this.and,
|
||||||
this.willBeReplacedWithTheActualValue,
|
this.willBeReplacedWithTheActualValue,
|
||||||
this.downloadLink
|
this.downloadLink,
|
||||||
|
|
||||||
|
this.lockScreenTip,
|
||||||
|
this.hideInvalidUnlockPermissionsTip,
|
||||||
|
this.appUnlockRequiresMobilePhoneAccessToTheLockTip,
|
||||||
|
this.checkAll,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
LanKeyEntity.fromJson(dynamic json) {
|
LanKeyEntity.fromJson(dynamic json) {
|
||||||
@ -740,6 +746,11 @@ class LanKeyEntity {
|
|||||||
and = json['and'];
|
and = json['and'];
|
||||||
willBeReplacedWithTheActualValue = json['willBeReplacedWithTheActualValue'];
|
willBeReplacedWithTheActualValue = json['willBeReplacedWithTheActualValue'];
|
||||||
downloadLink = json['downloadLink'];
|
downloadLink = json['downloadLink'];
|
||||||
|
|
||||||
|
lockScreenTip = json['lockScreenTip'];
|
||||||
|
hideInvalidUnlockPermissionsTip = json['hideInvalidUnlockPermissionsTip'];
|
||||||
|
appUnlockRequiresMobilePhoneAccessToTheLockTip = json['appUnlockRequiresMobilePhoneAccessToTheLockTip'];
|
||||||
|
checkAll = json['checkAll'];
|
||||||
}
|
}
|
||||||
String? starLock;
|
String? starLock;
|
||||||
String? clickUnlockAndHoldDownClose;
|
String? clickUnlockAndHoldDownClose;
|
||||||
@ -1108,6 +1119,10 @@ class LanKeyEntity {
|
|||||||
String? and;
|
String? and;
|
||||||
String? willBeReplacedWithTheActualValue;
|
String? willBeReplacedWithTheActualValue;
|
||||||
String? downloadLink;
|
String? downloadLink;
|
||||||
|
String? lockScreenTip;
|
||||||
|
String? hideInvalidUnlockPermissionsTip;
|
||||||
|
String? appUnlockRequiresMobilePhoneAccessToTheLockTip;
|
||||||
|
String? checkAll;
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final map = <String, dynamic>{};
|
final map = <String, dynamic>{};
|
||||||
@ -1480,6 +1495,12 @@ class LanKeyEntity {
|
|||||||
map['and'] = and;
|
map['and'] = and;
|
||||||
map['willBeReplacedWithTheActualValue'] = willBeReplacedWithTheActualValue;
|
map['willBeReplacedWithTheActualValue'] = willBeReplacedWithTheActualValue;
|
||||||
map['downloadLink'] = downloadLink;
|
map['downloadLink'] = downloadLink;
|
||||||
|
|
||||||
|
map['lockScreenTip'] = lockScreenTip;
|
||||||
|
map['hideInvalidUnlockPermissionsTip'] = hideInvalidUnlockPermissionsTip;
|
||||||
|
map['appUnlockRequiresMobilePhoneAccessToTheLockTip'] = appUnlockRequiresMobilePhoneAccessToTheLockTip;
|
||||||
|
map['checkAll'] = checkAll;
|
||||||
|
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user