-
Notifications
You must be signed in to change notification settings - Fork 388
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
Translations for Accessory state #342
Comments
Good idea. There shouldn't be too many new words to translate. |
We will translate it fast. I translated hoobs BG language for 1 hour. |
I've added support for this and created placeholders for all the keys that need translating in each language file. https://github.com/oznu/homebridge-config-ui-x/blob/master/ui/src/i18n/en.json#L17-L39 For details on how to get a development environment setup so you can preview your translations in-app see https://github.com/oznu/homebridge-config-ui-x/blob/master/CONTRIBUTING.md. |
"accessories.control.label_on": "On",
"accessories.control.label_off": "Off",
"accessories.control.label_open": "Open",
"accessories.control.label_closed": "Closed",
"accessories.control.label_opening": "Opening",
"accessories.control.label_closing": "Closing",
"accessories.control.label_stopped": "Stopped",
"accessories.control.label_locked": "Locked",
"accessories.control.label_unlocked": "Unlocked",
"accessories.control.label_jammed": "Jammed",
"accessories.control.label_unknown": "Unknown",
"accessories.control.label_triggered": "Triggered",
"accessories.control.label_heat": "Heat",
"accessories.control.label_cool": "Cool",
"accessories.control.label_auto": "Auto",
"accessories.control.label_rotation_speed": "Rotation Speed",
"accessories.control.label_brightness": "Brightness",
"accessories.control.label_set_to": "Set to",
"accessories.control.label_target": "Target",
"accessories.control.label_target_temperature": "Target Temperature",
"accessories.control.label_fan": "Fan",
"accessories.control.label_light": "Light",
"accessories.control.not_supported": "Not Supported", |
Hi, updated to beta22 and Accessory - Thermostat Mode off are not translated. Thanks |
Also „Default Room” need to be translated. |
I've fixed the thermostat |
@oznu |
@Caribsky - I can stack them vertically. |
I like this layout. Looks like as on iPhone. |
The beta has been updated with your pull requests and the other changes made. |
@oznu |
Sorry, @oznu |
You had me worried. I'll check out Safari tomorrow to make sure it's all ok. |
Bulgarian language translation. It is in zip because I can't upload json file here. |
I'm running - homebridge-config-ui-x v4.5.2 - on EN
|
Hi @tooh, The only instance of the word https://github.com/oznu/homebridge-config-ui-x/search?q=Accessores&unscoped_q=Accessores |
Hm strange was not aware that it uses Nl as language. But you’re right. Translation should be: accessoires |
Hi @oznu, Also, regarding Thermostat window. The accessory box start dragging when click on Thermostat in Firefox (mac os), please see screenshot below. |
@Caribsky, I'll update the beta soon and let you know. Regarding the thermostat window, you need to start moving your mouse within 350 ms otherwise it detects a "long press" and opens up the modal. I've just tested this on the latest versions of Firefox, Safari and Chrome on macOS. |
@tooh, updated, thanks. |
@oznu |
@Caribsky, i think i misunderstood the issue you described. I thought you were saying when you were trying to move the tiles, the modal was showing, but you mean when you are trying to open the modal, the tile starts moving? That I can replicate in firefox. |
@oznu, in other words ... the tile starts following the cursor after showing the modal window. |
I can't figure this one out right now @Caribsky, I'll try again later, as a work around you can toggle the layout lock: |
Thanks, @oznu |
@Caribsky, I fixed the Firefox modal and drag issue in the latest beta. |
Thanks @grzegorz914, that bit of text is is sent directly from the server as a debug message, so it doesn't get translated. I don't have any plans to add internationalisation to the server side any time soon (this includes all logs, or error / debug messages sent from the server like the one above). |
@oznu |
I just pushed up a new beta, with dark mode off-state tiles. I'm not sure how to handle on-state tiles in dark mode yet, I'll probably wait until I can see how iOS 13 dark mode does it. |
It broke light mode on-state of course, should have tested, fixing it now. |
Thanks everyone for your help one this one. |
Hi,
It would be nice add translations for accessory state, now we have only EN.
Thanks
The text was updated successfully, but these errors were encountered: