mirror of
https://github.com/sct/overseerr.git
synced 2025-09-29 21:51:46 +02:00
fix(notif): include year in notifications (#1439)
* fix(notif): include year in notifications * fix(lang): fix shared overwritten strings * fix: check if email agent is actually enabled when generating passwords
This commit is contained in:
@@ -18,7 +18,7 @@ const messages = defineMessages({
|
||||
webhookUrlPlaceholder: 'Server Settings → Integrations → Webhooks',
|
||||
discordsettingssaved: 'Discord notification settings saved successfully!',
|
||||
discordsettingsfailed: 'Discord notification settings failed to save.',
|
||||
testsent: 'Discord test notification sent!',
|
||||
discordtestsent: 'Discord test notification sent!',
|
||||
validationUrl: 'You must provide a valid URL',
|
||||
});
|
||||
|
||||
@@ -96,7 +96,7 @@ const NotificationsDiscord: React.FC = () => {
|
||||
},
|
||||
});
|
||||
|
||||
addToast(intl.formatMessage(messages.testsent), {
|
||||
addToast(intl.formatMessage(messages.discordtestsent), {
|
||||
appearance: 'info',
|
||||
autoDismiss: true,
|
||||
});
|
||||
|
@@ -24,7 +24,7 @@ const messages = defineMessages({
|
||||
authPass: 'SMTP Password',
|
||||
emailsettingssaved: 'Email notification settings saved successfully!',
|
||||
emailsettingsfailed: 'Email notification settings failed to save.',
|
||||
testsent: 'Email test notification sent!',
|
||||
emailtestsent: 'Email test notification sent!',
|
||||
allowselfsigned: 'Allow Self-Signed Certificates',
|
||||
ssldisabletip:
|
||||
'SSL should be disabled on standard TLS connections (port 587)',
|
||||
@@ -188,7 +188,7 @@ const NotificationsEmail: React.FC = () => {
|
||||
},
|
||||
});
|
||||
|
||||
addToast(intl.formatMessage(messages.testsent), {
|
||||
addToast(intl.formatMessage(messages.emailtestsent), {
|
||||
appearance: 'info',
|
||||
autoDismiss: true,
|
||||
});
|
||||
|
@@ -22,7 +22,7 @@ const messages = defineMessages({
|
||||
validationChatIdRequired: 'You must provide a valid chat ID',
|
||||
telegramsettingssaved: 'Telegram notification settings saved successfully!',
|
||||
telegramsettingsfailed: 'Telegram notification settings failed to save.',
|
||||
testsent: 'Telegram test notification sent!',
|
||||
telegramtestsent: 'Telegram test notification sent!',
|
||||
settinguptelegramDescription:
|
||||
'To configure Telegram notifications, you will need to <CreateBotLink>create a bot</CreateBotLink> and get the bot API key. Additionally, you will need the chat ID for the chat to which you would like to send notifications. You can find this by adding <GetIdBotLink>@get_id_bot</GetIdBotLink> to the chat and issuing the <code>/my_id</code> command.',
|
||||
sendSilently: 'Send Silently',
|
||||
@@ -113,7 +113,7 @@ const NotificationsTelegram: React.FC = () => {
|
||||
},
|
||||
});
|
||||
|
||||
addToast(intl.formatMessage(messages.testsent), {
|
||||
addToast(intl.formatMessage(messages.telegramtestsent), {
|
||||
appearance: 'info',
|
||||
autoDismiss: true,
|
||||
});
|
||||
|
Reference in New Issue
Block a user