translators

This commit is contained in:
Mike Jolley 2017-12-05 13:41:56 +00:00
parent 4e7da70185
commit 5a5f179346
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ class WC_Admin_Permalink_Settings {
* Show the settings.
*/
public function settings() {
echo wpautop( sprintf( __( 'If you like, you may enter custom structures for your product URLs here. For example, using <code>shop</code> would make your product links like <code>%sshop/sample-product/</code>. This setting affects product URLs only, not things such as product categories.', 'woocommerce' ), home_url( '/' ) ) );
/* translators: %s: Home URL */
echo wpautop( sprintf( __( 'If you like, you may enter custom structures for your product URLs here. For example, using <code>shop</code> would make your product links like <code>%sshop/sample-product/</code>. This setting affects product URLs only, not things such as product categories.', 'woocommerce' ), esc_url( home_url( '/' ) ) ) );
// Get shop page
$shop_page_id = wc_get_page_id( 'shop' );