From 323b9193d6bf8a797eb3f3b32e5448814e82a514 Mon Sep 17 00:00:00 2001 From: asadiqbal Date: Fri, 8 Jan 2016 12:35:24 +0500 Subject: [PATCH] WL-269 used gettext in .underscores --- cms/templates/js/active-video-upload-list.underscore | 2 +- cms/templates/js/asset-library.underscore | 4 ++-- cms/templates/js/certificate-details.underscore | 2 +- cms/templates/js/certificate-editor.underscore | 2 +- cms/templates/js/course_info_update.underscore | 6 +++--- cms/templates/js/signatory-details.underscore | 4 ++-- cms/templates/js/signatory-editor.underscore | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cms/templates/js/active-video-upload-list.underscore b/cms/templates/js/active-video-upload-list.underscore index 0345cea1e3..87b2e012f8 100644 --- a/cms/templates/js/active-video-upload-list.underscore +++ b/cms/templates/js/active-video-upload-list.underscore @@ -5,6 +5,6 @@
-

Active Uploads

+

<%= gettext("Active Uploads") %>

diff --git a/cms/templates/js/asset-library.underscore b/cms/templates/js/asset-library.underscore index 3743ebd204..cc5ac877e9 100644 --- a/cms/templates/js/asset-library.underscore +++ b/cms/templates/js/asset-library.underscore @@ -32,7 +32,7 @@ diff --git a/cms/templates/js/certificate-details.underscore b/cms/templates/js/certificate-details.underscore index 8e9788f7ae..7bed814728 100644 --- a/cms/templates/js/certificate-details.underscore +++ b/cms/templates/js/certificate-details.underscore @@ -52,7 +52,7 @@

<%= gettext("Certificate Signatories") %>

-

It is strongly recommended that you include four or fewer signatories. If you include additional signatories, preview the certificate in Print View to ensure the certificate will print correctly on one page.

+

<%= gettext("It is strongly recommended that you include four or fewer signatories. If you include additional signatories, preview the certificate in Print View to ensure the certificate will print correctly on one page.") %>

<% } %> diff --git a/cms/templates/js/certificate-editor.underscore b/cms/templates/js/certificate-editor.underscore index 6b5a107cf1..003951d91f 100644 --- a/cms/templates/js/certificate-editor.underscore +++ b/cms/templates/js/certificate-editor.underscore @@ -35,7 +35,7 @@

<%= gettext("Certificate Signatories") %>

-

It is strongly recommended that you include four or fewer signatories. If you include additional signatories, preview the certificate in Print View to ensure the certificate will print correctly on one page.

+

<%= gettext("It is strongly recommended that you include four or fewer signatories. If you include additional signatories, preview the certificate in Print View to ensure the certificate will print correctly on one page.") %>

diff --git a/cms/templates/js/course_info_update.underscore b/cms/templates/js/course_info_update.underscore index 9cdd76f72a..3b22f7c7c5 100644 --- a/cms/templates/js/course_info_update.underscore +++ b/cms/templates/js/course_info_update.underscore @@ -2,7 +2,7 @@
- +
@@ -23,8 +23,8 @@
- - + +

<%= diff --git a/cms/templates/js/signatory-details.underscore b/cms/templates/js/signatory-details.underscore index 584d0382eb..d2eca1b178 100644 --- a/cms/templates/js/signatory-details.underscore +++ b/cms/templates/js/signatory-details.underscore @@ -6,7 +6,7 @@

<% } %> -
Signatory <%= signatory_number %> 
+
<%= gettext("Signatory") %> <%= signatory_number %> 
@@ -25,7 +25,7 @@
<% if (signature_image_path != "") { %>
- Signature Image + <%= gettext('Signature Image') %>
<% } %>
diff --git a/cms/templates/js/signatory-editor.underscore b/cms/templates/js/signatory-editor.underscore index e055203349..0a2f3a4523 100644 --- a/cms/templates/js/signatory-editor.underscore +++ b/cms/templates/js/signatory-editor.underscore @@ -5,7 +5,7 @@ <%= gettext("Delete") %> <% } %> -
Signatory <%= signatory_number %>
+
<%= gettext("Signatory") %> <%= signatory_number %>
<%= gettext("Certificate Signatory Configuration") %> @@ -43,7 +43,7 @@ " value="<%= signature_image_path %>" aria-describedby="signatory-signature-<%= signatory_number %>-tip" readonly /> <%= gettext("Image must be in PNG format") %>
- +