blob: c52b93538ad0e017963bc502b7d6d9628b6607f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
"""
This file must hold keys for translatable messages
that are used as variables
it is important that a dummy _() function is used here
this way message key will be pulled into django.po
and can still be used as a variable in python files
"""
_ = lambda v:v
#NOTE: all strings must be explicitly put into this dictionary,
#because you don't want to import _ from here with import *
__all__ = ['GREETING_FOR_ANONYMOUS_USER',]
#this variable is shown in settings, because
#the url within is configurable, the default is reverse('faq')
#if user changes url they will have to be able to fix the
#message translation too
GREETING_FOR_ANONYMOUS_USER = \
_('First time here? Check out the <a href="%s">FAQ</a>!')
|