Rename project

This commit is contained in:
sususweet
2025-09-17 23:22:01 +08:00
parent 4d298054f6
commit 63ec7de48f
28 changed files with 12 additions and 12 deletions

View File

@@ -0,0 +1,106 @@
{
"config": {
"error": {
"no_home": "No available home",
"account_invalid": "Failed to authenticate on Midea cloud, the password may be changed",
"invalid_input": "Illegal input, IP address or 'auto' needed",
"login_failed": "Failed to login, wrong account or password",
"offline_error": "Only the online appliance can be configured",
"download_lua_failed": "Failed to download lua script of appliance",
"discover_failed": "The appliance can't be found on the local network",
"no_new_devices": "No any new available can be found in your home",
"connect_error": "Can't connect to the appliance"
},
"step": {
"user": {
"data": {
"account": "Account",
"password": "Password"
},
"description": "Login and save storage your Midea account",
"title": "Login"
},
"home": {
"title": "Home",
"data": {
"home": "Choose a location where your appliance in"
}
},
"device": {
"title": "Appliances",
"data": {
"device_id": "Choice a appliance to add"
}
},
"discover": {
"description": "Discover the appliance, it must in the local area work",
"title": "Appliance info",
"data": {
"ip_address": "IP address('auto' for discovery automatic)"
}
}
}
},
"options": {
"step": {
"init": {
"data": {
"option": "Option"
},
"title": "Configure"
},
"reset":{
"title": "Reset the configuration of appliance",
"description": "Remove the old configuration and make a new configuration use template\nIf your configuration was modified, the changes will lost\nIf your appliance type or model not in template, then the new configuration won't be made",
"data":{
"check": "I know that, do it"
}
},
"configure": {
"data": {
"ip_address": "IP address",
"refresh_interval": "Refresh interval(0 means not refreshing actively)"
},
"title": "Option"
}
},
"abort":{
"reset_success": "Reset done",
"account_unsupport_config": "Doesn't support this operation"
}
},
"services": {
"set_attribute": {
"name": "set the attributes",
"description": "Set the attributes of appliance in a dict",
"fields" : {
"device_id": {
"name": "Appliance code",
"description": "Appliance code (Device ID)"
},
"attributes": {
"name": "Attributes",
"description": "Attributes to set"
}
}
},
"send_command": {
"name": "Custom command",
"description": "Send a custom command to appliance",
"fields" : {
"device_id": {
"name": "Appliance code",
"description": "Appliance code (Device ID)"
},
"cmd_type": {
"name": "Type of command",
"description": "It can be 2 (query) or 3 (control)"
},
"cmd_body": {
"name": "Body of command",
"description": "The body of command without the MSmart protocol head and the checksum at the end"
}
}
}
}
}

View File

@@ -0,0 +1,106 @@
{
"config": {
"error": {
"no_home": "未找到可用家庭",
"account_invalid": "登录美的云服务器失败,是否已修改过密码",
"invalid_input": "无效的输入请输入有效IP地址或auto",
"login_failed": "无法登录到选择的美的云服务器,请检查用户名或密码",
"offline_error": "只能配置在线设备",
"download_lua_failed": "下载设备协议脚本失败",
"discover_failed": "无法在本地搜索到该设备",
"no_new_devices": "没有可用的设备",
"connect_error": "无法连接到指定设备"
},
"step": {
"user": {
"data": {
"account": "用户名",
"password": "密码"
},
"description": "登录并保存你的美的用户名及密码",
"title": "登录"
},
"home": {
"title": "家庭",
"data": {
"home": "选择设备所在家庭"
}
},
"device": {
"title": "设备",
"data": {
"device_id": "选择要添加的设备"
}
},
"discover": {
"description": "获取设备信息,设备必须位于本地局域网内",
"title": "设备信息",
"data": {
"ip_address": "设备地址(输入auto自动搜索设备)"
}
}
}
},
"options": {
"step": {
"init": {
"data": {
"option": "操作"
},
"title": "选项"
},
"reset":{
"title": "重置配置文件",
"description": "移除已有的设备配置,并使用标准模板重新生成设备配置\n如果你的设备配置json文件进行过修改重置之后修改将丢失\n如果标准模板中没有该设备类型则不会生成设备配置",
"data":{
"check": "我知道了,重置吧"
}
},
"configure": {
"data": {
"ip_address": "IP地址",
"refresh_interval": "刷新间隔(设0为不进行主动刷新)"
},
"title": "配置"
}
},
"abort":{
"reset_success": "重置完成,已尝试生成新的配置",
"account_unsupport_config": "账户配置不支持该操作"
}
},
"services": {
"set_attribute": {
"name": "设置属性",
"description": "设置设备的属性值(可多属性一起设置)",
"fields" : {
"device_id": {
"name": "设备编码",
"description": "设备编码(Device ID)"
},
"attributes": {
"name": "属性集合",
"description": "要设置的属性"
}
}
},
"send_command": {
"name": "自定义命令",
"description": "向设备发送一个自定义命令",
"fields" : {
"device_id": {
"name": "设备编码",
"description": "设备编码(Device ID)"
},
"cmd_type": {
"name": "命令类型",
"description": "命令类型可以为2(查询)或3(设置)"
},
"cmd_body": {
"name": "命令体",
"description": "命令的消息体(不包括前部的MSmart协议头及后部的校验码)"
}
}
}
}
}