Skip to content

Commit

Permalink
fix: make entry/revision action labels more explicit (#4280)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j authored Sep 18, 2024
1 parent bc771b0 commit 1d23eb7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const DeleteEntry = () => {
return (
<OptionsMenuItem
icon={<DeleteIcon />}
label={"Delete"}
label={"Delete entry"}
onAction={() =>
showConfirmationDialog({
onAccept: navigateBacktoList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const PublishEntryRevisionListItemComponent = () => {
<ListItemGraphic>
<Icon icon={<PublishIcon />} />
</ListItemGraphic>
{t`Publish`}
{t`Publish revision`}
</>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const t = i18n.ns("app-headless-cms/admin/plugins/content-details/content-revisi
const primaryColor = css({ color: "var(--mdc-theme-primary)" });

const revisionsMenu = css({
width: 250,
width: 300,
right: -105,
left: "auto !important"
});
Expand Down Expand Up @@ -123,7 +123,7 @@ const RevisionListItem = ({ revision }: RevisionListItemProps) => {
<ListItemGraphic>
<Icon icon={<AddIcon />} />
</ListItemGraphic>
{t`New from current`}
{t`New revision from current`}
</MenuItem>
)}

Expand All @@ -137,7 +137,7 @@ const RevisionListItem = ({ revision }: RevisionListItemProps) => {
<ListItemGraphic>
<Icon icon={<EditIcon />} />
</ListItemGraphic>
{t`Edit`}
{t`Edit revision`}
</MenuItem>
)}

Expand All @@ -155,7 +155,7 @@ const RevisionListItem = ({ revision }: RevisionListItemProps) => {
<ListItemGraphic>
<Icon icon={<UnpublishIcon />} />
</ListItemGraphic>
{t`Unpublish`}
{t`Unpublish revision`}
</MenuItem>
)}

Expand All @@ -166,7 +166,7 @@ const RevisionListItem = ({ revision }: RevisionListItemProps) => {
<ListItemGraphic>
<Icon icon={<DeleteIcon />} />
</ListItemGraphic>
{t` Delete`}
{t` Delete revision`}
</MenuItem>
</div>
)}
Expand Down

0 comments on commit 1d23eb7

Please sign in to comment.