Move URL out of Mastodon strings.json (#154231)

This commit is contained in:
Andrew Jackson
2025-10-11 23:07:40 +01:00
committed by Franck Nijhof
parent d812e9d43c
commit 5b3bca1426
2 changed files with 6 additions and 2 deletions

View File

@@ -134,4 +134,8 @@ class MastodonConfigFlow(ConfigFlow, domain=DOMAIN):
data=user_input,
)
return self.show_user_form(user_input, errors)
return self.show_user_form(
user_input,
errors,
description_placeholders={"example_url": "https://mastodon.social"},
)

View File

@@ -9,7 +9,7 @@
"access_token": "[%key:common::config_flow::data::access_token%]"
},
"data_description": {
"base_url": "The URL of your Mastodon instance e.g. https://mastodon.social.",
"base_url": "The URL of your Mastodon instance e.g. {example_url}.",
"client_id": "The client key for the application created within your Mastodon account.",
"client_secret": "The client secret for the application created within your Mastodon account.",
"access_token": "The access token for the application created within your Mastodon account."