Context for 'Installed' and 'Already Installed' theme strings.

props SergeyBiryukov.
see #27889, for trunk.

Built from https://develop.svn.wordpress.org/trunk@28159


git-svn-id: http://core.svn.wordpress.org/trunk@27990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-19 18:08:17 +00:00
parent b7b2f53aa4
commit 3a9851d0fa
1 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ if ( $tab ) {
</div> </div>
<# if ( data.installed ) { #> <# if ( data.installed ) { #>
<div class="theme-installed"><?php _e( 'Already Installed' ); ?></div> <div class="theme-installed"><?php _x( 'Already Installed', 'theme' ); ?></div>
<# } #> <# } #>
</script> </script>
@ -211,7 +211,7 @@ if ( $tab ) {
<div class="wp-full-overlay-header"> <div class="wp-full-overlay-header">
<a href="#" class="close-full-overlay button-secondary"><?php _e( 'Close' ); ?></a> <a href="#" class="close-full-overlay button-secondary"><?php _e( 'Close' ); ?></a>
<# if ( data.installed ) { #> <# if ( data.installed ) { #>
<a href="#" class="button button-primary theme-install disabled"><?php _e( 'Installed' ); ?></a> <a href="#" class="button button-primary theme-install disabled"><?php _x( 'Installed', 'theme' ); ?></a>
<# } else { #> <# } else { #>
<a href="{{ data.install_url }}" class="button button-primary theme-install"><?php _e( 'Install' ); ?></a> <a href="{{ data.install_url }}" class="button button-primary theme-install"><?php _e( 'Install' ); ?></a>
<# } #> <# } #>