woocommerce/templates/loop
Geert De Deckere a0b8ee16c5 Improved the result-count template
- Coding style: mid-line indenting which should be done using spaces.
- Renamed `$max` to `$total`.
- Simplified calculation of `$last`.
- Using en dash between range of values: http://en.wikipedia.org/wiki/Dash#Ranges_of_values.
- Tweaks to the “Showing 1–10 of 12 results” result text:
  - Converted `%s` to `%d`.
  - Used numbered placeholders (like `%1$d` and `%2$d`) which allows for more flexible translations since the placeholders can be swapped and repeated now.
  - Used `_x()` with comment to clarify placeholder order.
- Added two additional texts:
  - One for showing the only single result because “Showing 1–1 of 1 results” is overly verbose.
  - One for when all results are shown on the same page because “Showing 1–8 of 8 results” is a bit too verbose too.
2012-12-25 10:17:15 +01:00
..
add-to-cart.php Separate classes per product type, with new get_product function and hooks to change the classes which get loaded. #1497 2012-11-21 18:07:45 +00:00
loop-end.php WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
loop-start.php WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
pagination.php WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00
price.php [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
result-count.php Improved the result-count template 2012-12-25 10:17:15 +01:00
sale-flash.php Localisation spacing. 2012-10-16 10:45:33 +01:00
sorting.php WooCommerce 2.0 is coming! 2012-12-03 20:19:58 +01:00