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

pull/21833/head
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) {
return (
<li className="mx_RoomSettings_userLevel" key={user}>
{ _t("%(user)s is a", {user: user}) }
<PowerSelector value={userLevels[user]} disabled={true} />
{ _t("%(user)s is a %(userRole)s", {
user: user,
userRole: <PowerSelector value={userLevels[user]} disabled={true} />,
}) }
</li>
);
}) }

View File

@ -445,7 +445,7 @@
"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",
"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",
"Banned users": "Banned users",
"This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers",