enhancement(netlify-cms-core): translate workflow card last modified text (#2025)
This commit is contained in:
parent
ebba686430
commit
ef50a93efc
@ -115,7 +115,10 @@ const WorkflowCard = ({
|
||||
<CardCollection>{collectionName}</CardCollection>
|
||||
<CardTitle>{title}</CardTitle>
|
||||
<CardDate>
|
||||
{timestamp} by {authorLastChange}
|
||||
{t('workflow.workflowCard.lastChange', {
|
||||
date: timestamp || '',
|
||||
author: authorLastChange || '',
|
||||
})}
|
||||
</CardDate>
|
||||
<CardBody>{body}</CardBody>
|
||||
</WorkflowLink>
|
||||
|
@ -141,6 +141,7 @@ export function getPhrases() {
|
||||
'%{smart_count} entry waiting for review, %{readyCount} ready to go live. |||| %{smart_count} entries waiting for review, %{readyCount} ready to go live. ',
|
||||
},
|
||||
workflowCard: {
|
||||
lastChange: '%{date} by %{author}',
|
||||
deleteChanges: 'Delete changes',
|
||||
deleteNewEntry: 'Delete new entry',
|
||||
publishChanges: 'Publish changes',
|
||||
|
Loading…
x
Reference in New Issue
Block a user