Skip to content

Commit 09b5d08

Browse files
authored
Merge pull request #3617 from Parsely/dependabot/npm_and_yarn/wordpress/eslint-plugin-22.15.0
2 parents 5b36140 + ba7110e commit 09b5d08

File tree

7 files changed

+38
-33
lines changed

7 files changed

+38
-33
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url', 'wp-wordcount'), 'version' => '56726f91b0ebe7c12b61');
1+
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-url', 'wp-wordcount'), 'version' => '69bcaa223a337d85b847');

build/content-helper/editor-sidebar.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 25 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@wordpress/editor": "^14.26.0",
6969
"@wordpress/element": "^6.29.0",
7070
"@wordpress/env": "^10.26.0",
71-
"@wordpress/eslint-plugin": "^22.12.0",
71+
"@wordpress/eslint-plugin": "^22.15.0",
7272
"@wordpress/hooks": "^4.28.0",
7373
"@wordpress/i18n": "^5.26.0",
7474
"@wordpress/icons": "^10.26.0",

src/content-helper/dashboard-page/components/posts-table/components/suggestion-bubble.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const SuggestionBubble = ( { postId, numberOfSuggestions }: SuggestionBub
4040
navigate( `/engagement-boost/${ postId }` );
4141
};
4242

43-
const pendingSuggestionsText = sprintf( /* translators: 1: Number of suggestions generated on this post */
43+
const pendingSuggestionsText = sprintf( /* translators: %d: Number of suggestions generated on this post */
4444
_n( '%d pending suggestion', '%d pending suggestions', numberOfSuggestions, 'wp-parsely' ),
4545
numberOfSuggestions
4646
);

src/content-helper/editor-sidebar/performance-stats/provider.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class PerformanceStatsProvider extends BaseProvider {
125125
const postTitle = select( 'core/editor' ).getEditedPostAttribute( 'title' ) ?? '';
126126
return Promise.reject( new ContentHelperError(
127127
sprintf(
128-
/* translators: Title of the published post */
128+
/* translators: %s: Title of the published post */
129129
__( '<strong>%s</strong> has 0 views, or the Parse.ly API returned no data.',
130130
'wp-parsely' ), postTitle
131131
), ContentHelperErrorCode.ParselyApiReturnedNoData, ''
@@ -136,7 +136,7 @@ export class PerformanceStatsProvider extends BaseProvider {
136136
if ( response.length > 1 ) {
137137
return Promise.reject( new ContentHelperError(
138138
sprintf(
139-
/* translators: URL of the published post */
139+
/* translators: %d: URL of the published post */
140140
__( 'Multiple results were returned for the post %d by the Parse.ly API.',
141141
'wp-parsely' ), postId
142142
), ContentHelperErrorCode.ParselyApiReturnedTooManyResults

src/content-helper/editor-sidebar/smart-linking/component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export const SmartLinkingPanel = ( {
265265
} else if ( numAddedLinks > 0 ) {
266266
createNotice(
267267
'success',
268-
/* translators: %d: number of smart links applied */
268+
/* translators: %s: number of smart links applied */
269269
sprintf( __( '%s Smart Links successfully applied.', 'wp-parsely' ), numAddedLinks ),
270270
{
271271
type: 'snackbar',
@@ -499,7 +499,7 @@ export const SmartLinkingPanel = ( {
499499
// Handle the case where the operation was aborted by the user.
500500
if ( e.code && e.code === ContentHelperErrorCode.ParselyAborted ) {
501501
contentHelperError.message = sprintf(
502-
/* translators: %d: number of retry attempts, %s: attempt plural */
502+
/* translators: 1: number of retry attempts, 2: attempt plural */
503503
__( 'The Smart Linking process was cancelled after %1$d %2$s.', 'wp-parsely' ),
504504
e.numRetries,
505505
_n( 'attempt', 'attempts', e.numRetries, 'wp-parsely' )
@@ -695,7 +695,7 @@ export const SmartLinkingPanel = ( {
695695
className="wp-parsely-smart-linking-suggested-links"
696696
>
697697
{ sprintf(
698-
/* translators: 1 - number of smart links generated */
698+
/* translators: %s: number of smart links generated */
699699
__( 'Successfully added %s Smart Links.', 'wp-parsely' ),
700700
numAddedLinks > 0 ? numAddedLinks : suggestedLinks.length,
701701
) }

0 commit comments

Comments
 (0)