|
Revision 1660, 1.0 KB
(checked in by JensDiemer, 21 months ago)
|
|
add new multiple preferences.
|
-
Property svn:eol-style set to
LF
|
| Line | |
|---|
| 1 | # -*- coding: utf-8 -*- |
|---|
| 2 | |
|---|
| 3 | from django.utils.translation import gettext_lazy as _ |
|---|
| 4 | |
|---|
| 5 | #_____________________________________________________________________________ |
|---|
| 6 | # meta information |
|---|
| 7 | |
|---|
| 8 | __author__ = "Jens Diemer" |
|---|
| 9 | __url__ = "http://www.PyLucid.org" |
|---|
| 10 | __description__ = "Preference editor" |
|---|
| 11 | __long_description__ = """ |
|---|
| 12 | A editor for the preferences. |
|---|
| 13 | """ |
|---|
| 14 | |
|---|
| 15 | #_____________________________________________________________________________ |
|---|
| 16 | # plugin administration data |
|---|
| 17 | |
|---|
| 18 | plugin_manager_data = { |
|---|
| 19 | "select" : { |
|---|
| 20 | "must_login" : True, |
|---|
| 21 | "must_admin" : True, |
|---|
| 22 | "admin_sub_menu": { |
|---|
| 23 | "section" : _("setup"), |
|---|
| 24 | "title" : _("Preferences editor"), |
|---|
| 25 | "help_text" : _( |
|---|
| 26 | "Setup all plugin preferences." |
|---|
| 27 | ), |
|---|
| 28 | "open_in_window": False, |
|---|
| 29 | "weight" : -5, |
|---|
| 30 | }, |
|---|
| 31 | }, |
|---|
| 32 | "edit": { |
|---|
| 33 | "must_login" : True, |
|---|
| 34 | "must_admin" : True, |
|---|
| 35 | }, |
|---|
| 36 | "add": { |
|---|
| 37 | "must_login" : True, |
|---|
| 38 | "must_admin" : True, |
|---|
| 39 | }, |
|---|
| 40 | |
|---|
| 41 | } |
|---|