Add translation for telegram service
All checks were successful
Validate / Hassfest (push) Successful in 3s
All checks were successful
Validate / Hassfest (push) Successful in 3s
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"entity": {
|
"entity": {
|
||||||
"sensor": {
|
"sensor": {
|
||||||
|
"album_id": {
|
||||||
|
"name": "{album_name}: Album ID"
|
||||||
|
},
|
||||||
"album_asset_count": {
|
"album_asset_count": {
|
||||||
"name": "{album_name}: Asset Count"
|
"name": "{album_name}: Asset Count"
|
||||||
},
|
},
|
||||||
@@ -115,10 +118,12 @@
|
|||||||
"title": "Immich Album Watcher Options",
|
"title": "Immich Album Watcher Options",
|
||||||
"description": "Configure the polling interval for all albums.",
|
"description": "Configure the polling interval for all albums.",
|
||||||
"data": {
|
"data": {
|
||||||
"scan_interval": "Scan interval (seconds)"
|
"scan_interval": "Scan interval (seconds)",
|
||||||
|
"telegram_bot_token": "Telegram Bot Token"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"scan_interval": "How often to check for album changes (10-3600 seconds)"
|
"scan_interval": "How often to check for album changes (10-3600 seconds)",
|
||||||
|
"telegram_bot_token": "Bot token for sending media groups to Telegram"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -137,6 +142,32 @@
|
|||||||
"description": "Number of recent assets to return (1-100)."
|
"description": "Number of recent assets to return (1-100)."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"send_telegram_media_group": {
|
||||||
|
"name": "Send Telegram Media Group",
|
||||||
|
"description": "Send media URLs to Telegram as a media group.",
|
||||||
|
"fields": {
|
||||||
|
"bot_token": {
|
||||||
|
"name": "Bot Token",
|
||||||
|
"description": "Telegram bot token (optional if configured in integration options)."
|
||||||
|
},
|
||||||
|
"chat_id": {
|
||||||
|
"name": "Chat ID",
|
||||||
|
"description": "Telegram chat ID to send to."
|
||||||
|
},
|
||||||
|
"urls": {
|
||||||
|
"name": "URLs",
|
||||||
|
"description": "List of media URLs with type (photo/video)."
|
||||||
|
},
|
||||||
|
"caption": {
|
||||||
|
"name": "Caption",
|
||||||
|
"description": "Optional caption for the first media item."
|
||||||
|
},
|
||||||
|
"reply_to_message_id": {
|
||||||
|
"name": "Reply To",
|
||||||
|
"description": "Optional message ID to reply to."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"entity": {
|
"entity": {
|
||||||
"sensor": {
|
"sensor": {
|
||||||
|
"album_id": {
|
||||||
|
"name": "{album_name}: ID альбома"
|
||||||
|
},
|
||||||
"album_asset_count": {
|
"album_asset_count": {
|
||||||
"name": "{album_name}: Число файлов"
|
"name": "{album_name}: Число файлов"
|
||||||
},
|
},
|
||||||
@@ -115,10 +118,12 @@
|
|||||||
"title": "Настройки Immich Album Watcher",
|
"title": "Настройки Immich Album Watcher",
|
||||||
"description": "Настройте интервал опроса для всех альбомов.",
|
"description": "Настройте интервал опроса для всех альбомов.",
|
||||||
"data": {
|
"data": {
|
||||||
"scan_interval": "Интервал сканирования (секунды)"
|
"scan_interval": "Интервал сканирования (секунды)",
|
||||||
|
"telegram_bot_token": "Токен Telegram бота"
|
||||||
},
|
},
|
||||||
"data_description": {
|
"data_description": {
|
||||||
"scan_interval": "Как часто проверять изменения в альбомах (10-3600 секунд)"
|
"scan_interval": "Как часто проверять изменения в альбомах (10-3600 секунд)",
|
||||||
|
"telegram_bot_token": "Токен бота для отправки медиа-групп в Telegram"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -137,6 +142,32 @@
|
|||||||
"description": "Количество возвращаемых файлов (1-100)."
|
"description": "Количество возвращаемых файлов (1-100)."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"send_telegram_media_group": {
|
||||||
|
"name": "Отправить медиа-группу в Telegram",
|
||||||
|
"description": "Отправить медиа-файлы в Telegram как группу.",
|
||||||
|
"fields": {
|
||||||
|
"bot_token": {
|
||||||
|
"name": "Токен бота",
|
||||||
|
"description": "Токен Telegram бота (необязательно, если настроен в опциях интеграции)."
|
||||||
|
},
|
||||||
|
"chat_id": {
|
||||||
|
"name": "ID чата",
|
||||||
|
"description": "ID чата Telegram для отправки."
|
||||||
|
},
|
||||||
|
"urls": {
|
||||||
|
"name": "URL-адреса",
|
||||||
|
"description": "Список URL медиа-файлов с типом (photo/video)."
|
||||||
|
},
|
||||||
|
"caption": {
|
||||||
|
"name": "Подпись",
|
||||||
|
"description": "Необязательная подпись для первого медиа-файла."
|
||||||
|
},
|
||||||
|
"reply_to_message_id": {
|
||||||
|
"name": "Ответ на",
|
||||||
|
"description": "ID сообщения для ответа (необязательно)."
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user