Modified desc for invitation rejections, withdrawals

pull/21833/head
lukebarnard 2017-01-17 12:01:19 +01:00
parent aa6e168505
commit 45655f4de3
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ module.exports = React.createClass({
_getDescriptionForTransition(t, plural, repeats) { _getDescriptionForTransition(t, plural, repeats) {
let beConjugated = plural ? "were" : "was"; let beConjugated = plural ? "were" : "was";
let invitation = plural ? "invitations" : "an invitation"; let invitation = "their invitation" + (plural || (repeats > 1) ? "s" : "");
let res = null; let res = null;
let map = { let map = {
@ -112,7 +112,7 @@ module.exports = React.createClass({
"joined_and_left": "joined and left", "joined_and_left": "joined and left",
"left_and_joined": "left and rejoined", "left_and_joined": "left and rejoined",
"invite_reject": "rejected " + invitation, "invite_reject": "rejected " + invitation,
"invite_withdrawal": "withdrew " + invitation, "invite_withdrawal": "had " + invitation + " withdrawn",
"invited": beConjugated + " invited", "invited": beConjugated + " invited",
"banned": beConjugated + " banned", "banned": beConjugated + " banned",
"unbanned": beConjugated + " unbanned", "unbanned": beConjugated + " unbanned",