Merge pull request #2139 from edx/ned/add-apostrophe-to-lorem

Add apostrophe to lorem and fix single-quoted strings
This commit is contained in:
Ned Batchelder
2014-01-13 13:48:23 -08:00
9 changed files with 36 additions and 34 deletions

View File

@@ -153,7 +153,7 @@ function goto( mode)
%if offline_grade_log:
<p>
<span class="copy-warning">Pre-computed grades ${offline_grade_log} available: Use?
<input type='checkbox' name='use_offline_grades' value='${_("yes")}'>
<input type='checkbox' name='use_offline_grades' value="${_("yes")}">
</span>
</p>
%endif

View File

@@ -37,7 +37,7 @@
window.top.location.href = "${reverse('register_user')}?course_id=${course.id}&enrollment_action=enroll";
} else {
$('#register_error').html(
(xhr.responseText ? xhr.responseText : '${_("An error occurred. Please try again later.")}')
(xhr.responseText ? xhr.responseText : "${_("An error occurred. Please try again later.")}")
).css("display", "block");
}
});

View File

@@ -12,7 +12,7 @@
<a href="#help-modal" rel="leanModal" role="button">${_("Help")}</a>
</div>
<section id="help-modal" class="modal" aria-hidden="true" role="dialog" aria-label='${_("{platform_name} Help").format(platform_name=settings.PLATFORM_NAME)}'>
<section id="help-modal" class="modal" aria-hidden="true" role="dialog" aria-label="${_("{platform_name} Help").format(platform_name=settings.PLATFORM_NAME)}">
<div class="inner-wrapper" id="help_wrapper">
## TODO: find a way to refactor this
<button class="close-modal "tabindex="0">&#10005; <span class="sr">${_('Close Modal')}</span></button>