Move translatable URL out of strings.json for ntfy integration (#155859)

This commit is contained in:
Hem Bhagat
2025-12-04 20:47:16 +05:30
committed by GitHub
parent 002eed24f1
commit c333036959
2 changed files with 4 additions and 1 deletions

View File

@@ -81,6 +81,9 @@ async def async_setup_entry(
SERVICE_PUBLISH,
SERVICE_PUBLISH_SCHEMA,
"publish",
description_placeholders={
"markdown_guide_url": "https://www.markdownguide.org/basic-syntax/"
},
)

View File

@@ -345,7 +345,7 @@
"name": "Icon URL"
},
"markdown": {
"description": "Enable Markdown formatting for the message body. See the Markdown guide for syntax details: https://www.markdownguide.org/basic-syntax/.",
"description": "Enable Markdown formatting for the message body. See the Markdown guide for syntax details: {markdown_guide_url}.",
"name": "Format as Markdown"
},
"message": {