Skip to content

Commit

Permalink
🌐 add translation for services
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Aug 10, 2023
1 parent a81848b commit 8978227
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions custom_components/xiaomi_miot/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,40 +267,40 @@
},
"services": {
"send_command": {
"name": "Send miio command"
"description": "Send miio command"
},
"get_properties": {
"name": "Get miot properties"
"description": "Get miot properties"
},
"set_property": {
"name": "Set miot property"
"description": "Set miot property"
},
"set_miot_property": {
"name": "Set miot property by siid/piid"
"description": "Set miot property by siid/piid"
},
"call_action": {
"name": "Call miot action"
"description": "Call miot action"
},
"intelligent_speaker": {
"name": "Intelligent speaker for XiaoAi"
"description": "Intelligent speaker for XiaoAi"
},
"xiaoai_wakeup": {
"name": "Wake up the XiaoAi speaker"
"description": "Wake up the XiaoAi speaker"
},
"get_device_data": {
"name": "Get xiaomi device data"
"description": "Get xiaomi device data"
},
"renew_devices": {
"name": "Renew xiaomi devices"
"description": "Renew xiaomi devices"
},
"get_token": {
"name": "Get xiaomi device token"
"description": "Get xiaomi device token"
},
"get_bindkey": {
"name": "Get bindkey for ble device"
"description": "Get bindkey for ble device"
},
"request_xiaomi_api": {
"name": "Request xiaomi API"
"description": "Request xiaomi API"
}
}
}
24 changes: 12 additions & 12 deletions custom_components/xiaomi_miot/translations/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,40 +242,40 @@
},
"services": {
"send_command": {
"name": "发送miio命令"
"description": "发送miio命令"
},
"get_properties": {
"name": "获取MIoT属性"
"description": "获取MIoT属性"
},
"set_property": {
"name": "设置MIoT属性"
"description": "设置MIoT属性"
},
"set_miot_property": {
"name": "设置MIoT属性(通过siid/piid)"
"description": "设置MIoT属性(通过siid/piid)"
},
"call_action": {
"name": "执行MIoT动作"
"description": "执行MIoT动作"
},
"intelligent_speaker": {
"name": "小爱TTS及执行语音命令"
"description": "小爱TTS及执行语音命令"
},
"xiaoai_wakeup": {
"name": "唤醒小爱音箱"
"description": "唤醒小爱音箱"
},
"get_device_data": {
"name": "获取设备信息"
"description": "获取设备信息"
},
"renew_devices": {
"name": "刷新设备列表"
"description": "刷新设备列表"
},
"get_token": {
"name": "获取米家设备token"
"description": "获取米家设备token"
},
"get_bindkey": {
"name": "获取蓝牙设备bindkey"
"description": "获取蓝牙设备bindkey"
},
"request_xiaomi_api": {
"name": "请求小米云端接口"
"description": "请求小米云端接口"
}
}
}

0 comments on commit 8978227

Please sign in to comment.