Skip to content

Commit

Permalink
Fixing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
AzrielNefezen committed Oct 8, 2018
1 parent 6cee711 commit 54491b2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 34 deletions.
6 changes: 3 additions & 3 deletions src/Jigoshop/Admin/SystemInfo/SystemStatusTab.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public function getSections()
'id' => 'wp-multisite',
'name' => 'wp-multisite',
'title' => __('WP Multisite', 'jigoshop-ecommerce'),
'tip' => __('The maximum amount of memory (RAM) that your site can use at one time.', 'jigoshop-ecommerce'),
'tip' => __('Whether or not you have WordPress Multisite enabled.', 'jigoshop-ecommerce'),
'type' => 'constant',
'value' => is_multisite() ? $this->yes : $this->no,
],
Expand Down Expand Up @@ -276,7 +276,7 @@ public function getSections()
'id' => 'session',
'name' => 'session',
'title' => __('Session', 'jigoshop-ecommerce'),
'tip' => __('Whether fetching remote files is allowed. This option is used by many Jigoshop extensions.', 'jigoshop-ecommerce'),
'tip' => __('Whether PHP sessions are working properly.', 'jigoshop-ecommerce'),
'type' => 'constant',
'value' => (session_id() != null && isset($_SESSION)) ? $this->yes : $this->no,
],
Expand Down Expand Up @@ -578,7 +578,7 @@ public function getSections()
'id' => 'parent-theme-author-url',
'name' => 'parent-theme-author-url',
'title' => __('Parent Theme Author URL', 'jigoshop-ecommerce'),
'tip' => __('The installed version of the parent theme.', 'jigoshop-ecommerce'),
'tip' => __('The parent theme developers URL.', 'jigoshop-ecommerce'),
'type' => 'constant',
'value' => is_child_theme() ? wp_get_theme($this->wp->wpGetTheme()->display('Template'))->display('AuthorURI') : $this->no
],
Expand Down
63 changes: 32 additions & 31 deletions templates/shop/list/product.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,37 @@
$show_add_to_cart_form = !isset($show_add_to_cart_form) || $show_add_to_cart_form;
?>
<li class="product">
<?php do_action('jigoshop\shop\list\product\before', $product); ?>
<div class="js-product">
<?php do_action('jigoshop\shop\list\product\before', $product); ?>
<div class="js-product">

<a class="image" href="<?= $product->getLink(); ?>">
<?php do_action('jigoshop\shop\list\product\before_thumbnail', $product); ?>
<?php if (Product::isOnSale($product)): ?>
<span class="on-sale"><?= apply_filters('jigoshop\shop\list\product\sale_text', __('Sale!', 'jigoshop-ecommerce'), $product) ?></span>
<?php endif; ?>
<div class="js-product-img">
<span class="helper"></span>
<?= Product::getFeaturedImage($product, Options::IMAGE_LARGE); ?>
</div>
</a>
</div>
<div class="js-product-info">
<div class="price-option">
<a href="<?= $product->getLink(); ?>">
<?php do_action('jigoshop\shop\list\product\before_title', $product); ?>
<strong><?= $product->getName(); ?></strong>
<?php do_action('jigoshop\shop\list\product\after_title', $product); ?>
</a>
<?php do_action('jigoshop\shop\list\product\before_button', $product); ?>
<span class="price"><?= Product::getPriceHtml($product); ?></span>
</div>
<div class="cart-option">
<?php if($show_add_to_cart_form) : ?>
<?php Product::printAddToCartForm($product, 'list'); ?>
<?php endif; ?>
<a class="js-details-link btn" href="<?= $product->getLink(); ?>"><i class="fas fa-bars"></i> Details</a>
<?php do_action('jigoshop\shop\list\product\after', $product); ?>
</div>
</div>
<a class="image" href="<?= $product->getLink(); ?>">
<?php do_action('jigoshop\shop\list\product\before_thumbnail', $product); ?>
<?php if (Product::isOnSale($product)): ?>
<span class="on-sale"><?= apply_filters('jigoshop\shop\list\product\sale_text', __('Sale!', 'jigoshop-ecommerce'), $product) ?></span>
<?php endif; ?>
<div class="js-product-img">
<span class="helper"></span>
<?= Product::getFeaturedImage($product, Options::IMAGE_LARGE); ?>
</div>
</a>
</div>
<div class="js-product-info">
<div class="price-option">
<a href="<?= $product->getLink(); ?>">
<?php do_action('jigoshop\shop\list\product\before_title', $product); ?>
<strong><?= $product->getName(); ?></strong>
<?php do_action('jigoshop\shop\list\product\after_title', $product); ?>
</a>
<?php do_action('jigoshop\shop\list\product\before_button', $product); ?>
<span class="price"><?= Product::getPriceHtml($product); ?></span>
</div>
<div class="cart-option">
<?php if ($show_add_to_cart_form) : ?>
<?php Product::printAddToCartForm($product, 'list'); ?>
<?php endif; ?>
<a class="js-details-link btn" href="<?= $product->getLink(); ?>"><i
class="fas fa-bars"></i> <?php _("Details", "jigoshop-ecommerce"); ?></a>
<?php do_action('jigoshop\shop\list\product\after', $product); ?>
</div>
</div>
</li>

0 comments on commit 54491b2

Please sign in to comment.