-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activity Log: Tasklist restict the task list to 3 items on page load #26710
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ class ActivityLogTaskUpdate extends Component { | |
slug: PropTypes.string, | ||
version: PropTypes.string, | ||
type: PropTypes.string, | ||
updateType: PropTypes.string, | ||
|
||
linked: PropTypes.bool, | ||
goToPage: PropTypes.func, | ||
|
@@ -42,17 +41,15 @@ class ActivityLogTaskUpdate extends Component { | |
handleNameClick = () => this.props.goToPage( this.props.slug, this.props.type ); | ||
|
||
render() { | ||
const { | ||
translate, | ||
name, | ||
version, | ||
type, | ||
updateType, | ||
disable, | ||
linked, | ||
slug, | ||
siteSlug, | ||
} = this.props; | ||
const { translate, name, version, type, disable, linked, slug, siteSlug } = this.props; | ||
|
||
let updateType = translate( 'Plugin update available' ); | ||
if ( 'theme' === type ) { | ||
updateType = translate( 'Theme update available' ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi! I've found a possible matching string that has already been translated 21 times: Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented). |
||
} else if ( 'core' === type ) { | ||
updateType = translate( 'Core update available' ); | ||
} | ||
|
||
const url = | ||
'plugin' === type ? `/plugins/${ slug }/${ siteSlug }` : `/theme/${ slug }/${ siteSlug }`; | ||
return ( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! I've found a possible matching string that has already been translated 19 times:
translate( 'Plugin update available', 'Plugin updates available' )
ES Score: 16See 1 additional suggestion in the PR translation status page
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).