From 4d5c37c02c6b15c1584eb1e7bca1af0b389c5323 Mon Sep 17 00:00:00 2001 From: Ivo Branco Date: Tue, 22 Oct 2024 18:07:42 +0100 Subject: [PATCH] fix(ecommerce): fix email template of multi seat confirmation email Fix the email template that is sent to the client after he has bought an couple of enrollment codes for a course. fccn/nau-technical#211 --- .../nau/conf/locale/en/LC_MESSAGES/django.po | 84 ++++++++-------- .../conf/locale/en/LC_MESSAGES/djangojs.po | 2 +- .../conf/locale/pt_PT/LC_MESSAGES/django.mo | Bin 15401 -> 15620 bytes .../conf/locale/pt_PT/LC_MESSAGES/django.po | 94 ++++++++---------- .../conf/locale/pt_PT/LC_MESSAGES/djangojs.po | 2 +- .../oscar/communication/email_base.html | 2 +- .../emails/commtype_order_with_csv_body.html | 13 +-- .../emails/commtype_order_with_csv_body.txt | 5 +- .../templates/oscar/customer/email_base.html | 2 +- 9 files changed, 96 insertions(+), 108 deletions(-) diff --git a/ecommerce/nau/conf/locale/en/LC_MESSAGES/django.po b/ecommerce/nau/conf/locale/en/LC_MESSAGES/django.po index 58cff87..81f319c 100644 --- a/ecommerce/nau/conf/locale/en/LC_MESSAGES/django.po +++ b/ecommerce/nau/conf/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-18 11:09+0100\n" +"POT-Creation-Date: 2024-10-22 17:56+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -444,45 +444,39 @@ msgstr "" msgid "For Business" msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:26 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:27 #: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:6 -#, fuzzy, python-format -#| msgid "" -#| "Thank you for purchasing access to %%(course_name)s. Let's get your group " -#| "ready to learn with edX:" -msgid "" -"Thank you for purchasing access to %(course_name)s. Let's get your group " -"ready to learn with %(platform_name)s:" +msgid "Thank you for purchasing access to" msgstr "" -"Thank you for purchasing access to %(course_name)s. Let's get your group " -"ready to learn with NAU:" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:29 -#, python-brace-format -msgid "" -"\n" -" Download and save the {link_start}" -"{download_csv_link}{link_middle} enrollment code file.{link_end}\n" -" " +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:28 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:7 +msgid "Let's get your group ready to learn with" msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:34 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:9 -msgid "Distribute one code per learner before the expiration date." +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:32 +#, python-brace-format +msgid "" +"Download and save the {link_start}{download_csv_link}{link_middle} " +"enrollment code file.{link_end}" msgstr "" #: templates/oscar/communication/emails/commtype_order_with_csv_body.html:35 #: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:10 -msgid "Pro tip: Track which code is associated with which person." +msgid "Distribute one code per learner before the expiration date." msgstr "" #: templates/oscar/communication/emails/commtype_order_with_csv_body.html:36 #: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:11 -msgid "" -"Learners sign-in/register with {{platform_name}} and enroll for the course." +msgid "Pro tip: Track which code is associated with which person." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:39 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:37 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:12 +msgid "Learners sign-in/register with NAU and enroll for the course." +msgstr "" + +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:40 #, python-brace-format msgid "" "\n" @@ -492,7 +486,7 @@ msgid "" " " msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:45 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:46 #, python-brace-format msgid "" "\n" @@ -501,48 +495,48 @@ msgid "" " " msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:50 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:16 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:51 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:17 msgid "Thank You" msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:61 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:18 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:62 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:19 msgid "By purchasing, you and your organization agree to the following terms:" msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:63 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:20 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:64 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:21 msgid "" "Each code is valid for the one course covered and can be used only one time." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:64 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:21 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:65 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:22 msgid "You are responsible for distributing codes to your learners." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:65 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:22 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:66 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:23 msgid "" "Each code will expire in one year from date of purchase or, if earlier, once " "the course is closed." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:66 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:23 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:67 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:24 msgid "" "If a course is not designated as self-paced, you should confirm that a " "course run is available before expiration." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:67 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:24 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:68 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:25 msgid "You may not resell codes to third parties." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:68 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:25 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:69 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:26 msgid "All sales final. No refunds." msgstr "" @@ -550,20 +544,20 @@ msgstr "" msgid "Order confirmation for: " msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:8 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:9 #, python-format msgid "" "Please visit %(download_csv_link)s to download and save the enrollment code " "file." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:13 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:14 #, python-format msgid "" "To view your payment information, log in to see your Order History, under " "Account Settings at %(order_history_url)s." msgstr "" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:14 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:15 msgid "For more information and assistance, contact ajuda@nau.edu.pt." msgstr "" diff --git a/ecommerce/nau/conf/locale/en/LC_MESSAGES/djangojs.po b/ecommerce/nau/conf/locale/en/LC_MESSAGES/djangojs.po index 94e63d9..132a8a9 100644 --- a/ecommerce/nau/conf/locale/en/LC_MESSAGES/djangojs.po +++ b/ecommerce/nau/conf/locale/en/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-18 11:09+0100\n" +"POT-Creation-Date: 2024-10-22 17:56+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/django.mo b/ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/django.mo index d38a8a5bd73b2bee2c6c4f6aefbe6744afb4f254..639c1f861156d42e5913c4d95aefe535c0828366 100644 GIT binary patch delta 2363 zcmYk-Yitx%6u|M*2ehTU3q=s@1^VLAQdFJ-r4*rs+7=N+4J6aup+m}qr%O#4Bf?x#g;TH&S7H+y>_z5~_mS^N2KDbhLtW@R zR^l)&!|`K99>NXSfxXzG&%^#=R;{Oh1SjZGFVfJ7ui`4aiKVz?e6T}l4c&ng7oMTe{!4;_9%mR4}OA^SYLjk!J2Xvr{XP~hLa~|C#b`R z>94>|_&jQKenbu>mvA`_quxw8_pINqLB0AWT#YvB^Y@Tw$snfZ(l|@Q#@}!jZkUwa zNE{c_e-U-UPjLrc#C}{lIqSFh3jLj2TLCe@j#ug5BA#pU3dc?2d`_n~Jb)wd@>K3$ z8&??6tNH`W@n6)Fm9eVEsup*ngDdb7#&OEMTsOXeE}q6`(Qxb@Jb~o1l+F-Yn8%^; z5&9bq-({mm4EMi_fip9?R-Df958+Ad!a1`=hVTvS#y#xrJ{-c$OmG_)(%(b|vS&Gf zO?VtNq`xESA%CNOub@h#6)VwTDosOA-jAAuZ==R&5UcScoP)ohW_2-x%Wyp=@HuS9 zYZ%2w{RYxAxkO1PXy{eHjD%l~;_LV!F2eeG+2<+L2@axW z{gpK#!yu)n)y zGA&*bDWK|YrJMNRAVKU&`XII>bx?G-o5Hrj+Y=Pl4}Ng8vsynWn*Ews8nSg%EqY1~ z?G`GRa<^=x#hK)Bjla1&oc&qU*tS#k3ZDp{)#IeF&EbT@28Bok+0Ma(|G?JbdTJvz zpSqQ*Z_Q&=E#$Ni&Hokde{|R#gBmY>MdeAVCY%23wounliB3?+yP&M%^U<))TPAJP z4Pn1ERMFhhGMm~!)ugSaYMH4gT}jQQl2<{z%aGSS_@&a{`8#FYod#+`Y1u}tpcYd} z2Pw@QE*PDYSygm)MBhMRM~?JOozaqM9QRjFy2Z9U$M$^V$2y&wn6tpMJ7a#*_DoMK z*=1TAwiwHa8r$*Q?ryWw^-QwMHW4@F`MgstcCyMhop#dfWyExPZYp6s+luZrN!N7i z+`&B3=0%xut(CNwhwWyE$>N#z34^(PPDyc*6^Yos&(|`4mTVlG`FYmYBl;R=CD`kQ zr86>LRHt&&ZN9PnWGZSoN!vG;@5dY~9&Xr**Z8)vwql6`%6glp|KqI8ogit{tJrz(XaxI-hTGnAdTnne!1vRrD zYvv8Ju&Jpd*GlKNt(>^lTIzDMtwsLhSX*tbTD7#z`mg8fdtco8jQ2f0-!Jg_^?rZ9 z_sY(bJ5u9Q0z*dIK+Ghr`OQ*zD98uxV8|?q@8V7jhRu%POSlIsa?FPDL%fKsxn?IY zKhLZj&){O8*>|Y%Cl{C%VJ$wOsaohv;>KQNOgo6v@hC3Fvlzu&$QV``~7?EadtHd=}rr zyHGdTwAG>(xCr^NRz6s>bz=$k;#Ay?8h1aIGQWL5=MEf24R96P@F!e{HB&ft+=Xny z2CxzLp-$j3>i@q-9r2&ojQO0ie&3E{$GUM2ZpO#(4NR5N`HRj%%wu^PXc=z8jd%b@ zJ-dp{-sJjM43X1*j_Eh9Q{<}^lWg-jJdHZZDhAKSUe6?IgWItZUo7SPwWDL)P)^QZ z5^rD=Zelgta2U1noEc_M<9ytW$FUz{Y@52Z_pm<8?0szK`rC49iG`L$&7S0XL50~M z9>Jp+k8%F5(fK-NwiP?$X5;ud_Tf7$a~1}w%(@sTj`dvkQ)#TxPU1@Z3YF9RJE?G- ziTb}0;t2NQKbXLc{4v?E5md3A z#}>SddWs4-Hl?%*b<)j9wyhKQVQLGV1$6%Q{$S4B%uX6mPeB4T!DiHso<|KhLP#$GkrBA0eRuAA{UuwuN8Jy4UP5 z4x*|$Hb1lS$1#WNr!ay$Pz!k#mGe(oNkJ;7n!ZrU}Qwg-tQG0~J3)l54PBDx8+ z7NXegF@GZ+HtRN0sV@cNAZ~vlDFw|$kWfMCX;??7RTHH5f33i~Qi@bpMa08I9GsTc3f(V_72fq~Pod&cixW!-Rr5rvprgmuPf%xWEB9Q5*CTs-d|&#\n" "Language-Team: LANGUAGE \n" @@ -504,49 +504,41 @@ msgstr "" msgid "For Business" msgstr "Para Empresas" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:26 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:27 #: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:6 -#, fuzzy, python-format -msgid "" -"Thank you for purchasing access to %(course_name)s. Let's get your group " -"ready to learn with %(platform_name)s:" -msgstr "" -"Obrigado por adquirir acesso a %(course_name)s. Vamos preparar o seu grupo " -"para começar a aprender com %(platform_name)s:" +msgid "Thank you for purchasing access to" +msgstr "Obrigado por adquirir o acesso a" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:29 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:28 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:7 +msgid "Let's get your group ready to learn with" +msgstr "Vamos preparar o seu grupo para aprender com" + +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:32 #, python-brace-format msgid "" -"\n" -" Download and save the {link_start}" -"{download_csv_link}{link_middle} enrollment code file.{link_end}\n" -" " +"Download and save the {link_start}{download_csv_link}{link_middle} " +"enrollment code file.{link_end}" msgstr "" -"\n" -" Descarregue e guarde o ficheiro de " -"{link_start}{download_csv_link}{link_middle}código de inscrição{link_end}.\n" -" " +"Descarregue e guarde o ficheiro de {link_start}{download_csv_link}" +"{link_middle}código de inscrição{link_end}." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:34 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:9 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:35 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:10 msgid "Distribute one code per learner before the expiration date." msgstr "Distribua um código por estudante antes da data expirar." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:35 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:10 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:36 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:11 msgid "Pro tip: Track which code is associated with which person." msgstr "Dica: Registe qual o código associado a cada pessoa." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:36 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:11 -#, fuzzy -msgid "" -"Learners sign-in/register with {{platform_name}} and enroll for the course." -msgstr "" -"Os estudantes assinam/registam-se em {{platform_name}} e inscrevem-se no " -"curso." +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:37 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:12 +msgid "Learners sign-in/register with NAU and enroll for the course." +msgstr "Os estudantes assinam/registam-se em NAU e inscrevem-se no curso." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:39 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:40 #, python-brace-format msgid "" "\n" @@ -561,7 +553,7 @@ msgstr "" "{order_history_url}{link_middle}Definições de conta{link_end}.\n" " " -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:45 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:46 #, python-brace-format msgid "" "\n" @@ -574,30 +566,30 @@ msgstr "" "{link_start}Centro de Ajuda{link_end}\n" " " -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:50 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:16 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:51 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:17 msgid "Thank You" msgstr "Obrigado" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:61 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:18 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:62 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:19 msgid "By purchasing, you and your organization agree to the following terms:" msgstr "Ao comprar, você e sua organização concordam com os seguintes termos:" -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:63 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:20 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:64 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:21 msgid "" "Each code is valid for the one course covered and can be used only one time." msgstr "" "Cada código é válido para um respetivo curso e pode ser usado apenas uma vez." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:64 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:21 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:65 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:22 msgid "You are responsible for distributing codes to your learners." msgstr "Você é responsável por distribuir os códigos aos estudantes." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:65 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:22 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:66 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:23 msgid "" "Each code will expire in one year from date of purchase or, if earlier, once " "the course is closed." @@ -605,8 +597,8 @@ msgstr "" "Cada código expirará dentro de um ano a partir da data de compra ou antes, " "se o curso for fechado." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:66 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:23 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:67 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:24 msgid "" "If a course is not designated as self-paced, you should confirm that a " "course run is available before expiration." @@ -614,13 +606,13 @@ msgstr "" "Se um curso não for designado como \"ritmo definido pelo estudante\", " "confirme que o curso está disponível, pelo menos, até o código expirar." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:67 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:24 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:68 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:25 msgid "You may not resell codes to third parties." msgstr "É proibido vender os códigos a terceiros." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:68 -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:25 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.html:69 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:26 msgid "All sales final. No refunds." msgstr "Todas as vendas são finais. Não há reembolsos." @@ -628,7 +620,7 @@ msgstr "Todas as vendas são finais. Não há reembolsos." msgid "Order confirmation for: " msgstr "Confirmação de pedido para: " -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:8 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:9 #, python-format msgid "" "Please visit %(download_csv_link)s to download and save the enrollment code " @@ -637,7 +629,7 @@ msgstr "" "Por favor, visite %(download_csv_link)s para transferir e guardar o ficheiro " "com código de inscrição." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:13 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:14 #, python-format msgid "" "To view your payment information, log in to see your Order History, under " @@ -647,6 +639,6 @@ msgstr "" "seu Histórico de Pedidos, nas Configurações de Conta em " "%(order_history_url)s." -#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:14 +#: templates/oscar/communication/emails/commtype_order_with_csv_body.txt:15 msgid "For more information and assistance, contact ajuda@nau.edu.pt." msgstr "Para mais informação e assistência, contacte ajuda@nau.edu.pt." diff --git a/ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/djangojs.po b/ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/djangojs.po index 1305899..a3bae7d 100644 --- a/ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/djangojs.po +++ b/ecommerce/nau/conf/locale/pt_PT/LC_MESSAGES/djangojs.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-18 11:09+0100\n" +"POT-Creation-Date: 2024-10-22 17:56+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/ecommerce/nau/templates/oscar/communication/email_base.html b/ecommerce/nau/templates/oscar/communication/email_base.html index 150ef03..ada1700 100644 --- a/ecommerce/nau/templates/oscar/communication/email_base.html +++ b/ecommerce/nau/templates/oscar/communication/email_base.html @@ -136,7 +136,7 @@ } .cn-content-clear { padding: 0px 18px 18px; - border-top: 3px solid #B92167; + border-top: 3px solid #ffc335; } .cn-content-clear .cn-footer { border-top-width: 6px; diff --git a/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.html b/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.html index 035e654..2e1134e 100644 --- a/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.html +++ b/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.html @@ -8,7 +8,7 @@ - {{partner_name}} Logo {% trans "For Business" as tmsg %}{{ tmsg | force_escape }} @@ -23,17 +23,18 @@

{% filter force_escape %}{% blocktrans %}Dear {{full_name}},{% endblocktrans %}{% endfilter %}

-

{% filter force_escape %}{% blocktrans %}Thank you for purchasing access to {{course_name}}. Let's get your group ready to learn with {{platform_name}}:{% endblocktrans %}{% endfilter %}

+

+ {% trans "Thank you for purchasing access to" as tmsg %}{{ tmsg | force_escape }} {{ course_name | force_escape }}. + {% trans "Let's get your group ready to learn with" as tmsg %}{{ tmsg | force_escape }} {{ platform_name | force_escape }}: +

  1. - {% blocktrans asvar tmsg %} - Download and save the {link_start}{download_csv_link}{link_middle} enrollment code file.{link_end} - {% endblocktrans %} + {% blocktrans asvar tmsg %}Download and save the {link_start}{download_csv_link}{link_middle} enrollment code file.{link_end}{% endblocktrans %} {% interpolate_html tmsg link_start=''|safe link_end=''|safe download_csv_link=download_csv_link|safe %}
  2. {% trans "Distribute one code per learner before the expiration date." as tmsg %}{{ tmsg | force_escape }}
  3. {% trans "Pro tip: Track which code is associated with which person." as tmsg %}{{ tmsg | force_escape }}
  4. -
  5. {% trans "Learners sign-in/register with {{platform_name}} and enroll for the course." as tmsg %}{{ tmsg | force_escape }}
  6. +
  7. {% trans "Learners sign-in/register with NAU and enroll for the course." as tmsg %}{{ tmsg | force_escape }}

{% blocktrans asvar tmsg %} diff --git a/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.txt b/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.txt index 5a67a4d..4557c5f 100644 --- a/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.txt +++ b/ecommerce/nau/templates/oscar/communication/emails/commtype_order_with_csv_body.txt @@ -3,12 +3,13 @@ {% blocktrans %}Dear {{full_name}},{% endblocktrans %} -{% blocktrans %}Thank you for purchasing access to {{course_name}}. Let's get your group ready to learn with {{platform_name}}:{% endblocktrans %} +{% trans "Thank you for purchasing access to" %} {{ course_name | force_escape }}. +{% trans "Let's get your group ready to learn with" %} {{ platform_name | force_escape }}: {% blocktrans %}Please visit {{download_csv_link}} to download and save the enrollment code file.{% endblocktrans %} {% trans "Distribute one code per learner before the expiration date." %} {% trans "Pro tip: Track which code is associated with which person." %} -{% trans "Learners sign-in/register with {{platform_name}} and enroll for the course." %} +{% trans "Learners sign-in/register with NAU and enroll for the course." %} {% blocktrans %}To view your payment information, log in to see your Order History, under Account Settings at {{order_history_url}}.{% endblocktrans %} {% blocktrans %}For more information and assistance, contact ajuda@nau.edu.pt.{% endblocktrans %} diff --git a/ecommerce/nau/templates/oscar/customer/email_base.html b/ecommerce/nau/templates/oscar/customer/email_base.html index 164cbff..a98ced3 100644 --- a/ecommerce/nau/templates/oscar/customer/email_base.html +++ b/ecommerce/nau/templates/oscar/customer/email_base.html @@ -136,7 +136,7 @@ } .cn-content-clear { padding: 0px 18px 18px; - border-top: 3px solid #B92167; + border-top: 3px solid #ffc335; } .cn-content-clear .cn-footer { border-top-width: 6px;