Skip to content

Commit

Permalink
Merge pull request #75 from tykeal/fix_bad_ics_text
Browse files Browse the repository at this point in the history
Fix: Correct error strings
  • Loading branch information
tykeal authored Feb 2, 2022
2 parents a4a4b8b + ac5e9ec commit 2f537e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions custom_components/rental_control/strings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"config": {
"error": {
"bad_ics": "Only AirBnB iCalendars are supported",
"bad_ics": "URL did not provide valid calendar",
"bad_time": "Check-in/out time is invalid. Use 24 hour time",
"invalid_url": "Invalid Calendar URL",
"invalid_url": "Only https URLs are supported",
"same_name": "Name already in use",
"unknown": "Unexpected error"
},
Expand All @@ -28,9 +28,9 @@
},
"options": {
"error": {
"bad_ics": "Only AirBnB iCalendars are supported",
"bad_ics": "URL did not provide valid calendar",
"bad_time": "Check-in/out time is invalid. Use 24 hour time",
"invalid_url": "Invalid Calendar URL",
"invalid_url": "Only https URLs are supported",
"same_name": "Name already in use",
"unknown": "Unexpected error"
},
Expand Down
8 changes: 4 additions & 4 deletions custom_components/rental_control/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"config": {
"error": {
"bad_ics": "Only AirBnB iCalendars are supported",
"bad_ics": "URL did not provide valid calendar",
"bad_time": "Check-in/out time is invalid. Use 24 hour time",
"invalid_url": "Invalid Calendar URL",
"invalid_url": "Only https URLs are supported",
"same_name": "Name already in use",
"unknown": "Unexpected error"
},
Expand All @@ -28,9 +28,9 @@
},
"options": {
"error": {
"bad_ics": "Only AirBnB iCalendars are supported",
"bad_ics": "URL did not provide valid calendar",
"bad_time": "Check-in/out time is invalid. Use 24 hour time",
"invalid_url": "Invalid Calendar URL",
"invalid_url": "Only https URLs are supported",
"same_name": "Name already in use",
"unknown": "Unexpected error"
},
Expand Down

0 comments on commit 2f537e1

Please sign in to comment.