homeos/lang/en/devices.php

105 lines
4.3 KiB
PHP

<?php
return [
// states
'on' => 'On',
'off' => 'Off',
'open' => 'Open',
'closed' => 'Closed',
'tilted' => 'Tilted',
'input' => 'Input',
'contact_open' => 'Open',
'contact_closed' => 'Closed',
'contact_tilted' => 'Tilted',
'role_label' => 'As:',
'role_input' => 'Input',
'role_window' => 'Window contact',
'role_door' => 'Door contact',
'role_invert' => 'Inverted',
'add_title' => 'Add device',
'add_intro' => 'Enter a Shelly\'s IP address. HomeOS talks to it directly over its local API — no MQTT setup needed.',
'add_ip' => 'IP address',
'add_optional' => 'optional',
'add_submit' => 'Add',
'add_probing' => 'Connecting …',
'add_unreachable'=> 'Device unreachable or not a Shelly. Check the IP.',
'add' => 'Add device',
'icon' => 'Icon',
'update_unsupported' => 'Update check is only available for local (HTTP) devices.',
'update_failed' => 'Update check failed. Is the device reachable?',
'update_available' => 'Update available: :version',
'update_none' => 'Firmware is up to date.',
'transport' => 'Connection',
'transport_local' => 'Local (HTTP)',
'transport_mqtt' => 'MQTT',
'transport_ip' => 'IP address',
'transport_need_ip' => 'A local connection needs an IP address.',
'transport_unreachable'=> 'Device not reachable at that IP.',
'transport_need_prefix'=> 'No MQTT prefix known — connect the device locally first.',
'delete' => 'Remove device',
'delete_confirm_title' => 'Remove device?',
'delete_confirm_body' => ':name and all its values are deleted. If the device reports again it reappears under “New devices”.',
'battery' => 'Battery',
'motion' => 'Motion',
'no_motion' => 'Idle',
'online' => 'Online',
'offline' => 'Unreachable',
// index
'index_subtitle' => 'All devices in the home.',
'empty' => 'No devices yet.',
'search_placeholder' => 'Search devices…',
'all_rooms' => 'All rooms',
'all_status' => 'All states',
'clear' => 'Clear',
'none_match' => 'No devices found.',
'count' => '{0}No devices|{1}1 device|[2,*]:count devices',
// detail
'device' => 'Device',
'name' => 'Name',
'save' => 'Save',
'saved' => 'Saved.',
'vendor' => 'Vendor',
'model' => 'Model',
'protocol' => 'Protocol',
'room' => 'Room',
'no_room' => 'No room',
'last_seen' => 'Last seen',
'uuid' => 'UUID',
'capabilities' => 'Capabilities',
'no_capabilities' => 'No capabilities reported.',
'status_active' => 'Active',
'status_ignored' => 'Ignored',
'status_discovered' => 'Discovered',
// settings
'settings' => 'Settings',
'active' => 'Active',
'active_hint' => 'Disabled devices are hidden.',
// actions (mock until Phase 3 / DeviceCommandService)
'actions' => 'Actions',
'actions_demo_hint' => 'Commands are sent to the device and audited. Update check is coming.',
'restart' => 'Restart',
'check_update' => 'Check for update',
'command_sent' => 'Command sent.',
'command_failed' => 'Command could not be sent.',
'command_sent_demo' => 'Restart command sent (demo).',
'no_update_demo' => 'No update available (demo).',
'restart_confirm_title' => 'Restart device?',
'restart_confirm_body' => ':name will restart and be briefly unavailable.',
'mqtt_credential_title' => 'MQTT credentials (shown only now)',
'mqtt_credential_hint' => 'Enable MQTT on the Shelly and enter these credentials plus the broker (the HomeOS VM host). The password is not shown again.',
'mqtt_username' => 'Username',
'mqtt_password' => 'Password',
'mqtt_no_prefix' => 'No MQTT prefix configured.',
'mqtt_host_hint' => 'your HomeOS server IP:port',
'mqtt_own_cred' => 'Own MQTT credentials',
'mqtt_own_cred_hint' => 'Optional: for this device only instead of the shared account (more secure).',
'mqtt_own_cred_btn' => 'Generate',
];