File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 516
516
"notification.label.private_reply" : " Private reply" ,
517
517
"notification.label.reply" : " Reply" ,
518
518
"notification.mention" : " Mention" ,
519
+ "notification.mentioned_you" : " {name} mentioned you" ,
519
520
"notification.moderation-warning.learn_more" : " Learn more" ,
520
521
"notification.moderation_warning" : " You have received a moderation warning" ,
521
522
"notification.moderation_warning.action_delete_statuses" : " Some of your posts have been removed." ,
Original file line number Diff line number Diff line change 6
6
const fs = require ( 'fs' ) ;
7
7
const path = require ( 'path' ) ;
8
8
9
+ const { defineMessages } = require ( 'react-intl' ) ;
10
+
11
+ const messages = defineMessages ( {
12
+ mentioned_you : { id : 'notification.mentioned_you' , defaultMessage : '{name} mentioned you' } ,
13
+ } ) ;
14
+
9
15
const filtered = { } ;
10
16
const filenames = fs . readdirSync ( path . resolve ( __dirname , '../locales' ) ) ;
11
17
@@ -20,7 +26,7 @@ filenames.forEach(filename => {
20
26
'notification.favourite' : full [ 'notification.favourite' ] || '' ,
21
27
'notification.follow' : full [ 'notification.follow' ] || '' ,
22
28
'notification.follow_request' : full [ 'notification.follow_request' ] || '' ,
23
- 'notification.mention' : full [ 'notification.mention' ] || '' ,
29
+ 'notification.mention' : full [ messages . mentioned_you . id ] || '' ,
24
30
'notification.reblog' : full [ 'notification.reblog' ] || '' ,
25
31
'notification.poll' : full [ 'notification.poll' ] || '' ,
26
32
'notification.status' : full [ 'notification.status' ] || '' ,
You can’t perform that action at this time.
0 commit comments