al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.5k stars 636 forks source link

如何翻译非选项文本?具体格式是什么? #1771

Open bbluvgg opened 2 months ago

bbluvgg commented 2 months ago

给出的示例确实可以翻译选项文本,能否也对非选项文本全局翻译?如图所示,如果拥有大量相同传感器,一个个修改名字太麻烦了,有没有一劳永逸的方法? xiaomi_miot: language: zh translations: idle: '空闲' busy: '工作中' fan.mode: 'straight wind': '直吹模式' 'natural wind': '自然风' NEG)S)UG`U``JN_3Z3%HBE0

redhatme commented 3 weeks ago

同问,确实没找到技巧