tiny bit of de-lint for consistency
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
6a4e3792d4
commit
91ba939e23
1 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ function textForPowerEvent(event) {
|
||||||
if (to !== from) {
|
if (to !== from) {
|
||||||
diff.push(
|
diff.push(
|
||||||
_t('%(userId)s from %(fromPowerLevel)s to %(toPowerLevel)s', {
|
_t('%(userId)s from %(fromPowerLevel)s to %(toPowerLevel)s', {
|
||||||
userId: userId,
|
userId,
|
||||||
fromPowerLevel: Roles.textualPowerLevel(from, userDefault),
|
fromPowerLevel: Roles.textualPowerLevel(from, userDefault),
|
||||||
toPowerLevel: Roles.textualPowerLevel(to, userDefault),
|
toPowerLevel: Roles.textualPowerLevel(to, userDefault),
|
||||||
}),
|
}),
|
||||||
|
@ -254,7 +254,7 @@ function textForPowerEvent(event) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return _t('%(senderName)s changed the power level of %(powerLevelDiffText)s.', {
|
return _t('%(senderName)s changed the power level of %(powerLevelDiffText)s.', {
|
||||||
senderName: senderName,
|
senderName,
|
||||||
powerLevelDiffText: diff.join(", "),
|
powerLevelDiffText: diff.join(", "),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue