Skip to content

Commit 17f5d0a

Browse files
authored
Use common string for the remaining oauth2 error messages (home-assistant#156407)
1 parent 90561de commit 17f5d0a

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

homeassistant/components/onedrive/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"message": "Cannot read {filename}, no access to path; `allowlist_external_dirs` may need to be adjusted in `configuration.yaml`"
110110
},
111111
"oauth2_implementation_unavailable": {
112-
"message": "OAuth2 implementation unavailable, will retry"
112+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
113113
},
114114
"update_failed": {
115115
"message": "Failed to update drive state"

homeassistant/components/point/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"exceptions": {
3838
"oauth2_implementation_unavailable": {
39-
"message": "OAuth2 implementation unavailable, will retry"
39+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
4040
}
4141
}
4242
}

homeassistant/components/smartthings/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@
663663
},
664664
"exceptions": {
665665
"oauth2_implementation_unavailable": {
666-
"message": "OAuth2 implementation unavailable, will retry"
666+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
667667
}
668668
},
669669
"issues": {

homeassistant/components/spotify/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"exceptions": {
3636
"oauth2_implementation_unavailable": {
37-
"message": "OAuth2 implementation unavailable, will retry"
37+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
3838
}
3939
},
4040
"system_health": {

homeassistant/components/twitch/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
"exceptions": {
6363
"oauth2_implementation_unavailable": {
64-
"message": "OAuth2 implementation unavailable, will retry"
64+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
6565
}
6666
}
6767
}

homeassistant/components/volvo/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
"message": "Unable to retrieve vehicle details."
364364
},
365365
"oauth2_implementation_unavailable": {
366-
"message": "OAuth2 implementation unavailable, will retry"
366+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
367367
},
368368
"unauthorized": {
369369
"message": "Authentication failed. {message}"

homeassistant/components/withings/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
},
335335
"exceptions": {
336336
"oauth2_implementation_unavailable": {
337-
"message": "OAuth2 implementation unavailable, will retry"
337+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
338338
}
339339
}
340340
}

homeassistant/components/youtube/strings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"exceptions": {
4545
"oauth2_implementation_unavailable": {
46-
"message": "OAuth2 implementation unavailable, will retry"
46+
"message": "[%key:common::exceptions::oauth2_implementation_unavailable::message%]"
4747
}
4848
},
4949
"options": {

0 commit comments

Comments
 (0)