Skip to content

Commit

Permalink
Fixed hardcoded strings in woocommerce/single-product/photoswipe.php …
Browse files Browse the repository at this point in the history
…template
  • Loading branch information
claudiosanches committed Nov 4, 2016
1 parent f7b2af7 commit 4982e91
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions templates/single-product/photoswipe.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.7.0
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.7.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand Down Expand Up @@ -53,13 +53,13 @@

<div class="pswp__counter"></div>

<button class="pswp__button pswp__button--close" aria-label="Close (Esc)"></button>
<button class="pswp__button pswp__button--close" aria-label="<?php esc_attr_e( 'Close (Esc)', 'woocommerce' ); ?>"></button>

<button class="pswp__button pswp__button--share" aria-label="Share"></button>
<button class="pswp__button pswp__button--share" aria-label="<?php esc_attr_e( 'Share', 'woocommerce' ); ?>"></button>

<button class="pswp__button pswp__button--fs" aria-label="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--fs" aria-label="<?php esc_attr_e( 'Toggle fullscreen', 'woocommerce' ); ?>"></button>

<button class="pswp__button pswp__button--zoom" aria-label="Zoom in/out"></button>
<button class="pswp__button pswp__button--zoom" aria-label="<?php esc_attr_e( 'Zoom in/out', 'woocommerce' ); ?>"></button>

<!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
<!-- element will get class pswp__preloader--active when preloader is running -->
Expand All @@ -76,9 +76,9 @@
<div class="pswp__share-tooltip"></div>
</div>

<button class="pswp__button pswp__button--arrow--left" aria-label="Previous (arrow left)"></button>
<button class="pswp__button pswp__button--arrow--left" aria-label="<?php esc_attr_e( 'Previous (arrow left)', 'woocommerce' ); ?>"></button>

<button class="pswp__button pswp__button--arrow--right" aria-label="Next (arrow right)"></button>
<button class="pswp__button pswp__button--arrow--right" aria-label="<?php esc_attr_e( 'Next (arrow right)', 'woocommerce' ); ?>"></button>

<div class="pswp__caption">
<div class="pswp__caption__center"></div>
Expand Down

0 comments on commit 4982e91

Please sign in to comment.