wp/wp-admin/includes/class-theme-upgrader-skin.php
changeset 21 48c4eec2b7e6
parent 18 be944660c56a
--- a/wp/wp-admin/includes/class-theme-upgrader-skin.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-admin/includes/class-theme-upgrader-skin.php	Fri Sep 05 18:40:08 2025 +0200
@@ -51,7 +51,7 @@
 	}
 
 	/**
-	 * Action to perform following a single theme update.
+	 * Performs an action following a single theme update.
 	 *
 	 * @since 2.8.0
 	 */
@@ -90,7 +90,7 @@
 						'<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>',
 						esc_url( $customize_url ),
 						__( 'Customize' ),
-						/* translators: %s: Theme name. */
+						/* translators: Hidden accessibility text. %s: Theme name. */
 						sprintf( __( 'Customize &#8220;%s&#8221;' ), $name )
 					);
 				}
@@ -101,7 +101,7 @@
 						'<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>',
 						esc_url( $customize_url ),
 						__( 'Live Preview' ),
-						/* translators: %s: Theme name. */
+						/* translators: Hidden accessibility text. %s: Theme name. */
 						sprintf( __( 'Live Preview &#8220;%s&#8221;' ), $name )
 					);
 				}
@@ -110,8 +110,8 @@
 					'<a href="%s" class="activatelink">' .
 					'<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>',
 					esc_url( $activate_link ),
-					__( 'Activate' ),
-					/* translators: %s: Theme name. */
+					_x( 'Activate', 'theme' ),
+					/* translators: Hidden accessibility text. %s: Theme name. */
 					sprintf( _x( 'Activate &#8220;%s&#8221;', 'theme' ), $name )
 				);
 			}