From 93d1006f0faf450276896888f86d889352dd354c Mon Sep 17 00:00:00 2001 From: Patrick Rauland Date: Fri, 14 Jun 2013 12:52:34 -0500 Subject: [PATCH] Adding translatable page title to download file error page --- woocommerce-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woocommerce-functions.php b/woocommerce-functions.php index 272d11d731f..dcadb97e5c3 100644 --- a/woocommerce-functions.php +++ b/woocommerce-functions.php @@ -1004,7 +1004,7 @@ function woocommerce_download_product() { if ( $user_id && get_option( 'woocommerce_downloads_require_login' ) == 'yes' ) { if ( ! is_user_logged_in() ) - wp_die( __( 'You must be logged in to download files.', 'woocommerce' ) . ' ' . __( 'Login →', 'woocommerce' ) . '' ); + wp_die( __( 'You must be logged in to download files.', 'woocommerce' ) . ' ' . __( 'Login →', 'woocommerce' ) . '', __( 'Log in to Download Files', 'woocommerce' ) ); elseif ( $user_id != get_current_user_id() ) wp_die( __( 'This is not your download link.', 'woocommerce' ) );