woothemes/woocommerce — Issue #348: Add context to __('From:', 'woothemes')
Author: remcotolsma
Created: 2011-12-09 10:00:12+00:00
State: open

The string 'From:' is used for minimum prices and dates:

Minimum prices:
http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/classes/product.class.php#L574
http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/classes/product.class.php#L580

Dates:
http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/admin/admin-reports.php#L543
http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/admin/admin-reports.php#L897
http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/admin/admin-reports.php#L991

In the Dutch translation it would be nice if we could translate those two 'From:' variants separate. In the context of an minimum price we would like to use:

From: = Vanaf:

In the context of an date period we would like to use:

From: = Van:

Could you add an context to the minimum prices translation string?

http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/classes/product.class.php#L574
http://plugins.trac.wordpress.org/browser/woocommerce/tags/1.3.1/classes/product.class.php#L580

__('From:', 'woothemes')
_x('From:', 'min_price', 'woothemes')

http://codex.wordpress.org/Function_Reference/_x