Ticket #6879: 0001-Advanced-options-made-translatable.patch

File 0001-Advanced-options-made-translatable.patch, 1.0 KB (added by ctrochalakis, 17 years ago)

flatpages-i18n

  • django/contrib/flatpages/models.py

    From 5270fad6f0a05d58d4810b08ba47276654a8eca9 Mon Sep 17 00:00:00 2001
    From: Christos Trochalakis <yatiohi@ideopolis.gr>
    Date: Tue, 25 Mar 2008 09:25:44 +0200
    Subject: [PATCH] Advanced options made translatable
    
    ---
     django/contrib/flatpages/models.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/django/contrib/flatpages/models.py b/django/contrib/flatpages/models.py
    index 36327c8..b352cbb 100644
    a b class FlatPage(models.Model):  
    2121    class Admin:
    2222        fields = (
    2323            (None, {'fields': ('url', 'title', 'content', 'sites')}),
    24             ('Advanced options', {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}),
     24            (_('Advanced options'), {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}),
    2525        )
    2626        list_filter = ('sites',)
    2727        search_fields = ('url', 'title')
Back to Top