diff --git a/common/lib/xmodule/xmodule/course_module.py b/common/lib/xmodule/xmodule/course_module.py index 6f675f30c8..d1620c1ae4 100644 --- a/common/lib/xmodule/xmodule/course_module.py +++ b/common/lib/xmodule/xmodule/course_module.py @@ -354,6 +354,18 @@ class CourseFields(object): # Ensure that courses imported from XML keep their image default="images_course_image.jpg" ) + + ## Course level Certificate Name overrides. + cert_name_short = String( + help="Sitewide name of completion statements given to students (short).", + scope=Scope.settings, + default="" + ) + cert_name_long = String( + help="Sitewide name of completion statements given to students (long).", + scope=Scope.settings, + default="" + ) # An extra property is used rather than the wiki_slug/number because # there are courses that change the number for different runs. This allows diff --git a/conf/locale/eo/LC_MESSAGES/django.mo b/conf/locale/eo/LC_MESSAGES/django.mo index f42987a63a..ddf5684802 100644 Binary files a/conf/locale/eo/LC_MESSAGES/django.mo and b/conf/locale/eo/LC_MESSAGES/django.mo differ diff --git a/conf/locale/eo/LC_MESSAGES/django.po b/conf/locale/eo/LC_MESSAGES/django.po index 04550852af..f157b8e58e 100644 --- a/conf/locale/eo/LC_MESSAGES/django.po +++ b/conf/locale/eo/LC_MESSAGES/django.po @@ -37,7 +37,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2014-02-25 10:18-0500\n" +"POT-Creation-Date: 2014-02-25 10:11-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -4250,22 +4250,27 @@ msgstr "" msgid "Change your name" msgstr "Çhängé ýöür nämé Ⱡ'σ#" +#. Translators: note that {platform} {cert_name_short} will look something +#. like: "edX certificate". Please do not change the order of these +#. placeholders. #: lms/templates/dashboard.html -#: lms/templates/verify_student/_modal_editname.html msgid "" -"To uphold the credibility of {platform} certificates, all name changes will " -"be logged and recorded." +"To uphold the credibility of your {platform} {cert_name_short}, all name " +"changes will be logged and recorded." msgstr "" -"Tö üphöld thé çrédïßïlïtý öf {platform} çértïfïçätés, äll nämé çhängés wïll " -"ßé löggéd änd réçördéd. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт,#" +"Tö üphöld thé çrédïßïlïtý öf ýöür {platform} {cert_name_short}, äll nämé " +"çhängés wïll ßé löggéd änd réçördéd. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт#" +#. Translators: note that {platform} {cert_name_short} will look something +#. like: "edX certificate". Please do not change the order of these +#. placeholders. #: lms/templates/dashboard.html msgid "" -"Enter your desired full name, as it will appear on the {platform} " -"certificates:" +"Enter your desired full name, as it will appear on your {platform} " +"{cert_name_short}:" msgstr "" -"Éntér ýöür désïréd füll nämé, äs ït wïll äppéär ön thé {platform} " -"çértïfïçätés: Ⱡ'σяєм ιρѕυм ∂σłσя ѕι#" +"Éntér ýöür désïréd füll nämé, äs ït wïll äppéär ön ýöür {platform} " +"{cert_name_short}: Ⱡ'σяєм ιρѕυм ∂σłσя #" #: lms/templates/dashboard.html #: lms/templates/verify_student/_modal_editname.html @@ -6699,45 +6704,45 @@ msgid "Your final grade:" msgstr "Ýöür fïnäl grädé: Ⱡ'σ#" #: lms/templates/dashboard/_dashboard_certificate_information.html -msgid "Grade required for a certificate:" -msgstr "Grädé réqüïréd för ä çértïfïçäté: Ⱡ'σяєм ι#" +msgid "Grade required for a {cert_name_short}:" +msgstr "Grädé réqüïréd för ä {cert_name_short}: Ⱡ'σяєм#" #: lms/templates/dashboard/_dashboard_certificate_information.html msgid "" -"Your verified certificate is being held pending confirmation that the " -"issuance of your certificate is in compliance with strict U.S. embargoes on " +"Your verified {cert_name_long} is being held pending confirmation that the " +"issuance of your {cert_name_short} is in compliance with strict U.S. " +"embargoes on Iran, Cuba, Syria and Sudan. If you think our system has " +"mistakenly identified you as being connected with one of those countries, " +"please let us know by contacting {email}. If you would like a refund on your" +" {cert_name_long}, please contact our billing address {billing_email}" +msgstr "" +"Ýöür vérïfïéd {cert_name_long} ïs ßéïng héld péndïng çönfïrmätïön thät thé " +"ïssüänçé öf ýöür {cert_name_short} ïs ïn çömplïänçé wïth strïçt Û.S. " +"émßärgöés ön Ìrän, Çüßä, Sýrïä änd Südän. Ìf ýöü thïnk öür sýstém häs " +"mïstäkénlý ïdéntïfïéd ýöü äs ßéïng çönnéçtéd wïth öné öf thösé çöüntrïés, " +"pléäsé lét üs knöw ßý çöntäçtïng {email}. Ìf ýöü wöüld lïké ä réfünd ön ýöür" +" {cert_name_long}, pléäsé çöntäçt öür ßïllïng äddréss {billing_email} Ⱡ'σяєм" +" ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя " +"ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα αłιq#" + +#: lms/templates/dashboard/_dashboard_certificate_information.html +msgid "" +"Your {cert_name_long} is being held pending confirmation that the issuance " +"of your {cert_name_short} is in compliance with strict U.S. embargoes on " "Iran, Cuba, Syria and Sudan. If you think our system has mistakenly " "identified you as being connected with one of those countries, please let us" -" know by contacting {email}. If you would like a refund on your certificate," -" please contact our billing address {billing_email}" +" know by contacting {email}." msgstr "" -"Ýöür vérïfïéd çértïfïçäté ïs ßéïng héld péndïng çönfïrmätïön thät thé " -"ïssüänçé öf ýöür çértïfïçäté ïs ïn çömplïänçé wïth strïçt Û.S. émßärgöés ön " +"Ýöür {cert_name_long} ïs ßéïng héld péndïng çönfïrmätïön thät thé ïssüänçé " +"öf ýöür {cert_name_short} ïs ïn çömplïänçé wïth strïçt Û.S. émßärgöés ön " "Ìrän, Çüßä, Sýrïä änd Südän. Ìf ýöü thïnk öür sýstém häs mïstäkénlý " "ïdéntïfïéd ýöü äs ßéïng çönnéçtéd wïth öné öf thösé çöüntrïés, pléäsé lét üs" -" knöw ßý çöntäçtïng {email}. Ìf ýöü wöüld lïké ä réfünd ön ýöür çértïfïçäté," -" pléäsé çöntäçt öür ßïllïng äddréss {billing_email} Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт " -"αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт " -"łαвσяє єт ∂σłσяє мαgηα αłιqυα. υт є#" +" knöw ßý çöntäçtïng {email}. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя " +"α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υ#" #: lms/templates/dashboard/_dashboard_certificate_information.html -msgid "" -"Your certificate is being held pending confirmation that the issuance of " -"your certificate is in compliance with strict U.S. embargoes on Iran, Cuba, " -"Syria and Sudan. If you think our system has mistakenly identified you as " -"being connected with one of those countries, please let us know by " -"contacting {email}." -msgstr "" -"Ýöür çértïfïçäté ïs ßéïng héld péndïng çönfïrmätïön thät thé ïssüänçé öf " -"ýöür çértïfïçäté ïs ïn çömplïänçé wïth strïçt Û.S. émßärgöés ön Ìrän, Çüßä, " -"Sýrïä änd Südän. Ìf ýöü thïnk öür sýstém häs mïstäkénlý ïdéntïfïéd ýöü äs " -"ßéïng çönnéçtéd wïth öné öf thösé çöüntrïés, pléäsé lét üs knöw ßý " -"çöntäçtïng {email}. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg " -"єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαв#" - -#: lms/templates/dashboard/_dashboard_certificate_information.html -msgid "Your Certificate is Generating" -msgstr "Ýöür Çértïfïçäté ïs Générätïng Ⱡ'σяєм #" +msgid "Your {cert_name_short} is Generating" +msgstr "Ýöür {cert_name_short} ïs Générätïng Ⱡ'σяє#" #: lms/templates/dashboard/_dashboard_certificate_information.html #: lms/templates/dashboard/_dashboard_certificate_information.html @@ -6746,32 +6751,31 @@ msgstr "Thïs lïnk wïll öpén/döwnlöäd ä PDF döçümént Ⱡ'σяєм ι #: lms/templates/dashboard/_dashboard_certificate_information.html #: lms/templates/dashboard/_dashboard_certificate_information.html -msgid "Download Your Certificate (PDF)" -msgstr "Döwnlöäd Ýöür Çértïfïçäté (PDF) Ⱡ'σяєм ι#" +msgid "Download Your {cert_name_short} (PDF)" +msgstr "Döwnlöäd Ýöür {cert_name_short} (PDF) Ⱡ'σяє#" #: lms/templates/dashboard/_dashboard_certificate_information.html msgid "" -"Since we did not have a valid set of verification photos from you when " -"certificates were generated, we could not grant you a verified certificate. " -"An honor code certificate has been granted instead." +"Since we did not have a valid set of verification photos from you when your " +"{cert_name_long} was generated, we could not grant you a verified " +"{cert_name_short}. An honor code {cert_name_short} has been granted instead." msgstr "" -"Sïnçé wé dïd nöt hävé ä välïd sét öf vérïfïçätïön phötös fröm ýöü whén " -"çértïfïçätés wéré générätéd, wé çöüld nöt gränt ýöü ä vérïfïéd çértïfïçäté. " -"Àn hönör çödé çértïfïçäté häs ßéén gräntéd ïnstéäd. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт " -"αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ #" +"Sïnçé wé dïd nöt hävé ä välïd sét öf vérïfïçätïön phötös fröm ýöü whén ýöür " +"{cert_name_long} wäs générätéd, wé çöüld nöt gränt ýöü ä vérïfïéd " +"{cert_name_short}. Àn hönör çödé {cert_name_short} häs ßéén gräntéd ïnstéäd." +" Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłι#" #: lms/templates/dashboard/_dashboard_certificate_information.html msgid "" -"This link will open/download a PDF document of your verified certificate." +"This link will open/download a PDF document of your verified " +"{cert_name_long}." msgstr "" -"Thïs lïnk wïll öpén/döwnlöäd ä PDF döçümént öf ýöür vérïfïéd çértïfïçäté. " -"Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт#" +"Thïs lïnk wïll öpén/döwnlöäd ä PDF döçümént öf ýöür vérïfïéd " +"{cert_name_long}. Ⱡ'σяєм ιρѕυм ∂σłσя #" #: lms/templates/dashboard/_dashboard_certificate_information.html -msgid "Download Your ID Verified Certificate of Achievement (PDF)" -msgstr "" -"Döwnlöäd Ýöür ÌD Vérïfïéd Çértïfïçäté öf Àçhïévémént (PDF) Ⱡ'σяєм ιρѕυм " -"∂σłσ#" +msgid "Download Your ID Verified {cert_name_short} (PDF)" +msgstr "Döwnlöäd Ýöür ÌD Vérïfïéd {cert_name_short} (PDF) Ⱡ'σяєм ιρ#" #: lms/templates/dashboard/_dashboard_certificate_information.html msgid "Complete our course feedback survey" @@ -6824,14 +6828,16 @@ msgstr "Täké thïs çöürsé äs än ÌD-vérïfïéd stüdént. Ⱡ'σяєм #: lms/templates/dashboard/_dashboard_course_listing.html msgid "" -"You can still sign up for an ID verified certificate for this course. If you" -" plan to complete the whole course, it is a great way to recognize your " -"achievement. {a_start}Learn more about verified certificates{a_end}." +"You can still sign up for an ID verified {cert_name_long} for this course. " +"If you plan to complete the whole course, it is a great way to recognize " +"your achievement. {link_start}Learn more about the verified " +"{cert_name_long}{link_end}." msgstr "" -"Ýöü çän stïll sïgn üp för än ÌD vérïfïéd çértïfïçäté för thïs çöürsé. Ìf ýöü" -" plän tö çömplété thé whölé çöürsé, ït ïs ä gréät wäý tö réçögnïzé ýöür " -"äçhïévémént. {a_start}Léärn möré äßöüt vérïfïéd çértïfïçätés{a_end}. Ⱡ'σяєм " -"ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ#" +"Ýöü çän stïll sïgn üp för än ÌD vérïfïéd {cert_name_long} för thïs çöürsé. " +"Ìf ýöü plän tö çömplété thé whölé çöürsé, ït ïs ä gréät wäý tö réçögnïzé " +"ýöür äçhïévémént. {link_start}Léärn möré äßöüt thé vérïfïéd " +"{cert_name_long}{link_end}. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя " +"α∂ιριѕι¢ιηg єłιт, ѕє#" #: lms/templates/dashboard/_dashboard_course_listing.html msgid "Upgrade to Verified Track" @@ -6845,6 +6851,21 @@ msgstr "Vïéw Àrçhïvéd Çöürsé Ⱡ'σя#" msgid "View Course" msgstr "Vïéw Çöürsé Ⱡ#" +#. Translators: The course's name will be added to the end of this sentence. +#: lms/templates/dashboard/_dashboard_course_listing.html +msgid "Are you sure you want to unregister from" +msgstr "Àré ýöü süré ýöü wänt tö ünrégïstér fröm Ⱡ'σяєм ιρѕυ#" + +#. Translators: The course's name will be added to the end of this sentence. +#: lms/templates/dashboard/_dashboard_course_listing.html +#: lms/templates/dashboard/_dashboard_course_listing.html +msgid "" +"Are you sure you want to unregister from the verified {cert_name_long} track" +" of" +msgstr "" +"Àré ýöü süré ýöü wänt tö ünrégïstér fröm thé vérïfïéd {cert_name_long} träçk" +" öf Ⱡ'σяєм ιρѕυм ∂σłσя #" + #: lms/templates/dashboard/_dashboard_course_listing.html msgid "Email Settings" msgstr "Émäïl Séttïngs Ⱡ'#" @@ -8757,6 +8778,14 @@ msgid "The following error occurred while editing your name:" msgstr "" "Thé föllöwïng érrör öççürréd whïlé édïtïng ýöür nämé: Ⱡ'σяєм ιρѕυм ∂σ#" +#: lms/templates/verify_student/_modal_editname.html +msgid "" +"To uphold the credibility of {platform} certificates, all name changes will " +"be logged and recorded." +msgstr "" +"Tö üphöld thé çrédïßïlïtý öf {platform} çértïfïçätés, äll nämé çhängés wïll " +"ßé löggéd änd réçördéd. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт,#" + #: lms/templates/verify_student/_modal_editname.html msgid "Change my name" msgstr "Çhängé mý nämé Ⱡ'#" diff --git a/conf/locale/eo/LC_MESSAGES/djangojs.mo b/conf/locale/eo/LC_MESSAGES/djangojs.mo index f7989ce893..4b347692f4 100644 Binary files a/conf/locale/eo/LC_MESSAGES/djangojs.mo and b/conf/locale/eo/LC_MESSAGES/djangojs.mo differ diff --git a/conf/locale/eo/LC_MESSAGES/djangojs.po b/conf/locale/eo/LC_MESSAGES/djangojs.po index 59434871e4..e6d284c87c 100644 --- a/conf/locale/eo/LC_MESSAGES/djangojs.po +++ b/conf/locale/eo/LC_MESSAGES/djangojs.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: 0.1a\n" "Report-Msgid-Bugs-To: openedx-translation@googlegroups.com\n" -"POT-Creation-Date: 2014-02-25 10:17-0500\n" -"PO-Revision-Date: 2014-02-25 15:18:19.594059\n" +"POT-Creation-Date: 2014-02-25 10:10-0800\n" +"PO-Revision-Date: 2014-02-25 18:11:53.548896\n" "Last-Translator: \n" "Language-Team: openedx-translation \n" "MIME-Version: 1.0\n" diff --git a/lms/envs/common.py b/lms/envs/common.py index 29929616e7..a237889286 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -1252,6 +1252,10 @@ REGISTRATION_EXTRA_FIELDS = { 'country': 'hidden', } +########################## CERTIFICATE NAME ######################## +CERT_NAME_SHORT = "Certificate" +CERT_NAME_LONG = "Certificate of Achievement" + ###################### Grade Downloads ###################### GRADES_DOWNLOAD_ROUTING_KEY = HIGH_MEM_QUEUE diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index dfccbe476b..cdf98d902d 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -5,6 +5,12 @@ from django.core.urlresolvers import reverse import waffle %> + +<% + cert_name_short = settings.CERT_NAME_SHORT + cert_name_long = settings.CERT_NAME_LONG +%> + <%inherit file="main.html" /> <%namespace name='static' file='static_content.html'/> @@ -403,11 +409,13 @@
-

${_("To uphold the credibility of {platform} certificates, all name changes will be logged and recorded.").format(platform=settings.PLATFORM_NAME)}

+ ## Translators: note that {platform} {cert_name_short} will look something like: "edX certificate". Please do not change the order of these placeholders. +

${_("To uphold the credibility of your {platform} {cert_name_short}, all name changes will be logged and recorded.").format(platform=settings.PLATFORM_NAME, cert_name_short=cert_name_short)}


- + ## Translators: note that {platform} {cert_name_short} will look something like: "edX certificate". Please do not change the order of these placeholders. + diff --git a/lms/templates/dashboard/_dashboard_certificate_information.html b/lms/templates/dashboard/_dashboard_certificate_information.html index 99548a8cc4..3f07fc797b 100644 --- a/lms/templates/dashboard/_dashboard_certificate_information.html +++ b/lms/templates/dashboard/_dashboard_certificate_information.html @@ -2,6 +2,16 @@ <%! from django.utils.translation import ugettext as _ %> +<% + cert_name_short = course.cert_name_short + if cert_name_short == "": + cert_name_short = settings.CERT_NAME_SHORT + + cert_name_long = course.cert_name_long + if cert_name_long == "": + cert_name_long = settings.CERT_NAME_LONG +%> + <% if cert_status['status'] == 'generating': status_css_class = 'course-status-certrendering' @@ -20,15 +30,15 @@ else:

${_("Your final grade:")} ${"{0:.0f}%".format(float(cert_status['grade'])*100)}. % if cert_status['status'] == 'notpassing' and enrollment.mode != 'audit': - ${_("Grade required for a certificate:")} + ${_("Grade required for a {cert_name_short}:").format(cert_name_short=cert_name_short)} ${"{0:.0f}%".format(float(course.lowest_passing_grade)*100)}. % elif cert_status['status'] == 'restricted' and enrollment.mode == 'verified':

- ${_("Your verified certificate is being held pending confirmation that the issuance of your certificate is in compliance with strict U.S. embargoes on Iran, Cuba, Syria and Sudan. If you think our system has mistakenly identified you as being connected with one of those countries, please let us know by contacting {email}. If you would like a refund on your certificate, please contact our billing address {billing_email}").format(email='{email}.'.format(email=settings.CONTACT_EMAIL), billing_email='{email}'.format(email=settings.PAYMENT_SUPPORT_EMAIL))} + ${_("Your verified {cert_name_long} is being held pending confirmation that the issuance of your {cert_name_short} is in compliance with strict U.S. embargoes on Iran, Cuba, Syria and Sudan. If you think our system has mistakenly identified you as being connected with one of those countries, please let us know by contacting {email}. If you would like a refund on your {cert_name_long}, please contact our billing address {billing_email}").format(email='{email}.'.format(email=settings.CONTACT_EMAIL), billing_email='{email}'.format(email=settings.PAYMENT_SUPPORT_EMAIL), cert_name_short=cert_name_short, cert_name_long=cert_name_long)}

% elif cert_status['status'] == 'restricted':

- ${_("Your certificate is being held pending confirmation that the issuance of your certificate is in compliance with strict U.S. embargoes on Iran, Cuba, Syria and Sudan. If you think our system has mistakenly identified you as being connected with one of those countries, please let us know by contacting {email}.").format(email='{email}.'.format(email=settings.CONTACT_EMAIL))} + ${_("Your {cert_name_long} is being held pending confirmation that the issuance of your {cert_name_short} is in compliance with strict U.S. embargoes on Iran, Cuba, Syria and Sudan. If you think our system has mistakenly identified you as being connected with one of those countries, please let us know by contacting {email}.").format(email='{email}.'.format(email=settings.CONTACT_EMAIL), cert_name_short=cert_name_short, cert_name_long=cert_name_long)}

% endif

@@ -38,23 +48,23 @@ else:
    % if cert_status['show_disabled_download_button']:
  • - ${_("Your Certificate is Generating")}
  • + ${_("Your {cert_name_short} is Generating").format(cert_name_short=cert_name_short)} % elif cert_status['show_download_url'] and enrollment.mode == 'honor':
  • - ${_("Download Your Certificate (PDF)")}
  • + ${_("Download Your {cert_name_short} (PDF)").format(cert_name_short=cert_name_short,)} % elif cert_status['show_download_url'] and enrollment.mode == 'verified' and cert_status['mode'] == 'honor':
  • -

    ${_('Since we did not have a valid set of verification photos from you when certificates were generated, we could not grant you a verified certificate. An honor code certificate has been granted instead.')}

    +

    ${_('Since we did not have a valid set of verification photos from you when your {cert_name_long} was generated, we could not grant you a verified {cert_name_short}. An honor code {cert_name_short} has been granted instead.').format(cert_name_short=cert_name_short, cert_name_long=cert_name_long)}

    - ${_("Download Your Certificate (PDF)")}
  • + ${_("Download Your {cert_name_short} (PDF)").format(cert_name_short=cert_name_short)} % elif cert_status['show_download_url'] and enrollment.mode == 'verified':
  • - ${_("Download Your ID Verified Certificate of Achievement (PDF)")}
  • + title="${_('This link will open/download a PDF document of your verified {cert_name_long}.').format(cert_name_long=cert_name_long)}"> + ${_("Download Your ID Verified {cert_name_short} (PDF)").format(cert_name_short=cert_name_short)} % endif % if cert_status['show_survey_button']: diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index 942b1d903f..9eb642dba0 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -7,6 +7,16 @@ import waffle %> +<% + cert_name_short = course.cert_name_short + if cert_name_short == "": + cert_name_short = settings.CERT_NAME_SHORT + + cert_name_long = course.cert_name_long + if cert_name_long == "": + cert_name_long = settings.CERT_NAME_LONG +%> + <%namespace name='static' file='../static_content.html'/>
  • @@ -79,7 +89,7 @@
-

${_("You can still sign up for an ID verified certificate for this course. If you plan to complete the whole course, it is a great way to recognize your achievement. {a_start}Learn more about verified certificates{a_end}.").format(a_start=''.format(marketing_link('WHAT_IS_VERIFIED_CERT')), a_end="")}

+

${_("You can still sign up for an ID verified {cert_name_long} for this course. If you plan to complete the whole course, it is a great way to recognize your achievement. {link_start}Learn more about the verified {cert_name_long}{link_end}.").format(link_start=''.format(marketing_link('WHAT_IS_VERIFIED_CERT')), link_end="", cert_name_long=cert_name_long)}