##// END OF EJS Templates
Added localizations to forms. Do not allow users without session to post.
Added localizations to forms. Do not allow users without session to post.

File last commit:

r211:5a120222 default
r211:5a120222 default
Show More
authors.py
30 lines | 820 B | text/x-python | PythonLexer
from django.utils.translation import ugettext_lazy as _
__author__ = 'neko259'
ROLE_AUTHOR = _('author')
ROLE_DEVELOPER = _('developer')
ROLE_JS_DEV = _('javascript developer')
ROLE_DESIGNER = _('designer')
authors = {
'neko259': {
'name': 'Pavel Ryapolov',
'contacts': ['neko259@gmail.com'],
'roles': [ROLE_AUTHOR, ROLE_DEVELOPER],
},
'ilyas': {
'name': 'Ilyas Babayev',
'contacts': ['zamesilyasa@gmail.com'],
'roles': [ROLE_AUTHOR, ROLE_DEVELOPER],
},
'ritsufag': {
'name': 'Aiko Kirino',
'contacts': ['ritsufag@gmail.com'],
'roles': [ROLE_JS_DEV, ROLE_DESIGNER],
},
'Tenno Seremel': {
'name': 'anonymous',
'contacts': ['html@serenareem.net'],
'roles': [ROLE_JS_DEV, ROLE_DESIGNER],
},
}