From 64db0e78b59131e73e2caec57770cd18058be74c Mon Sep 17 00:00:00 2001 From: Ned Batchelder <ned@edx.org> Date: Fri, 14 Feb 2014 18:08:47 -0500 Subject: [PATCH] Fix i18n errors found along the way. --- lms/templates/courseware/accordion.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/courseware/accordion.html b/lms/templates/courseware/accordion.html index b261e26..ae344bd 100644 --- a/lms/templates/courseware/accordion.html +++ b/lms/templates/courseware/accordion.html @@ -31,7 +31,7 @@ due_date = '' else: formatted_string = get_time_display(section['due'], due_date_display_format, coerce_tz=settings.TIME_ZONE) - due_date = '' if len(formatted_string)==0 else _('due {date}'.format(date=formatted_string)) + due_date = '' if len(formatted_string)==0 else _('due {date}').format(date=formatted_string) %> <p class="subtitle">${section['format']} ${due_date}</p> </a> -- libgit2 0.26.0