@@ -65,7 +65,7 @@ module.exports = {
6565 // Messages containing user's display name
6666 ".m.rule.contains_display_name" : new VectorPushRuleDefinition ( {
6767 kind : "override" ,
68- description : "Messages containing my display name" ,
68+ description : "Messages containing my display name" , // passed through _t() translation in src/components/views/settings/Notifications.js
6969 vectorStateToActions : { // The actions for each vector state, or null to disable the rule.
7070 on : StandardActions . ACTION_NOTIFY ,
7171 loud : StandardActions . ACTION_HIGHLIGHT_DEFAULT_SOUND ,
@@ -76,7 +76,7 @@ module.exports = {
7676 // Messages containing user's username (localpart/MXID)
7777 ".m.rule.contains_user_name" : new VectorPushRuleDefinition ( {
7878 kind : "override" ,
79- description : "Messages containing my user name" ,
79+ description : "Messages containing my user name" , // passed through _t() translation in src/components/views/settings/Notifications.js
8080 vectorStateToActions : { // The actions for each vector state, or null to disable the rule.
8181 on : StandardActions . ACTION_NOTIFY ,
8282 loud : StandardActions . ACTION_HIGHLIGHT_DEFAULT_SOUND ,
@@ -87,7 +87,7 @@ module.exports = {
8787 // Messages just sent to the user in a 1:1 room
8888 ".m.rule.room_one_to_one" : new VectorPushRuleDefinition ( {
8989 kind : "underride" ,
90- description : "Messages in one-to-one chats" ,
90+ description : "Messages in one-to-one chats" , // passed through _t() translation in src/components/views/settings/Notifications.js
9191 vectorStateToActions : {
9292 on : StandardActions . ACTION_NOTIFY ,
9393 loud : StandardActions . ACTION_NOTIFY_DEFAULT_SOUND ,
@@ -100,7 +100,7 @@ module.exports = {
100100 // By opposition, all other room messages are from group chat rooms.
101101 ".m.rule.message" : new VectorPushRuleDefinition ( {
102102 kind : "underride" ,
103- description : "Messages in group chats" ,
103+ description : "Messages in group chats" , // passed through _t() translation in src/components/views/settings/Notifications.js
104104 vectorStateToActions : {
105105 on : StandardActions . ACTION_NOTIFY ,
106106 loud : StandardActions . ACTION_NOTIFY_DEFAULT_SOUND ,
@@ -111,7 +111,7 @@ module.exports = {
111111 // Invitation for the user
112112 ".m.rule.invite_for_me" : new VectorPushRuleDefinition ( {
113113 kind : "underride" ,
114- description : "When I'm invited to a room" ,
114+ description : "When I'm invited to a room" , // passed through _t() translation in src/components/views/settings/Notifications.js
115115 vectorStateToActions : {
116116 on : StandardActions . ACTION_NOTIFY ,
117117 loud : StandardActions . ACTION_NOTIFY_DEFAULT_SOUND ,
@@ -122,7 +122,7 @@ module.exports = {
122122 // Incoming call
123123 ".m.rule.call" : new VectorPushRuleDefinition ( {
124124 kind : "underride" ,
125- description : "Call invitation" ,
125+ description : "Call invitation" , // passed through _t() translation in src/components/views/settings/Notifications.js
126126 vectorStateToActions : {
127127 on : StandardActions . ACTION_NOTIFY ,
128128 loud : StandardActions . ACTION_NOTIFY_RING_SOUND ,
@@ -133,7 +133,7 @@ module.exports = {
133133 // Notifications from bots
134134 ".m.rule.suppress_notices" : new VectorPushRuleDefinition ( {
135135 kind : "override" ,
136- description : "Messages sent by bot" ,
136+ description : "Messages sent by bot" , // passed through _t() translation in src/components/views/settings/Notifications.js
137137 vectorStateToActions : {
138138 // .m.rule.suppress_notices is a "negative" rule, we have to invert its enabled value for vector UI
139139 on : StandardActions . ACTION_DISABLED ,
0 commit comments