diff --git a/src/renderer/src/components/DeviceControls.tsx b/src/renderer/src/components/DeviceControls.tsx index 88480ff..332a139 100644 --- a/src/renderer/src/components/DeviceControls.tsx +++ b/src/renderer/src/components/DeviceControls.tsx @@ -448,7 +448,7 @@ export const DeviceControls: React.FC = ({ {isRemoteAC && ( <> - Temperature (°C) + {t("Temperature (°C)")} = ({ setAcMode(e.target.value)} fullWidth > - Auto - Cool - Dry - Fan - Heat + {t("Auto")} + {t("Cool")} + {t("Dry")} + {t("Fan")} + {t("Heat")} setAcFanSpeed(e.target.value)} fullWidth > - Auto - Low - Medium - High + {t("Auto")} + {t("Low")} + {t("Medium")} + {t("High")} setAcPower(e.target.value as "on" | "off")} fullWidth > - On + {t("On")} {t("Off")} diff --git a/src/renderer/src/i18n.ts b/src/renderer/src/i18n.ts index 7f55335..44d9ffc 100644 --- a/src/renderer/src/i18n.ts +++ b/src/renderer/src/i18n.ts @@ -95,9 +95,17 @@ const en: Dictionary = { On: "On", Off: "Off", Auto: "Auto", + Mode: "Mode", + "Fan speed": "Fan speed", + Power: "Power", + "Temperature (°C)": "Temperature (°C)", Low: "Low", Medium: "Medium", High: "High", + Cool: "Cool", + Dry: "Dry", + Fan: "Fan", + Heat: "Heat", Apply: "Apply", Start: "Start", Stop: "Stop", @@ -233,9 +241,17 @@ const ja: Dictionary = { On: "オン", Off: "オフ", Auto: "自動", + Mode: "モード", + "Fan speed": "風量", + Power: "電源", + "Temperature (°C)": "温度 (°C)", Low: "弱", Medium: "中", High: "強", + Cool: "冷房", + Dry: "除湿", + Fan: "送風", + Heat: "暖房", Apply: "適用", Start: "開始", Stop: "停止",