Fix missing space between "...is a" and user ID

This commit is contained in:
Luke Barnard 2018-03-08 16:34:19 +00:00
parent 5148ca1a88
commit a1d0cf65d6
2 changed files with 5 additions and 3 deletions

View file

@ -704,8 +704,10 @@ module.exports = React.createClass({
{ Object.keys(userLevels).map(function(user, i) { { Object.keys(userLevels).map(function(user, i) {
return ( return (
<li className="mx_RoomSettings_userLevel" key={user}> <li className="mx_RoomSettings_userLevel" key={user}>
{ _t("%(user)s is a", {user: user}) } { _t("%(user)s is a %(userRole)s", {
<PowerSelector value={userLevels[user]} disabled={true} /> user: user,
userRole: <PowerSelector value={userLevels[user]} disabled={true} />,
}) }
</li> </li>
); );
}) } }) }

View file

@ -445,7 +445,7 @@
"To ban users, you must be a": "To ban users, you must be a", "To ban users, you must be a": "To ban users, you must be a",
"To remove other users' messages, you must be a": "To remove other users' messages, you must be a", "To remove other users' messages, you must be a": "To remove other users' messages, you must be a",
"Privileged Users": "Privileged Users", "Privileged Users": "Privileged Users",
"%(user)s is a": "%(user)s is a", "%(user)s is a %(userRole)s": "%(user)s is a %(userRole)s",
"No users have specific privileges in this room": "No users have specific privileges in this room", "No users have specific privileges in this room": "No users have specific privileges in this room",
"Banned users": "Banned users", "Banned users": "Banned users",
"This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers", "This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers",