Guilherme Gondim avatar Guilherme Gondim committed 682f5ea

add help_text to slug field

Comments (0)

Files changed (5)

Add a comment to this file

galeria/locale/en/LC_MESSAGES/django.mo

Binary file modified.

galeria/locale/en/LC_MESSAGES/django.po

 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-05-08 19:49-0300\n"
+"POT-Creation-Date: 2012-05-11 17:10-0300\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"
 msgid "<em>Not defined</em>"
 msgstr ""
 
-#: admin.py:42 models.py:73
+#: admin.py:42 models.py:75
 msgid "cover"
 msgstr ""
 
 msgid "Ascending by modification date"
 msgstr ""
 
-#: models.py:46 models.py:131
+#: models.py:46 models.py:133
 msgid "title"
 msgstr ""
 
-#: models.py:48 models.py:132
+#: models.py:48 models.py:135
 msgid "slug"
 msgstr ""
 
-#: models.py:51 models.py:157
+#: models.py:50 models.py:137
+msgid ""
+"Automatically built from the title. A slug is a short label generally used "
+"in URLs."
+msgstr ""
+
+#: models.py:53 models.py:164
 msgid "description"
 msgstr ""
 
-#: models.py:53 models.py:159
+#: models.py:55 models.py:166
 msgid "is public"
 msgstr ""
 
-#: models.py:55
+#: models.py:57
 msgid "Only public albums will be displayed in the default views."
 msgstr ""
 
-#: models.py:58
+#: models.py:60
 msgid "order"
 msgstr ""
 
-#: models.py:62
+#: models.py:64
 msgid "The default order of pictures for this album."
 msgstr ""
 
-#: models.py:68
+#: models.py:70
 msgid "parent album"
 msgstr ""
 
-#: models.py:79 models.py:133
+#: models.py:81 models.py:140
 msgid "date added"
 msgstr ""
 
-#: models.py:85 models.py:165
+#: models.py:87 models.py:172
 msgid "album"
 msgstr ""
 
-#: models.py:86
+#: models.py:88
 msgid "albums"
 msgstr ""
 
-#: models.py:134
+#: models.py:141
 msgid "date modified"
 msgstr ""
 
-#: models.py:135
+#: models.py:142
 msgid "date taken"
 msgstr ""
 
-#: models.py:136
+#: models.py:143
 msgid "image"
 msgstr ""
 
-#: models.py:161
+#: models.py:168
 msgid "Public images will be displayed in the default views."
 msgstr ""
 
-#: models.py:174
+#: models.py:181
 msgid "picture"
 msgstr ""
 
-#: models.py:175
+#: models.py:182
 msgid "pictures"
 msgstr ""
Add a comment to this file

galeria/locale/pt_BR/LC_MESSAGES/django.mo

Binary file modified.

galeria/locale/pt_BR/LC_MESSAGES/django.po

 msgstr ""
 "Project-Id-Version: Django Galeria\n"
 "Report-Msgid-Bugs-To: https://bitbucket.org/semente/django-galeria/issues\n"
-"POT-Creation-Date: 2012-05-08 19:49-0300\n"
-"PO-Revision-Date: 2012-05-08 22:49+0000\n"
+"POT-Creation-Date: 2012-05-11 17:10-0300\n"
+"PO-Revision-Date: 2012-05-11 20:11+0000\n"
 "Last-Translator: Guilherme Gondim <semente+transifex@taurinus.org>\n"
 "Language-Team: Portuguese (Brazil) (http://www.transifex.net/projects/p/django-galeria/language/pt_BR/)\n"
 "MIME-Version: 1.0\n"
 
 #: admin.py:39
 msgid "<em>Not defined</em>"
-msgstr "<em>Não definido</em>"
+msgstr "<em>Não definida</em>"
 
-#: admin.py:42 models.py:73
+#: admin.py:42 models.py:75
 msgid "cover"
 msgstr "capa"
 
 msgid "Ascending by modification date"
 msgstr "Crescente por data de modificação"
 
-#: models.py:46 models.py:131
+#: models.py:46 models.py:133
 msgid "title"
 msgstr "título"
 
-#: models.py:48 models.py:132
+#: models.py:48 models.py:135
 msgid "slug"
 msgstr "slug"
 
-#: models.py:51 models.py:157
+#: models.py:50 models.py:137
+msgid ""
+"Automatically built from the title. A slug is a short label generally used "
+"in URLs."
+msgstr "Construído automaticamente a partir do título. Um slug é uma pequena etiqueta geralmente utilizada em URLs."
+
+#: models.py:53 models.py:164
 msgid "description"
 msgstr "descrição"
 
-#: models.py:53 models.py:159
+#: models.py:55 models.py:166
 msgid "is public"
 msgstr "público"
 
-#: models.py:55
+#: models.py:57
 msgid "Only public albums will be displayed in the default views."
 msgstr "Somente álbuns públicos serão exibidos nas views padrão."
 
-#: models.py:58
+#: models.py:60
 msgid "order"
 msgstr "ordem"
 
-#: models.py:62
+#: models.py:64
 msgid "The default order of pictures for this album."
 msgstr "A ordem padrão para as imagens deste álbum."
 
-#: models.py:68
+#: models.py:70
 msgid "parent album"
 msgstr "álbum ascendente"
 
-#: models.py:79 models.py:133
+#: models.py:81 models.py:140
 msgid "date added"
 msgstr "data de adição"
 
-#: models.py:85 models.py:165
+#: models.py:87 models.py:172
 msgid "album"
 msgstr "álbum"
 
-#: models.py:86
+#: models.py:88
 msgid "albums"
 msgstr "álbuns"
 
-#: models.py:134
+#: models.py:141
 msgid "date modified"
 msgstr "data de modificação"
 
-#: models.py:135
+#: models.py:142
 msgid "date taken"
 msgstr "data da foto"
 
-#: models.py:136
+#: models.py:143
 msgid "image"
 msgstr "imagem"
 
-#: models.py:161
+#: models.py:168
 msgid "Public images will be displayed in the default views."
 msgstr "Imagens públicas serão exibidas nas views padrão."
 
-#: models.py:174
+#: models.py:181
 msgid "picture"
 msgstr "imagem"
 
-#: models.py:175
+#: models.py:182
 msgid "pictures"
 msgstr "imagens"

galeria/models.py

     title = models.CharField(_('title'), max_length=256)
     slug = models.SlugField(
         _('slug'),
-        max_length=256
+        max_length=256,
+        help_text=_('Automatically built from the title. A slug is a short '
+                    'label generally used in URLs.'),
     )
     description = models.TextField(_('description'), blank=True)
     is_public = models.BooleanField(
 
 class Picture(models.Model):
     title = models.CharField(_('title'), max_length=256)
-    slug = models.SlugField(_('slug'), max_length=256)
+    slug = models.SlugField(
+        _('slug'),
+        max_length=256,
+        help_text=_('Automatically built from the title. A slug is a short '
+                    'label generally used in URLs.'),
+    )
     date_added = models.DateTimeField(_('date added'), auto_now_add=True)
     date_modified = models.DateTimeField(_('date modified'), auto_now=True)
     date_taken = models.DateTimeField(_('date taken'), null=True, editable=False)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.