mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-17 06:20:30 +00:00
Merge branch 'pr-499'
This commit is contained in:
@@ -20,6 +20,17 @@ export class NotificationHandler {
|
||||
noticontent ||= message.embeds[0]?.json.title;
|
||||
noticontent ||= message.content.textContent;
|
||||
}
|
||||
if (message.attachments.length > 0) {
|
||||
noticontent ||= I18n.sentAttachment();
|
||||
}
|
||||
if (message.poll) {
|
||||
noticontent ||= I18n.sentPoll();
|
||||
}
|
||||
if (message.stickers.length > 0) {
|
||||
noticontent ||= I18n.sentSticker();
|
||||
}
|
||||
// exhausted all options, sorry, we just send the raw thing!
|
||||
noticontent ||= message.content.rawString;
|
||||
noticontent ||= I18n.blankMessage();
|
||||
|
||||
const image = message.getimages()[0];
|
||||
|
||||
@@ -117,6 +117,9 @@
|
||||
},
|
||||
"bio": "Bio:",
|
||||
"blankMessage": "Blank message",
|
||||
"sentAttachment": "Sent an attachment",
|
||||
"sentPoll": "Sent a poll",
|
||||
"sentSticker": "Sent a sticker",
|
||||
"blog": {
|
||||
"blog": "Blog",
|
||||
"blogUpdates": "Get blog updates when you open the app:",
|
||||
|
||||
@@ -119,6 +119,9 @@
|
||||
},
|
||||
"bio": "Label for the bio/about-me text field in user settings.",
|
||||
"blankMessage": "Placeholder text shown when a message has no content.",
|
||||
"sentAttachment": "Notification message when someone sends an attachment",
|
||||
"sentPoll": "Notification message when someone sends a poll",
|
||||
"sentSticker": "Notification message when someone sends a sticker",
|
||||
"blog": {
|
||||
"blog": "Settings section title for the blog feature.",
|
||||
"blogUpdates": "Label for the toggle to enable/disable blog update notifications.",
|
||||
|
||||
Reference in New Issue
Block a user