From 98db7b54f3dda38861eb7fa06458fc637a1b68b4 Mon Sep 17 00:00:00 2001 From: Matt Tuchfarber Date: Wed, 5 Feb 2020 13:59:05 -0500 Subject: [PATCH] Add new MicroBachelors programs cert template Using professional-cert background for now. --- edx_credentials_themes/__init__.py | 2 +- .../locale/en/LC_MESSAGES/django.po | 30 ++++- .../locale/eo/LC_MESSAGES/django.mo | Bin 8839 -> 10667 bytes .../locale/eo/LC_MESSAGES/django.po | 43 ++++++- .../programs/microbachelors/certificate.html | 29 +++++ .../edx.org/images/microbachelors-logo-en.svg | 120 ++++++++++++++++++ .../edx.org/images/microbachelors-logo-es.svg | 80 ++++++++++++ .../images/microbachelors-watermark.svg | 7 + 8 files changed, 308 insertions(+), 3 deletions(-) create mode 100644 edx_credentials_themes/templates/edx.org/credentials/programs/microbachelors/certificate.html create mode 100644 edx_credentials_themes/templates/edx.org/images/microbachelors-logo-en.svg create mode 100644 edx_credentials_themes/templates/edx.org/images/microbachelors-logo-es.svg create mode 100644 edx_credentials_themes/templates/edx.org/images/microbachelors-watermark.svg diff --git a/edx_credentials_themes/__init__.py b/edx_credentials_themes/__init__.py index e23e22cd..b75ec921 100644 --- a/edx_credentials_themes/__init__.py +++ b/edx_credentials_themes/__init__.py @@ -1 +1 @@ -__version__ = '0.1.29' +__version__ = '0.1.30' diff --git a/edx_credentials_themes/locale/en/LC_MESSAGES/django.po b/edx_credentials_themes/locale/en/LC_MESSAGES/django.po index efcef372..1ec700d4 100644 --- a/edx_credentials_themes/locale/en/LC_MESSAGES/django.po +++ b/edx_credentials_themes/locale/en/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1a\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-24 10:32-0400\n" +"POT-Creation-Date: 2020-02-05 13:58-0500\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: openedx-translation \n" @@ -29,6 +29,34 @@ msgid "" "founding partners Harvard and MIT." msgstr "" +#. Translators: MicroBachelors should not be translated, this phrase is preceded by the learner's name and followed by a program title +#: templates/edx.org/credentials/programs/microbachelors/certificate.html:7 +msgid "" +"has successfully completed all courses and received passing grades to earn a " +"MicroBachelors program certificate in" +msgstr "" + +#. Translators: MicroBachelors should not be translated +#: templates/edx.org/credentials/programs/microbachelors/certificate.html:12 +msgid "MicroBachelors program certificate" +msgstr "" + +#. Translators: MicroBachelors should not be translated +#: templates/edx.org/credentials/programs/microbachelors/certificate.html:17 +msgid "About the edX MicroBachelors program certificate" +msgstr "" + +#. Translators: MicroBachelors should not be translated +#: templates/edx.org/credentials/programs/microbachelors/certificate.html:22 +#, python-brace-format +msgid "" +"An edX MicroBachelors credential signifies that the learner has completed a " +"group of courses that add up to a rich understanding of an area of study. " +"Completion of MicroBachelors programs requires that learners earn " +"{link_start}Verified Certificates{link_end} from each of the courses " +"included in the program." +msgstr "" + #. Translators: MicroMasters should not be translated #: templates/edx.org/credentials/programs/micromasters/certificate.html:8 #, python-format diff --git a/edx_credentials_themes/locale/eo/LC_MESSAGES/django.mo b/edx_credentials_themes/locale/eo/LC_MESSAGES/django.mo index ecbadae1d26f3cdc5798ddf3dbd3856f4a1e4927..1a8920516a6c762ec5645f4dbfa6dab4e4719dca 100644 GIT binary patch delta 942 zcmZ9~KWGzC9Ki8kE{T^kF}2mCHTIfou2r%m6>7nuiV@MJpu~ST6r*TUsN_s>C=Mxt zh#)!~W|2aLg4&XyoG8UXF>@6i#ddMi4laU&gWq>oYU__&KJQ+Bm-pW9clS;#mg;Mr zp~ph>a`kY<10p&6gDU1UktjaJL0rTE{EGWg3;OvvJivVk5Ap16Jcvsnkt6sm%=4Jl zMW$6=gt16nRv4H}{6s#|!D_oPjS0+SH;&*gJda&Cj{C5Vr|}7%#dWOUu{Mz!E})G@ z%s=EqFdF~|Dyi@_PpWJHR16U+D#Ph!dxxrAe=PPUA% zG218d2EX7tY*5elc){{b_ls1yU&SFDrEhQX4p!J$k^a>=xEHGTDpEdP&()BF$c~M< zPE2yCHmTr1UW+)e*9rd9Ed#32k>& Ly%*h*F%X delta 641 zcmX}p%PWLY7{~FSF=J*7hH<~WD3_*`OT@}GDK<0BEJTScOi^qsl)^%?utHg|RLb&A zlIz$>N*0#>04XaLO8K6XJoUVvGv_q#`<&-FNo)?SzDB%zA}Yu#@||oTFEe-$F^?3) zIGX(lY{Yep;xRViGq&-cZ|uQluhfcjK53crgDj~QOZ-v*yRcANRUeByHj-F|GnkJn zSc=_B5uq1DAg^YL)B5-#W-H$0OprV)0n_vJjHSRK~wk` zEkEP?O0&4YWv+RPoy_45zip$qe4bw^L6;rU? zG-D2v+{K0&s}06ugYNtX4KXvaL3dR`(tSH7Gcp=vqnKypZynk>^wjNqc=p{ZZ?V_? c4ER0nLa05{?GCf*D|!gJo6exm-L7|hzosuip#T5? diff --git a/edx_credentials_themes/locale/eo/LC_MESSAGES/django.po b/edx_credentials_themes/locale/eo/LC_MESSAGES/django.po index 758035ba..ce1c2a37 100644 --- a/edx_credentials_themes/locale/eo/LC_MESSAGES/django.po +++ b/edx_credentials_themes/locale/eo/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1a\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-07-24 10:32-0400\n" +"POT-Creation-Date: 2020-02-05 13:58-0500\n" "PO-Revision-Date: \n" "Last-Translator: \n" "Language-Team: openedx-translation \n" @@ -37,6 +37,47 @@ msgstr "" "ηιѕι υт αłιqυιρ єχ єα ¢σммσ∂σ ¢σηѕєqυαт. ∂υιѕ αυтє ιяυяє ∂σłσя ιη " "яєρяєнєη∂єяιт ιη νσłυρ#" +#. Translators: MicroBachelors should not be translated, this phrase is +#. preceded by the learner's name and followed by a program title +#: templates/edx.org/credentials/programs/microbachelors/certificate.html +msgid "" +"has successfully completed all courses and received passing grades to earn a" +" MicroBachelors program certificate in" +msgstr "" +"häs süççéssfüllý çömplétéd äll çöürsés änd réçéïvéd pässïng grädés tö éärn ä" +" MïçröBäçhélörs prögräm çértïfïçäté ïn Ⱡ'σяєм ιρѕυм ∂σł#" + +#. Translators: MicroBachelors should not be translated +#: templates/edx.org/credentials/programs/microbachelors/certificate.html +msgid "MicroBachelors program certificate" +msgstr "" +"MïçröBäçhélörs prögräm çértïfïçäté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєт#" + +#. Translators: MicroBachelors should not be translated +#: templates/edx.org/credentials/programs/microbachelors/certificate.html +msgid "About the edX MicroBachelors program certificate" +msgstr "" +"Àßöüt thé édX MïçröBäçhélörs prögräm çértïfïçäté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт " +"αмєт, ¢σηѕє¢тєтυя α#" + +#. Translators: MicroBachelors should not be translated +#: templates/edx.org/credentials/programs/microbachelors/certificate.html +#, python-brace-format +msgid "" +"An edX MicroBachelors credential signifies that the learner has completed a " +"group of courses that add up to a rich understanding of an area of study. " +"Completion of MicroBachelors programs requires that learners earn " +"{link_start}Verified Certificates{link_end} from each of the courses " +"included in the program." +msgstr "" +"Àn édX MïçröBäçhélörs çrédéntïäl sïgnïfïés thät thé léärnér häs çömplétéd ä " +"gröüp öf çöürsés thät ädd üp tö ä rïçh ündérständïng öf än äréä öf stüdý. " +"Çömplétïön öf MïçröBäçhélörs prögräms réqüïrés thät léärnérs éärn " +"{link_start}Vérïfïéd Çértïfïçätés{link_end} fröm éäçh öf thé çöürsés " +"ïnçlüdéd ïn thé prögräm. Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя " +"α∂ιριѕι¢ιηg єłιт, ѕє∂ ∂σ єιυѕмσ∂ тємρσя ιη¢ι∂ι∂υηт υт łαвσяє єт ∂σłσяє мαgηα" +" αłιqυα. υт єηιм α∂ мιηιм νєηιαм, qυιѕ ησѕтяυ∂ єχєя¢ιтαтιση υłłαм¢σ łα#" + #. Translators: MicroMasters should not be translated #: templates/edx.org/credentials/programs/micromasters/certificate.html #, python-format diff --git a/edx_credentials_themes/templates/edx.org/credentials/programs/microbachelors/certificate.html b/edx_credentials_themes/templates/edx.org/credentials/programs/microbachelors/certificate.html new file mode 100644 index 00000000..870190ca --- /dev/null +++ b/edx_credentials_themes/templates/edx.org/credentials/programs/microbachelors/certificate.html @@ -0,0 +1,29 @@ +{% extends 'edx.org/credentials/programs/base.html' %} +{% load i18n %} +{% load django_markup %} + +{% block accomplishment_summary %} + {# Translators: MicroBachelors should not be translated, this phrase is preceded by the learner's name and followed by a program title #} + {% trans "has successfully completed all courses and received passing grades to earn a MicroBachelors program certificate in" as tmsg %}{{ tmsg | force_escape }} +{% endblock %} + +{% block accomplishment_stamp_title %} + {# Translators: MicroBachelors should not be translated #} + {% trans "MicroBachelors program certificate" as tmsg %}{{ tmsg | force_escape }} +{% endblock %} + +{% block accomplishment_metadata_title %} + {# Translators: MicroBachelors should not be translated #} + {% trans "About the edX MicroBachelors program certificate" as tmsg %}{{ tmsg | force_escape }} +{% endblock %} + +{% block accomplishment_metadata %} + {# Translators: MicroBachelors should not be translated #} + {% blocktrans trimmed asvar accomplishment_metadata_string %} + An edX MicroBachelors credential signifies that the learner has completed a group of courses that add up to a rich + understanding of an area of study. Completion of MicroBachelors programs requires that learners earn + {link_start}Verified Certificates{link_end} from each of the courses included in + the program. + {% endblocktrans %} + {% interpolate_html accomplishment_metadata_string link_start=''|safe link_end=''|safe %} +{% endblock %} diff --git a/edx_credentials_themes/templates/edx.org/images/microbachelors-logo-en.svg b/edx_credentials_themes/templates/edx.org/images/microbachelors-logo-en.svg new file mode 100644 index 00000000..b2f0c02b --- /dev/null +++ b/edx_credentials_themes/templates/edx.org/images/microbachelors-logo-en.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/edx_credentials_themes/templates/edx.org/images/microbachelors-logo-es.svg b/edx_credentials_themes/templates/edx.org/images/microbachelors-logo-es.svg new file mode 100644 index 00000000..7676718d --- /dev/null +++ b/edx_credentials_themes/templates/edx.org/images/microbachelors-logo-es.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/edx_credentials_themes/templates/edx.org/images/microbachelors-watermark.svg b/edx_credentials_themes/templates/edx.org/images/microbachelors-watermark.svg new file mode 100644 index 00000000..1eed9770 --- /dev/null +++ b/edx_credentials_themes/templates/edx.org/images/microbachelors-watermark.svg @@ -0,0 +1,7 @@ +