Mercurial > libervia-backend
comparison frontends/src/constants.py @ 777:5642939d254e
core, bridge: new method paramsRegisterApp to register frontend's specific parameters
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 27 Dec 2013 13:28:26 +0100 |
parents | eac23b1aad90 |
children | 46aa5ada61bf |
comparison
equal
deleted
inserted
replaced
776:f89173f44850 | 777:5642939d254e |
---|---|
16 | 16 |
17 # You should have received a copy of the GNU Affero General Public License | 17 # You should have received a copy of the GNU Affero General Public License |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
20 | 20 |
21 from sat.core.i18n import _ | 21 from sat.core.i18n import _, D_ |
22 | 22 |
23 try: | 23 try: |
24 from collections import OrderedDict # only available from python 2.7 | 24 from collections import OrderedDict # only available from python 2.7 |
25 except ImportError: | 25 except ImportError: |
26 try: | 26 try: |
54 PRESENCE = getPresence() | 54 PRESENCE = getPresence() |
55 | 55 |
56 MENU_NORMAL = "NORMAL" | 56 MENU_NORMAL = "NORMAL" |
57 | 57 |
58 # from plugin_misc_text_syntaxes | 58 # from plugin_misc_text_syntaxes |
59 _SYNTAX_XHTML = "XHTML" | 59 SYNTAX_XHTML = "XHTML" |
60 _SYNTAX_CURRENT = "@CURRENT@" | 60 SYNTAX_CURRENT = "@CURRENT@" |
61 | 61 |
62 NO_SECURITY_LIMIT = -1 | 62 NO_SECURITY_LIMIT = -1 |