diff --git a/frontend/src/components/AddSmartPlugModal.tsx b/frontend/src/components/AddSmartPlugModal.tsx index 4f2821661..257cdeed9 100644 --- a/frontend/src/components/AddSmartPlugModal.tsx +++ b/frontend/src/components/AddSmartPlugModal.tsx @@ -959,7 +959,7 @@ export function AddSmartPlugModal({ plug, onClose }: AddSmartPlugModalProps) { type="text" value={mqttPowerTopic} onChange={(e) => setMqttPowerTopic(e.target.value)} - placeholder={t('smartPlugs.addSmartPlug.placeholders.mqttPowerTopic')} + placeholder="zigbee2mqtt/shelly-working-room" className="w-full px-3 py-2 bg-bambu-dark-secondary border border-bambu-dark-tertiary rounded-lg text-white placeholder-bambu-gray focus:border-bambu-green focus:outline-none" /> @@ -970,7 +970,7 @@ export function AddSmartPlugModal({ plug, onClose }: AddSmartPlugModalProps) { type="text" value={mqttPowerPath} onChange={(e) => setMqttPowerPath(e.target.value)} - placeholder={t('smartPlugs.addSmartPlug.placeholders.mqttPowerPath')} + placeholder="power_l1" className="w-full px-3 py-2 bg-bambu-dark-secondary border border-bambu-dark-tertiary rounded-lg text-white placeholder-bambu-gray focus:border-bambu-green focus:outline-none" /> @@ -1011,7 +1011,7 @@ export function AddSmartPlugModal({ plug, onClose }: AddSmartPlugModalProps) { type="text" value={mqttEnergyPath} onChange={(e) => setMqttEnergyPath(e.target.value)} - placeholder={t('smartPlugs.addSmartPlug.placeholders.mqttEnergyPath')} + placeholder="energy_l1" className="w-full px-3 py-2 bg-bambu-dark-secondary border border-bambu-dark-tertiary rounded-lg text-white placeholder-bambu-gray focus:border-bambu-green focus:outline-none" /> @@ -1052,7 +1052,7 @@ export function AddSmartPlugModal({ plug, onClose }: AddSmartPlugModalProps) { type="text" value={mqttStatePath} onChange={(e) => setMqttStatePath(e.target.value)} - placeholder={t('smartPlugs.addSmartPlug.placeholders.mqttStatePath')} + placeholder="state_l1" className="w-full px-3 py-2 bg-bambu-dark-secondary border border-bambu-dark-tertiary rounded-lg text-white placeholder-bambu-gray focus:border-bambu-green focus:outline-none" /> @@ -1089,7 +1089,7 @@ export function AddSmartPlugModal({ plug, onClose }: AddSmartPlugModalProps) { setIpAddress(e.target.value); setTestResult(null); }} - placeholder={t('smartPlugs.addSmartPlug.placeholders.ipAddress')} + placeholder="192.168.1.100" className="flex-1 px-3 py-2 bg-bambu-dark border border-bambu-dark-tertiary rounded-lg text-white focus:border-bambu-green focus:outline-none" />