chore: Move formatting out of translation strings

This commit is contained in:
Tom Moor
2020-12-14 21:16:02 -08:00
parent e2e66954b5
commit 2f7fca6106
22 changed files with 69 additions and 76 deletions

View File

@@ -78,7 +78,7 @@ class GroupMenu extends React.Component<Props> {
<DropdownMenuItems
items={[
{
title: t("Members"),
title: `${t("Members")}`,
onClick: this.props.onMembers,
visible: !!(group && can.read),
},
@@ -86,12 +86,12 @@ class GroupMenu extends React.Component<Props> {
type: "separator",
},
{
title: t("Edit"),
title: `${t("Edit")}`,
onClick: this.onEdit,
visible: !!(group && can.update),
},
{
title: t("Delete"),
title: `${t("Delete")}`,
onClick: this.onDelete,
visible: !!(group && can.delete),
},