diff --git a/lms/templates/instructor/instructor_dashboard_2/e-commerce.html b/lms/templates/instructor/instructor_dashboard_2/e-commerce.html index 49f23a9fab..564b5eac02 100644 --- a/lms/templates/instructor/instructor_dashboard_2/e-commerce.html +++ b/lms/templates/instructor/instructor_dashboard_2/e-commerce.html @@ -24,7 +24,7 @@ import pytz ${_('Change Enrollment Code Status')} %endif -

${_('Download a .csv file of all enrollment codes for this course')}

+

${_('Download a .csv file of all enrollment codes for this course.')}

@@ -32,7 +32,7 @@ import pytz

-

${_('Download a .csv file of all unused enrollment codes for this course')}

+

${_('Download a .csv file of all unused enrollment codes for this course.')}

@@ -40,7 +40,7 @@ import pytz

-

${_('Download a .csv file of all used enrollment codes for this course')}

+

${_('Download a .csv file of all used enrollment codes for this course.')}

@@ -56,9 +56,9 @@ import pytz

${_("Course Price")}

- ${_("Course Price: ")}${section_data['currency_symbol']}${section_data['course_price']} + ${_("Course price per seat: ")}${section_data['currency_symbol']}${section_data['course_price']} %if section_data['access']['finance_admin'] is True: - + ${_('Set Price')} + + ${_('Edit Price')} %endif
@@ -74,7 +74,7 @@ import pytz %endif
-

${_("Download a .csv file for all credit card purchases or for all invoices, regardless of status")}

+

${_("Download a .csv file for all credit card purchases or for all invoices, regardless of status.")}

@@ -96,7 +96,7 @@ import pytz
-

${_("Download a .csv file for all credit card purchases or for all invoices, regardless of status")}

+

${_("Download a .csv file for all credit card purchases or for all invoices, regardless of status.")}

@@ -104,11 +104,11 @@ import pytz
-

${_("Reports Available for Download")}

-

${_("The reports listed below are available for download. A link to every report remains available on this page, identified by the UTC date and time of generation. Reports are not deleted, so you will always be able to access previously generated reports from this page.")}

+

${_("Available Reports")}

+

${_("The following reports are available for download. Reports are not deleted. A link to every report remains available on this page, identified by the date and time (in UTC) that the report was generated.")}

## Translators: a table of URL links to report files appears after this sentence. -

${_("Note: To keep student data secure, you cannot save or email these links for direct access. Copies of links expire within 5 minutes.")}


+

${_("Note: To help protect learner data, links to these reports that you save outside of this page or that you send or receive in email expire after five minutes.")}


@@ -131,26 +131,26 @@ import pytz %endif %if section_data['coupons_enabled']:
-

${_("Coupons List")}

+

${_("Discount Code List")}

- ${_("Click to generate a CSV file of all Coupon Codes:")} - + ${_("Download a .csv file of all discount codes for this course.")} + - ${_("Coupons Information")} + ${_("Add Coupon")} + ${_("Discount Codes")} + ${_("Add Discount Code")}
%if len(section_data['coupons']): - + - + - + @@ -246,7 +246,7 @@ import pytz } if($('#invoice_number').val() == "") { $('#error-msg').attr('class','error-msgs') - $('#error-msg').html("${_('Invoice number should not be empty.')}").show(); + $('#error-msg').html("${_('The Invoice Number field cannot be empty.')}").show(); return } $.ajax({ @@ -290,7 +290,7 @@ import pytz $('input#edit_coupon_expiration_date').val(data.expiry_date); } else { - $('input#edit_coupon_expiration_date').val("${_('Never Expires')}"); + $('input#edit_coupon_expiration_date').val("${_('No Expiration Date')}"); } $('#edit-modal-trigger').click(); }, @@ -350,91 +350,91 @@ import pytz if (company_name == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the company name')}"); + registration_code_error.text("${_('Enter the company name.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (($.isNumeric(company_name))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the non-numeric value for company name')}"); + registration_code_error.text("${_('The company name cannot be a number.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (company_contact_name == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the company contact name')}"); + registration_code_error.text("${_('Enter the company contact name.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (($.isNumeric(company_contact_name))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the non-numeric value for company contact name')}"); + registration_code_error.text("${_('The company contact name cannot be a number.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (company_contact_email == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the company contact email')}"); + registration_code_error.text("${_('Enter the email address for the company contact.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (!(validateEmail(company_contact_email))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the valid email address')}"); + registration_code_error.text("${_('Enter a valid email address.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (recipient_name == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the recipient name')}"); + registration_code_error.text("${_('Enter the recipient name.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (($.isNumeric(recipient_name))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the non-numeric value for recipient name')}"); + registration_code_error.text("${_('The recipient name cannot be a number.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (recipient_email == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the recipient email')}"); + registration_code_error.text("${_('Enter the recipient email address.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (!(validateEmail(recipient_email))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the valid email address')}"); + registration_code_error.text("${_('Enter a valid email address.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (address_line == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the billing address')}"); + registration_code_error.text("${_('Enter the billing address.')}"); generate_registration_button.removeAttr('disabled'); return false; } if (unit_price == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the unit price')}"); + registration_code_error.text("${_('Enter the price per course seat.')}"); generate_registration_button.removeAttr('disabled'); return false } if (!($.isNumeric(unit_price))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the numeric value for unit price')}"); + registration_code_error.text("${_('Enter a numeric value for the price per course seat. Do not include currency symbols.')}"); generate_registration_button.removeAttr('disabled'); return false } if (total_registration_codes == '') { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the number of enrollment codes')}"); + registration_code_error.text("${_('Enter the number of enrollment codes.')}"); generate_registration_button.removeAttr('disabled'); return false } if (!($.isNumeric(total_registration_codes))) { registration_code_error.attr('style', 'display: block !important'); - registration_code_error.text("${_('Please enter the numeric value for number of enrollment codes')}"); + registration_code_error.text("${_('Enter a numeric value for the number of enrollment codes.')}"); generate_registration_button.removeAttr('disabled'); return false; } @@ -489,19 +489,19 @@ import pytz // Check if empty of not if (course_price === '') { $('#set_price_form #course_form_error').attr('style', 'display: block !important'); - $('#set_price_form #course_form_error').text("${_('Please enter the course price')}"); + $('#set_price_form #course_form_error').text("${_('Enter the price per course seat.')}"); $("#set_course_button").removeAttr('disabled'); return false; } if (!$.isNumeric(course_price)) { $("#set_course_button").removeAttr('disabled'); $('#set_price_form #course_form_error').attr('style', 'display: block !important'); - $('#set_price_form #course_form_error').text("${_('Please enter the numeric value for course price')}"); + $('#set_price_form #course_form_error').text("${_('Enter a numeric value for the price per course seat. Do not include currency symbols.')}"); return false; } if (currency == '') { $('#set_price_form #course_form_error').attr('style', 'display: block !important'); - $('#set_price_form #course_form_error').text("${_('Please select the currency')}"); + $('#set_price_form #course_form_error').text("${_('Select a currency.')}"); $("#set_course_button").removeAttr('disabled'); return false; } @@ -536,19 +536,19 @@ import pytz if (code === '') { $("#add_coupon_button").removeAttr('disabled'); $('#add_coupon_form #coupon_form_error').attr('style', 'display: block !important'); - $('#add_coupon_form #coupon_form_error').text("${_('Please enter the coupon code')}"); + $('#add_coupon_form #coupon_form_error').text("${_('Enter a discount code.')}"); return false; } if (parseInt(coupon_discount) > 100) { $('#add_coupon_form #coupon_form_error').attr('style', 'display: block !important'); - $('#add_coupon_form #coupon_form_error').text("${_('Please enter the coupon discount value less than or equal to 100')}"); + $('#add_coupon_form #coupon_form_error').text("${_('The discount percentage must be less than or equal to 100.')}"); $("#add_coupon_button").removeAttr('disabled'); return false; } if (!$.isNumeric(coupon_discount)) { $("#add_coupon_button").removeAttr('disabled'); $('#add_coupon_form #coupon_form_error').attr('style', 'display: block !important'); - $('#add_coupon_form #coupon_form_error').text("${_('Please enter the numeric value for discount')}"); + $('#add_coupon_form #coupon_form_error').text("${_('Enter a numeric value for the discount amount. Do not include the percent sign.')}"); return false; } $.ajax({
${_("Code")}${_("Discount Code")} ${_("Description")}${_("Expiry Date")}${_("Expiration Date")} ${_("Discount (%)")}${_("Redeem Count")}${_("Number Redeemed")} ${_("Actions")}