Skip to content

Commit

Permalink
Fix translations file so proper prompts show up in setup and configur…
Browse files Browse the repository at this point in the history
…ation config flow dialogues.
  • Loading branch information
djtimca committed Jun 15, 2022
1 parent fb1894e commit 348a666
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions custom_components/omnilogic/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"title": "Omnilogic",
"config": {
"step": {
"user": {
"data": {
"username": "Username (not email)",
"password": "Password"
}
}
},
"error": {
"cannot_connect": "Can't connect to Hayward Omnilogic. Please try again.",
"invalid_auth": "Invalid Hayward credentials. Ensure you are using your username to log in and try again.",
"unknown": "Unknown error. Please try again."
},
"abort": {
"single_instance_allowed": "The Omnilogic integration is already configured. Only one instance is allowed."
}
},
"options": {
"step": {
"init": {
"data": {
"polling_interval": "Polling interval (in seconds)",
"ph_offset": "pH offset (positive or negative)"
}
}
}
}
}

0 comments on commit 348a666

Please sign in to comment.