| @@ -275,8 +275,9 @@ | ||
| 275 | 275 | <span id="metasync-seo-restore-text" style="color: var(--dashboard-text-primary); font-size: 13px; font-weight: 600;"> |
| 276 | 276 | <?php |
| 277 | 277 | if ($is_running) { |
| 278 | 278 | printf( |
| 279 | + /* translators: 1: number of items already restored, 2: total number of items. */ | |
| 279 | 280 | esc_html__('Restoring %1$d of %2$d items...', 'metasync'), |
| 280 | 281 | (int) $batch['processed'], |
| 281 | 282 | (int) $batch['total'] |
| 282 | 283 | ); |
| @@ -353,8 +354,9 @@ | ||
| 353 | 354 | if (restoreBtn) { |
| 354 | 355 | restoreBtn.addEventListener('click', function () { |
| 355 | 356 | var confirmMsg = <?php echo wp_json_encode( |
| 356 | 357 | sprintf( |
| 358 | + /* translators: %d: number of objects that will be restored. */ | |
| 357 | 359 | __('This will restore the original SEO values on all %d objects and disable syncing to other plugins. Are you sure you want to proceed?', 'metasync'), |
| 358 | 360 | $total_saved |
| 359 | 361 | ) |
| 360 | 362 | ); ?>; |
| @@ -595,12 +597,15 @@ | ||
| 595 | 597 | private static function get_confirmation_text($product, $otto) { |
| 596 | 598 | return sprintf( |
| 597 | 599 | /* translators: 1: product name, 2: OTTO product name. */ |
| 598 | 600 | __( |
| 599 | - "%1\$s will write the SEO title, meta description, focus keyword, Open Graph and Twitter values, canonical URL and schema %2\$s suggests into your active SEO plugin's fields, replacing what is there now.\n\n" | |
| 600 | - . "The value each field held before is saved first, so it can be restored.\n\n" | |
| 601 | - . "Turning this off later stops further writes. It does not undo writes already made — restoring the saved originals does that.\n\n" | |
| 602 | - . "This does not cover image alt text, heading rewrites or link corrections. Those change WordPress content directly and are controlled separately.", | |
| 601 | + "%1\$s will write the SEO title, meta description, focus keyword, Open Graph and Twitter values, canonical URL and schema %2\$s suggests into your active SEO plugin's fields, replacing what is there now. | |
| 602 | + | |
| 603 | +The value each field held before is saved first, so it can be restored. | |
| 604 | + | |
| 605 | +Turning this off later stops further writes. It does not undo writes already made — restoring the saved originals does that. | |
| 606 | + | |
| 607 | +This does not cover image alt text, heading rewrites or link corrections. Those change WordPress content directly and are controlled separately.", | |
| 603 | 608 | 'metasync' |
| 604 | 609 | ), |
| 605 | 610 | $product, |
| 606 | 611 | $otto |