From 010addf422feeb3aa077da444d3b3602ea50f4d1 Mon Sep 17 00:00:00 2001 From: tonio Date: Mon, 30 Mar 2009 09:50:17 +0200 Subject: [PATCH] Use of jsi18n for translations in javascript files. Translations files are now in the right place. --- admin/locale/fr/LC_MESSAGES/django.mo | Bin 0 -> 3126 bytes admin/locale/fr/LC_MESSAGES/djangojs.mo | Bin 0 -> 561 bytes locale/fr/LC_MESSAGES/django.po | 216 ------------------------ templates/layout.html | 2 +- urls.py | 2 +- 5 files changed, 2 insertions(+), 218 deletions(-) create mode 100644 admin/locale/fr/LC_MESSAGES/django.mo create mode 100644 admin/locale/fr/LC_MESSAGES/djangojs.mo delete mode 100644 locale/fr/LC_MESSAGES/django.po diff --git a/admin/locale/fr/LC_MESSAGES/django.mo b/admin/locale/fr/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..e1b2ac2497d3250712c894e873af5126ebef6f52 GIT binary patch literal 3126 zcmb7_Pi$009LGmMks_!d{znEBT4>+0f%t=4#XeQ&y*`gUgXX5P}( zn3!my2NS&*jR(TXP!m0xc;T|qlQBW`V$=g(J*XFBG|}(xy?L~?h%niCpEvV<^PAuN ze!uzck6YHg%g_qwkD|YI8)L`7zt-S^_RCtvHi5r_>%qUlJ>dFv*|-4Si}4}w4)6?k z7dQ&ix);FB;Jo|Z0e55kDoFZ11be_wz>VN%Ag%x0eg7IH+r9($gBxyVY#(?8><2@T z_I(E=livgH20sA%z>mNU;1v)m*bi=e6{LNC25H~lK|04;DBA*V1Gj>G;GN*0o3DVh z?m0IffcUWp4?2$lOW@0H{Hfz5$1gy#<13K#UIFoA-{WxrE5^L01>KKK~MAA_|1OYjNs8xTMC2Ogw<4V*&f-3mSe?gmM|3?2tZ zz%$^R;2?MzJPmHf;VC{-Ao)80IXDX*0^b11f0sa{3cC!F{I?**HM<>6)eau6rvrwZLQeIIb|L#HGi4J$9{sq#w zvvL@6CC+g_lD?r)EDT5^eoopsZs(-oel`!OSomRwiv?+{6BA(Dmytgc2_EXEFO^{@ zA!h{}7Ll;RDR+ZRB>x2QXhtuv;dG(HvYnORr1jahp_r9Qgigw^N+_*Up1wNO>3goY zqR6n2ox(;UkW)OT1@nbizwB8;iVQ7+>NCip3*d z@t}9$2tRPJRD7zxh#3fay@6WZ>%>F`^rSV z)p3cJmDNabUT-8Fq4=QHO6n7;(NP5*H;!Y0Y9xL`coV{JmUy*XKRro?4_2!uBALn5 zMrxI%qdi$D_MFtp3Wc3IEtqV@g5BSW;JKqnd_OkA9-Evv{V2tLjMu9LXckRk)y%22DO>n<00v;g5xV720tXSZ#brnD9ap;f zFSCZz`h!(eJXUP&CYJ4+&s=ZQa$sezVOLXIB)pqJ=FiS{FCro~t&XwmF52#*LG_INX7^&6!nHJ&dG`Xx#f#aH6sj#$ zBG{D1_cV>e-o#4$nV}lNJGd~|WoZ-mG0-t?11?#Jt;m`JpAw0TBJmQZ3ulbq5it(t Vu5zBisWVska>b!^B2iHl`v+M~I;a2u literal 0 HcmV?d00001 diff --git a/admin/locale/fr/LC_MESSAGES/djangojs.mo b/admin/locale/fr/LC_MESSAGES/djangojs.mo new file mode 100644 index 0000000000000000000000000000000000000000..9db57682afb6279cbc58817d3e4402a61a4a4702 GIT binary patch literal 561 zcmY+B%}#?r5XbTB!ohfKi`@g;mE zFTR9Fr+!48G%~s=4cSiKvp1fDXO~lSL&;wki~zEl)S6Pb*rV-E%pox z`s@OAB~{@<%WIr_ryMSL(hlOLonWc7VNsRIK06*|6-$*1b}LRyqA;9zkQe7OIQ>$--EN*je@nSxXJBMREDKm6jd&a(k`5I z!VsEX#G%F`F9?r3-%ohEeMr_K8;J~Aiel(O=rvC}la^~?c$CX^rL#jj3L^gdQ=99K z-B5+Wg1+%kQnLofW~0n$Hv7;U2wkB$=%goX_t!V+, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-03-29 23:04+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Antoine Nguyen \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin/forms.py:10 templates/admin/domains.html:20 -#: templates/admin/mailboxes.html:17 -msgid "Quota" -msgstr "" - -#: admin/forms.py:11 -msgid "Password" -msgstr "Mot de passe" - -#: admin/forms.py:12 -msgid "Confirmation" -msgstr "" - -#: admin/forms.py:13 templates/admin/domains.html:21 -#: templates/admin/mailboxes.html:18 -msgid "Enabled" -msgstr "Activé" - -#: admin/forms.py:21 -msgid "Passwords mismatch" -msgstr "Les mots de passe diffèrent" - -#: admin/models.py:9 admin/models.py:43 -msgid "name" -msgstr "Nom" - -#: admin/models.py:11 admin/models.py:91 -msgid "enabled" -msgstr "Activé" - -#: admin/models.py:44 admin/models.py:88 -msgid "address" -msgstr "Adresse" - -#: admin/models.py:46 -msgid "password" -msgstr "Mot de passe" - -#: admin/models.py:90 -msgid "mailbox" -msgstr "Boite aux lettres" - -#: admin/views.py:43 admin/views.py:71 -msgid "Domain with this name already defined" -msgstr "Un domaine avec ce nom existe déjà" - -#: admin/views.py:51 -msgid "Failed to initialise domain, check permissions" -msgstr "Impossible d'initialiser le domaine, vérifier les permissions" - -#: admin/views.py:74 -msgid "Failed to rename domain, check permissions" -msgstr "Impossible de renommer le domaine, vérifier les permissions" - -#: admin/views.py:113 admin/views.py:161 -msgid "Mailbox with this address already exists" -msgstr "Une boite aux lettres pour cette adresse existe déjà" - -#: admin/views.py:140 -msgid "Failed to initialise mailbox, check permissions" -msgstr "" -"Impossible d'initialiser la boite aux lettres, vérifier les permissions" - -#: admin/views.py:164 -msgid "Failed to rename mailbox, check permissions" -msgstr "Impossible de renommer la boite aux lettres, vérifier les permissions." - -#: admin/views.py:228 admin/views.py:256 -msgid "Alias with this address already exists" -msgstr "Un alias avec cette adresse existe déjà" - -#: templates/admin/aliases.html:10 -msgid "No alias defined." -msgstr "Aucun alias défini." - -#: templates/admin/aliases.html:25 -msgid "Edit alias" -msgstr "Editer cet alias" - -#: templates/admin/aliases.html:29 -msgid "Delete alias" -msgstr "Supprimer cet alias" - -#: templates/admin/domain_header.html:8 templates/admin/editdomain.html:7 -msgid "Domain" -msgstr "Domaine" - -#: templates/admin/domain_menu.html:12 templates/admin/newmailbox.html:7 -msgid "New mailbox" -msgstr "Nouvelle boite aux lettres" - -#: templates/admin/domain_menu.html:18 templates/admin/domains.html:19 -msgid "Mailboxes" -msgstr "Boites aux lettres" - -#: templates/admin/domain_menu.html:22 -msgid "Aliases" -msgstr "Alias" - -#: templates/admin/domain_menu.html:27 -msgid "Properties" -msgstr "Propriétés" - -#: templates/admin/domains.html:8 -msgid "Available domains" -msgstr "Domaines disponibles" - -#: templates/admin/domains.html:13 -msgid "No domain defined." -msgstr "Aucun alias défini." - -#: templates/admin/domains.html:17 templates/admin/mailboxes.html:14 -msgid "Actions" -msgstr "" - -#: templates/admin/domains.html:18 templates/admin/mailboxes.html:15 -msgid "Name" -msgstr "Nom" - -#: templates/admin/domains.html:29 -msgid "Edit domain" -msgstr "Editer le domaine" - -#: templates/admin/domains.html:33 -msgid "Delete domain" -msgstr "Supprimer le domaine" - -#: templates/admin/domains.html:39 templates/admin/mailboxes.html:45 -msgid "MB" -msgstr "Mo" - -#: templates/admin/domains.html:40 templates/admin/mailboxes.html:46 -msgid "yes,no" -msgstr "oui,non" - -#: templates/admin/editalias.html:13 templates/admin/editdomain.html:15 -#: templates/admin/editmailbox.html:16 -msgid "Update" -msgstr "Mettre à jour" - -#: templates/admin/layout.html:17 -msgid "Logout" -msgstr "Déconnexion" - -#: templates/admin/layout.html:29 templates/admin/newdomain.html:7 -msgid "New domain" -msgstr "Nouveau domaine" - -#: templates/admin/layout.html:35 -msgid "Domains" -msgstr "Domaines" - -#: templates/admin/layout.html:41 -msgid "Settings" -msgstr "Paramètres" - -#: templates/admin/mailboxes.html:10 -msgid "No mailbox defined." -msgstr "Aucun alias défini." - -#: templates/admin/mailboxes.html:16 -msgid "Address" -msgstr "Adresse" - -#: templates/admin/mailboxes.html:26 -msgid "Edit mailbox" -msgstr "Editer la boite aux lettres" - -#: templates/admin/mailboxes.html:31 -msgid "Delete mailbox" -msgstr "Supprimer la boite aux lettres" - -#: templates/admin/mailboxes.html:36 -msgid "Add new alias" -msgstr "Ajouter un alias" - -#: templates/admin/mailboxes.html:40 -msgid "Mailbox aliases" -msgstr "Alias de cette boite aux lettres" - -#: templates/admin/newalias.html:7 -msgid "New alias" -msgstr "Nouvel alias" - -#: templates/admin/newalias.html:14 templates/admin/newdomain.html:15 -#: templates/admin/newmailbox.html:16 -msgid "Create" -msgstr "Créer" - -#: templates/registration/login.html:8 -msgid "Welcome" -msgstr "Bienvenue" - -#: templates/registration/login.html:11 -msgid "Your username and password didn't match. Please try again." -msgstr "" -"Votre nom d'utilisateur et mot de passe ne correspondent pas. Veuillez " -"réessayer." diff --git a/templates/layout.html b/templates/layout.html index 119d38717..243ff8cdc 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -10,7 +10,7 @@ {% url django.views.i18n.javascript_catalog as catalog_url %} - + {%block html_head %}{% endblock %} diff --git a/urls.py b/urls.py index 31b00f480..8e1250b56 100644 --- a/urls.py +++ b/urls.py @@ -20,7 +20,7 @@ urlpatterns = patterns('', (r'^accounts/login/$', 'django.contrib.auth.views.login'), (r'^accounts/logout/$', 'django.contrib.auth.views.logout_then_login'), (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', - {'packages': ('mailng',),}) + {'packages': ('mailng.admin',),}) ) if settings.DEBUG: