Merge pull request #1792 from matrix-org/luke/fix-privileged-users-cosmetics

Fix missing space between "...is a" and user ID
This commit is contained in:
Luke Barnard 2018-03-08 16:47:46 +00:00 committed by GitHub
commit a03778388d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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",