From b7c6b4ad5584c41d577d492f16c22ab307a7ea95 Mon Sep 17 00:00:00 2001 From: louyihua Date: Fri, 17 Apr 2015 01:05:46 +0800 Subject: [PATCH] Better i18n (cont.) 1. Fix sentence breaks inside `photo_reverification.html` and `midcourse_photo_reverification.html`. 2. Combine three setences inside `choose.html`. 3. Adding some punctuation marks to reduce duplicated strings with only different Punctuation marks in translation. 4. Move the colons inside the strings to be translated. This may be not necessary for now, but I think this may help translation by removing potential word meaning conflict. 5. Sorry for --- .../transcripts/messages/transcripts-choose.underscore | 6 +++++- common/templates/course_modes/choose.html | 6 +++--- .../verify_student/midcourse_photo_reverification.html | 4 ++-- lms/templates/verify_student/photo_reverification.html | 10 +++++----- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/cms/templates/js/video/transcripts/messages/transcripts-choose.underscore b/cms/templates/js/video/transcripts/messages/transcripts-choose.underscore index 9869c40e38..0fa28cf8f7 100644 --- a/cms/templates/js/video/transcripts/messages/transcripts-choose.underscore +++ b/cms/templates/js/video/transcripts/messages/transcripts-choose.underscore @@ -18,7 +18,11 @@ <% _.each(html5_list, function(value, index) { var type = grouped_list[value][0].type, file_name = value + ((type) ? ('.' + type) : ''), - message = interpolate(gettext("Timed Transcript from %(filename)s"), { filename: file_name }, true); + message = interpolate( + gettext("Timed Transcript from %(filename)s"), + { filename: file_name }, + true + ); %>