- Timestamp:
- 05/28/08 13:37:32 (22 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/PyLucid/plugins_internal/find_and_replace/find_and_replace_cfg.py
r1551 r1602 1 #!/usr/bin/python2 1 # -*- coding: UTF-8 -*- 2 3 from django import newforms as forms 4 from django.utils.translation import gettext_lazy as _ 3 5 4 6 #_____________________________________________________________________________ … … 20 22 # preferences 21 23 22 from django import newforms as forms23 from django.utils.translation import ugettext as _24 25 24 class PreferencesForm(forms.Form): 26 25 min_term_len = forms.IntegerField( … … 40 39 "must_login" : True, 41 40 "must_admin" : True, 41 "admin_sub_menu": { 42 "section" : _("page admin"), 43 "title" : _("find/replace"), 44 "help_text" : _( 45 "Find and replace strings in page/stylesheets/template content." 46 ), 47 "open_in_window": False, 48 "weight" : 5, 49 }, 42 50 }, 43 51 } 44 45 preferences = (46 {47 "name": "term len limit",48 "description": "How min/max long must a search term be?",49 "value": {50 "min term len": 1,51 "max term len": 255,52 }53 },54 )