Use of jsi18n for translations in javascript files.

Translations files are now in the right place.
This commit is contained in:
tonio
2009-03-30 09:50:17 +02:00
parent 9f28169de7
commit 010addf422
5 changed files with 2 additions and 218 deletions
Binary file not shown.
Binary file not shown.
-216
View File
@@ -1,216 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 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 <tonio@ngyn.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\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."
+1 -1
View File
@@ -10,7 +10,7 @@
<script src="/static/js/mootools.js" type="text/javascript"></script>
<script src="/static/js/SqueezeBox.js" type="text/javascript"></script>
{% url django.views.i18n.javascript_catalog as catalog_url %}
<script type="text/javascript" src="{{ catalog_url }}"></script>
<script type="text/javascript" src="/jsi18n/"></script>
{%block html_head %}{% endblock %}
</head>
+1 -1
View File
@@ -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: