From d1c8d6a326b9e2b22970fc84450ae7878f3faad3 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 2 Jan 2013 15:29:20 +0100 Subject: [PATCH] locale, add messages for postman --- teleforma/locale/fr/LC_MESSAGES/django.mo | Bin 11649 -> 11537 bytes teleforma/locale/fr/LC_MESSAGES/django.po | 97 +++++++++---------- teleforma/static/teleforma/css/teleforma.css | 10 ++ teleforma/templates/postman/base_folder.html | 8 ++ 4 files changed, 65 insertions(+), 50 deletions(-) diff --git a/teleforma/locale/fr/LC_MESSAGES/django.mo b/teleforma/locale/fr/LC_MESSAGES/django.mo index dbb305cd0197761c99da040534eadfc213afd178..17679f714587b03207a033fb53b0b4d4ab1a336d 100644 GIT binary patch delta 5016 zcmZA33sjf&9mnyXigGO?|HwkdEd@kTP?_K)%3F~vbTb)JOHI6ml8QA&{Yz@oE}Eh% zyk+4fmz4w5*)p?q<|JEcT52{m=4?A@=a_lsCVPMW&$n|tJ;x8P=l6S_=XZN9f2&KE zjr5r08%jmdtwmgTm3*(!$qiui%}hy z+3~4%d^XadTYw?>EC$iPTfvSxs6{of0X6x0R6~1F9e#wG`4LnDr%?lJw(`HQ4dp9V zzJ`&MTSa^AN1@t@Lk&0yBkA9D(GKRK8Z1DaScIDKa4U~SbubQf-XuHzIBGz1Py>7# zb^Qx?8?Ho6Y!m9dMl0_|zbX!~qZ5yzmZ%vu!hfS0ykg!!tyD+{uc7v+6^cWxSeljl z*zp0_n)*UiJ4JT91a*E{2i9K$sH8$2&OwzI+6hbWcFJp!)pXmeem`nP$51mphXr^6 zHK42*uf04}$Aiow)C5ZG_}CcMUrSt0g=RhzHGp{-g^N)uvl`XVRy)1})$tzG!1tkU zNt2b2pxQl&YVQJS#+R+W1$AA7|0mvsKGXnW@u!%C9Wfshu+-|S%vw9X6O%c96ch0( zree$;&UMCoRC{Hp0nA5DWVz{I!;Y406KaX;Q6oQqn$a=T3{E0%s5_5ZneS2OhsJuh zA|5rPZm5;%jk+!u)nR|DFGT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:182 models/crfpa.py:108 models/crfpa.py:146 -#: models/pro.py:165 models/pro.py:209 models/pro.py:223 +#: models/pro.py:165 models/pro.py:209 models/pro.py:224 msgid "user" msgstr "utilisateur" @@ -26,7 +26,7 @@ msgstr "utilisateur" msgid "period" msgstr "période" -#: models/ae.py:49 models/crfpa.py:114 models/pro.py:231 +#: models/ae.py:49 models/crfpa.py:114 models/pro.py:232 msgid "platform only" msgstr "plateforme seulement" @@ -214,7 +214,7 @@ msgstr "stream en direct" msgid "credits" msgstr "crédits" -#: models/core.py:380 models/pro.py:118 models/pro.py:172 +#: models/core.py:380 models/pro.py:118 models/pro.py:172 models/pro.py:215 msgid "date added" msgstr "date d'ajout" @@ -293,39 +293,39 @@ msgstr "iej" msgid "student" msgstr "étudiant" -#: models/crfpa.py:147 models/pro.py:233 +#: models/crfpa.py:147 models/pro.py:234 #: templates/teleforma/seminar_testimonial.html:37 #: templates/telemeta/profile_detail.html:82 msgid "Address" msgstr "Adresse" -#: models/crfpa.py:148 models/pro.py:234 +#: models/crfpa.py:148 models/pro.py:235 msgid "Postal code" msgstr "Code postal" -#: models/crfpa.py:149 models/pro.py:235 +#: models/crfpa.py:149 models/pro.py:236 msgid "City" msgstr "Ville" -#: models/crfpa.py:150 models/pro.py:236 +#: models/crfpa.py:150 models/pro.py:237 msgid "Country" msgstr "Pays" -#: models/crfpa.py:151 models/pro.py:237 +#: models/crfpa.py:151 models/pro.py:238 #: templates/telemeta/profile_detail.html:91 msgid "Language" msgstr "Langue" -#: models/crfpa.py:152 models/pro.py:238 +#: models/crfpa.py:152 models/pro.py:239 templates/postman/base.html:11 #: templates/telemeta/profile_detail.html:83 msgid "Telephone" msgstr "Téléphone" -#: models/crfpa.py:153 models/pro.py:240 +#: models/crfpa.py:153 models/pro.py:241 msgid "Expiration_date" msgstr "Date d'expiration" -#: models/crfpa.py:154 models/pro.py:241 +#: models/crfpa.py:154 models/pro.py:242 msgid "Password initialized" msgstr "Mot de passe initialisé" @@ -451,28 +451,28 @@ msgstr "modèle" msgid "Testimonial template" msgstr "Modèle d'attestation" -#: models/pro.py:218 templates/teleforma/inc/testimonial_list.html:14 +#: models/pro.py:219 templates/teleforma/inc/testimonial_list.html:14 #: views/pro.py:482 msgid "Testimonial" msgstr "Attestation" -#: models/pro.py:225 +#: models/pro.py:226 msgid "seminars" msgstr "séminaires" -#: models/pro.py:228 +#: models/pro.py:229 msgid "conferences" msgstr "conférences" -#: models/pro.py:232 +#: models/pro.py:233 msgid "Company" msgstr "" -#: models/pro.py:239 +#: models/pro.py:240 msgid "Fax" msgstr "" -#: models/pro.py:251 +#: models/pro.py:252 msgid "Auditor" msgstr "Auditeur" @@ -484,7 +484,7 @@ msgstr "Page non trouvée" msgid "Server error" msgstr "Erreur du serveur" -#: templates/admin/base.html:21 templates/telemeta/base.html:98 +#: templates/admin/base.html:21 templates/telemeta/base.html:99 msgid "Home" msgstr "Accueil" @@ -499,28 +499,28 @@ msgid "" "long term storage." msgstr "" -#: templates/postman/base.html:10 -msgid "Folders" -msgstr "Dossiers" +#: templates/postman/base.html:21 +msgid "Messaging" +msgstr "Messagerie" -#: templates/postman/base.html:15 +#: templates/postman/base.html:26 msgid "Inbox" msgstr "" -#: templates/postman/base.html:16 templates/postman/sent.html:3 +#: templates/postman/base.html:27 templates/postman/sent.html:3 #, fuzzy msgid "Sent Messages" msgstr "Messages" -#: templates/postman/base.html:17 +#: templates/postman/base.html:28 msgid "Archives" msgstr "" -#: templates/postman/base.html:18 +#: templates/postman/base.html:29 msgid "Trash" msgstr "" -#: templates/postman/base.html:23 +#: templates/postman/base.html:34 msgid "New message" msgstr "Nouveau message" @@ -582,15 +582,7 @@ msgstr "" msgid "No messages." msgstr "Messages" -#: templates/postman/base_write.html:13 -msgid "to an administrator" -msgstr "à un administrateur" - -#: templates/postman/base_write.html:21 -msgid "to a professor" -msgstr "à un professeur" - -#: templates/postman/base_write.html:38 +#: templates/postman/base_write.html:16 #: templates/teleforma/inc/chat_room.html:13 msgid "Send" msgstr "" @@ -706,7 +698,7 @@ msgid "Received" msgstr "" #: templates/postman/reply.html:3 templates/postman/view.html:47 -#: templates/postman/view.html.py:50 templates/postman/view.html:53 +#: templates/postman/view.html.py:53 templates/postman/view.html:56 msgid "Reply" msgstr "" @@ -790,7 +782,7 @@ msgid "General" msgstr "Général" #: templates/teleforma/answers.html:6 templates/teleforma/answers.html:62 -#: templates/telemeta/base.html:111 +#: templates/telemeta/base.html:112 msgid "Answers" msgstr "Consultations" @@ -1022,7 +1014,7 @@ msgstr "Status" msgid "Step 6 : evaluate the seminar" msgstr "Étape 6 : évaluer ce séminaire" -#: templates/teleforma/help.html:11 templates/telemeta/base.html:114 +#: templates/teleforma/help.html:11 templates/telemeta/base.html:115 #: templates/telemeta/base.html.py:127 msgid "Help" msgstr "Aide" @@ -1228,31 +1220,27 @@ msgstr "enregistrée le" msgid "Validated" msgstr "validé" -#: templates/telemeta/base.html:95 +#: templates/telemeta/base.html:96 msgid "Desk" msgstr "Bureau" -#: templates/telemeta/base.html:103 -msgid "Messaging" -msgstr "Messagerie" +#: templates/telemeta/base.html:104 +msgid "Contact us" +msgstr "Contactez-nous" -#: templates/telemeta/base.html:106 templates/telemeta/users.html:6 +#: templates/telemeta/base.html:107 templates/telemeta/users.html:6 #: templates/telemeta/users.html.py:43 msgid "Users" msgstr "" -#: templates/telemeta/base.html:112 +#: templates/telemeta/base.html:113 msgid "Admin" msgstr "" -#: templates/telemeta/base.html:124 +#: templates/telemeta/base.html:125 msgid "Profile" msgstr "Profil" -#: templates/telemeta/base.html:126 -msgid "Lists" -msgstr "" - #: templates/telemeta/base.html:129 msgid "Sign out" msgstr "" @@ -1499,6 +1487,15 @@ msgstr "Vous avez soumis votre reponse avec succès" msgid "You have successfully sumitted your evaluation" msgstr "Vous avez soumis votre évaluation avec succès" +#~ msgid "Folders" +#~ msgstr "Dossiers" + +#~ msgid "to an administrator" +#~ msgstr "à un administrateur" + +#~ msgid "to a professor" +#~ msgstr "à un professeur" + #~ msgid "His courses" #~ msgstr "Ses matières" diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index f4aacffb..7b096b86 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -1694,6 +1694,16 @@ input,textarea{ border-radius: 8px 0px 8px 8px; } +.success { + margin-top: 1em; + color: white; + padding: 0.3em; + background-color: green; + -moz-border-radius: 8px 0px 8px 8px; + -webkit-border-radius: 8px 0px 8px 8px; + border-radius: 8px 0px 8px 8px; +} + .error { color: white; padding: 0.3em; diff --git a/teleforma/templates/postman/base_folder.html b/teleforma/templates/postman/base_folder.html index e51ce2de..45a4f661 100644 --- a/teleforma/templates/postman/base_folder.html +++ b/teleforma/templates/postman/base_folder.html @@ -24,6 +24,14 @@ {% autopaginate pm_messages %}{% paginate %} +{% if messages %} +
+ {% for message in messages %} + {{ message }}
+ {% endfor %} + +{% endif %} +
{% csrf_token %} -- 2.39.5