From ac1ac2d93d297d8544c81916f7fdce57e9c1b4d6 Mon Sep 17 00:00:00 2001
From: Adam Palay
Date: Thu, 1 Aug 2013 13:23:37 -0400
Subject: [PATCH] i18n template fixes
syntax fix
---
lms/templates/contact.html | 4 ++--
lms/templates/help_modal.html | 2 +-
lms/templates/name_changes.html | 4 ++--
lms/templates/test_center_register.html | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lms/templates/contact.html b/lms/templates/contact.html
index cb35aca359..c23e74c19a 100644
--- a/lms/templates/contact.html
+++ b/lms/templates/contact.html
@@ -26,7 +26,7 @@
contact_email=settings.CONTACT_EMAIL,
faq_link_start=''.format(url=reverse('faq_edx')),
faq_link_end='',
- fb_link_start=''.
+ fb_link_start='',
fb_link_end=''
)}
@@ -45,7 +45,7 @@
)}
${_("Universities")}
- ${_('If you are a university wishing to collaborate with or if you have questions about {platform_name}, please email {email}.'.format(email='university@edx.org', platform_name="edX")}
+ ${_('If you are a university wishing to collaborate with or if you have questions about {platform_name}, please email {email}.').format(email='university@edx.org', platform_name="edX")}
diff --git a/lms/templates/help_modal.html b/lms/templates/help_modal.html
index abec5cd21d..6692d02d09 100644
--- a/lms/templates/help_modal.html
+++ b/lms/templates/help_modal.html
@@ -15,7 +15,7 @@
- ${_('{span_start}{platform_name}{span_end} Help').format(span_start='', span_end='').format(platform_name=settings.PLATFORM_NAME)}
+ ${_('{span_start}{platform_name}{span_end} Help').format(span_start='', span_end='', platform_name=settings.PLATFORM_NAME)}
diff --git a/lms/templates/name_changes.html b/lms/templates/name_changes.html
index d6f109a69e..58ea7db9be 100644
--- a/lms/templates/name_changes.html
+++ b/lms/templates/name_changes.html
@@ -8,7 +8,7 @@ function name_confirm(id) {
if(data.success){
$("#div"+id).html(${_("Accepted")});
} else {
- alert(${_('Error'));
+ alert(${_('Error')});
} }
});
}
@@ -19,7 +19,7 @@ function name_deny(id) {
if(data.success){
$("#div"+id).html(${_("Rejected")});
} else {
- alert(${_('Error'));
+ alert(${_('Error')});
} }
});
}
diff --git a/lms/templates/test_center_register.html b/lms/templates/test_center_register.html
index 8dae603832..df6845e577 100644
--- a/lms/templates/test_center_register.html
+++ b/lms/templates/test_center_register.html
@@ -476,7 +476,7 @@