Skip to content

Commit b92e5d7

Browse files
allenporterfrenck
authored andcommitted
Add missing translations for Model Context Protocol integration (home-assistant#153147)
1 parent f7265c8 commit b92e5d7

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

homeassistant/components/mcp/strings.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
"url": "The remote MCP server URL for the SSE endpoint, for example http://example/sse"
1010
}
1111
},
12+
"credentials_choice": {
13+
"title": "Choose how to authenticate with the MCP server",
14+
"description": "You can either use existing credentials from another integration or set up new credentials.",
15+
"menu_options": {
16+
"new_credentials": "Set up new credentials",
17+
"pick_implementation": "Use existing credentials"
18+
},
19+
"menu_option_descriptions": {
20+
"new_credentials": "You will be guided through setting up a new OAuth Client ID and secret.",
21+
"pick_implementation": "You may use previously entered OAuth credentials."
22+
}
23+
},
1224
"pick_implementation": {
1325
"title": "[%key:common::config_flow::title::oauth2_pick_implementation%]",
1426
"data": {
@@ -27,14 +39,21 @@
2739
},
2840
"abort": {
2941
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
42+
"authorize_url_timeout": "[%key:common::config_flow::abort::oauth2_authorize_url_timeout%]",
3043
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
3144
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
3245
"missing_capabilities": "The MCP server does not support a required capability (Tools)",
3346
"missing_credentials": "[%key:common::config_flow::abort::oauth2_missing_credentials%]",
47+
"no_url_available": "[%key:common::config_flow::abort::oauth2_no_url_available%]",
3448
"reauth_account_mismatch": "The authenticated user does not match the MCP Server user that needed re-authentication.",
3549
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
50+
"oauth_error": "[%key:common::config_flow::abort::oauth2_error%]",
51+
"oauth_timeout": "[%key:common::config_flow::abort::oauth2_timeout%]",
52+
"oauth_unauthorized": "[%key:common::config_flow::abort::oauth2_unauthorized%]",
53+
"oauth_failed": "[%key:common::config_flow::abort::oauth2_failed%]",
3654
"timeout_connect": "[%key:common::config_flow::error::timeout_connect%]",
37-
"unknown": "[%key:common::config_flow::error::unknown%]"
55+
"unknown": "[%key:common::config_flow::error::unknown%]",
56+
"user_rejected_authorize": "[%key:common::config_flow::abort::oauth2_user_rejected_authorize%]"
3857
}
3958
}
4059
}

0 commit comments

Comments
 (0)