]> git.parisson.com Git - teleforma.git/commitdiff
add some fr locales
authoryomguy <yomguy@parisson.com>
Wed, 21 Mar 2012 13:17:59 +0000 (14:17 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 21 Mar 2012 13:17:59 +0000 (14:17 +0100)
teleforma/locale/fr/LC_MESSAGES/django.po [new file with mode: 0644]
teleforma/models.py

diff --git a/teleforma/locale/fr/LC_MESSAGES/django.po b/teleforma/locale/fr/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..cc76f0b
--- /dev/null
@@ -0,0 +1,100 @@
+# 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: 2012-03-21 14:15+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n > 1)\n"
+
+#: models.py:62 models.py:73 models.py:87 models.py:146
+msgid "name"
+msgstr "nom"
+
+#: models.py:63 models.py:74 models.py:88 models.py:104 models.py:131
+#: models.py:147 models.py:177
+msgid "description"
+msgstr ""
+
+#: models.py:82
+msgid "department"
+msgstr ""
+
+#: models.py:95
+msgid "category"
+msgstr "catégorie"
+
+#: models.py:96
+msgid "categories"
+msgstr "catégories"
+
+#: models.py:101
+msgid "public_id"
+msgstr ""
+
+#: models.py:103 models.py:130 models.py:176
+msgid "title"
+msgstr "titre"
+
+#: models.py:112
+msgid "course"
+msgstr "matière"
+
+#: models.py:118 models.py:163
+msgid "courses"
+msgstr "matières"
+
+#: models.py:134
+msgid "session"
+msgstr ""
+
+#: models.py:154 models.py:155
+msgid "IEJ"
+msgstr ""
+
+#: models.py:178
+msgid "mime_type"
+msgstr ""
+
+#: models.py:179
+msgid "credits"
+msgstr ""
+
+#: models.py:180
+msgid "published"
+msgstr "publié"
+
+#: models.py:181
+msgid "date added"
+msgstr ""
+
+#: models.py:182
+msgid "date modified"
+msgstr ""
+
+#: models.py:203
+msgid "code"
+msgstr ""
+
+#: models.py:205
+msgid "file"
+msgstr "fichier"
+
+#: templates/teleforma/base.html:13
+msgid "Courses"
+msgstr "Matières"
+
+#: templates/teleforma/base.html:17
+msgid "Messages"
+msgstr ""
index 5cf3349ab485ee640a99aced7fa082f12151941a..5fc322157eb529b6c429aa63bfd914aba7584940 100755 (executable)
@@ -79,7 +79,7 @@ class Department(Model):
 
     class Meta:
         db_table = app_label + '_' + 'department'
-
+        verbose_name = _('department')
 
 
 class Category(Model):
@@ -87,8 +87,12 @@ class Category(Model):
     name            = CharField(_('name'), max_length=255)
     description     = CharField(_('description'), max_length=255, blank=True)
 
+    def __str__(self):
+        return self.name
+
     class Meta:
         db_table = app_label + '_' + 'category'
+        verbose_name = _('category')
         verbose_name_plural = _('categories')
 
 
@@ -101,10 +105,11 @@ class Course(Model):
     category        = ForeignKey('Category', related_name='course', verbose_name='category')
 
     def __str__(self):
-        return self.department.name + ' - '  + self.title + ' - ' + self.category.name
+        return self.department.name + ' - '  + self.category.name + ' - ' + self.title
 
     class Meta:
         db_table = app_label + '_' + 'course'
+        verbose_name = _('course')
 
 
 class Professor(Model):