-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added 'Speaker' and 'Battery Service' component #500
Conversation
Thanks @LaborEtArs, this is an amazing effort. I'll test this out soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small fix ru.json
@@ -18,6 +18,10 @@ | |||
"accessories.control.label_on": "Вкл", | |||
"accessories.control.label_open": "Открыто", | |||
"accessories.control.label_opening": "Открывается", | |||
"accessories.control.label_batteryservice_notcharging": "Не заряжается", | |||
"accessories.control.label_batteryservice_charging": "Зарядка", | |||
"accessories.control.label_batteryservice_notchargeable": "Не оплачивается", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The correct translation in case when charging is not supported:
"accessories.control.label_batteryservice_notchargeable": "Не оплачивается", | |
"accessories.control.label_batteryservice_notchargeable": "Без зарядки", |
"accessories.control.label_batteryservice_notcharging": "Не заряжается", | ||
"accessories.control.label_batteryservice_charging": "Зарядка", | ||
"accessories.control.label_batteryservice_notchargeable": "Не оплачивается", | ||
"accessories.control.label_speaker_volume": "объем", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"accessories.control.label_speaker_volume": "объем", | |
"accessories.control.label_speaker_volume": "Громкость", |
Ah I can't add @Caribsky changes after merging. Let me try something, I might break this PR.. |
I applied them manually. |
Thanks @LaborEtArs and @Caribsky for your contribution. |
This is currently in You can install the test version using:
|
I have tested the new battery service component only. Well done! Thanks guys |
Was a long way to go... but now:
Added 'Speaker' and 'Battery Service' component!
Both components are mostly 'stolen' from 'Lightbulb' and 'Thermostat'.
The translations are from 'google', so there is definitely potential for optimizations ;-)