适配部分国际化UI

This commit is contained in:
魏少阳 2024-08-22 14:53:03 +08:00
parent 75c38697b5
commit 377963c41d
6 changed files with 24 additions and 21 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -1,7 +1,7 @@
{
"星锁": "Star Lock",
"锁通通": "Lock Through",
"点击开锁,长按闭锁": "Click To Unlock And Hold Down to Close",
"点击开锁,长按闭锁": "Touch to Unlock,Hold to Lock",
"考勤": "Attendance",
"考勤设置": "Attendance Settings",
"电子钥匙": "eKeys",
@ -10,15 +10,15 @@
"添加指纹": "Add Fingerprint",
"指纹号": "Fingerprint Number",
"遥控": "Remote",
"添加人脸": "添加人脸",
"添加人脸": "Add Face",
"门锁日志": "Door lock log",
"密码号": "Password Number",
"添加者": "Adder",
"添加时间": "Add Time",
"添加者": "Operator",
"添加时间": "Time",
"重置": "Reset",
"请输入手机号或者邮箱": "Please enter the number or email",
"请输入手机号或者邮箱": "Phone Number or Email",
"工作时间": "Working Time",
"工作日设置": "Workday Settings",
"工作日设置": "Workday Setting",
"星期一": "Monday",
"星期二": "Tuesday",
"星期三": "Wednesday",
@ -43,14 +43,14 @@
"周六": "Sat",
"周日": "Sun",
"群发钥匙": "Send Group Key",
"群发钥匙": "Send multiple ekeys",
"锁": "Lock",
"请添加": "Please Add",
"允许远程开锁": "Remote Unlocking Allowed",
"请输入验证码": "Please enter the verification code",
"获取密码": "Get Password",
"请给密码命名": "Please Name Your Password",
"密码有限期为6个小时只能使用一次": "The password is valid for 6 hours and can only be used once",
"请添加": "Recipient",
"允许远程开锁": "Remote Unlock",
"请输入验证码": "Verification Code",
"获取密码": "Generate Passcode",
"请给密码命名": "Enter a name for this Passcode",
"密码有限期为6个小时只能使用一次": "This Passcode MUST BE used within 6 Hours from the Current Time or it will be SUSPENDED for security Reasons.This Passcode can Only be used ONCE.",
"手动输入6-9位数字作为密码。可在锁旁边通过手机蓝牙添加也可以通过网关远程添加": "Manually enter 6-9 digits as the password. Can be added by phone Bluetooth next to the lock, or remotely added through the gateway",
"获取": "Get",
"添加": "Add",
@ -1038,5 +1038,6 @@
"开门失败": "Failed to open the door",
"呼叫提醒": "Call reminder",
"收到来自": "Received from",
"锁的呼叫": "Lock call"
"锁的呼叫": "Lock call",
"加载数据中": "Loading data"
}

View File

@ -1070,5 +1070,6 @@
"开门失败": "开门失败",
"呼叫提醒": "呼叫提醒",
"收到来自": "收到来自",
"锁的呼叫": "锁的呼叫"
"锁的呼叫": "锁的呼叫",
"加载数据中": "加载数据中"
}

View File

@ -1036,5 +1036,6 @@
"开门失败": "开门失败",
"呼叫提醒": "呼叫提醒",
"收到来自": "收到来自",
"锁的呼叫": "锁的呼叫"
"锁的呼叫": "锁的呼叫",
"加载数据中": "加载数据中"
}

View File

@ -40,7 +40,7 @@ class _SelectCountryRegionPageState extends State<SelectCountryRegionPage> {
if (entity.errorCode!.codeIsSuccessful) {
countriesList.addAll(entity.dataList!);
for(final CountryRegionModel model in countriesList){
if(model.name! == '中国'.tr){
if(model.name! == '中国'){
topCountriesList.add(model);
break;
}

View File

@ -34,8 +34,8 @@ class SendElectronicKeyViewState {
RxBool isRequireAuth = false.obs; //
RxInt userNameType = 0.obs; //1: 2:
final String timeLimitTips = '接收者在有效期内可以不限次数使用'; //
final String permanentTips = '接收者可以使用此App开关锁'; //
final String onceLimitTips = '单次钥匙有效期为1小时只能使用一次'; //
final String cycleLimitTips = '接收者可以在有效期内的固定时间段里,不限次数使用'; //
final String timeLimitTips = '接收者在有效期内可以不限次数使用'.tr; //
final String permanentTips = '接收者可以使用此App开关锁'.tr; //
final String onceLimitTips = '单次钥匙有效期为1小时只能使用一次'.tr; //
final String cycleLimitTips = '接收者可以在有效期内的固定时间段里,不限次数使用'.tr; //
}