diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-10 19:11:10 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-10 19:11:10 -0400 |
commit | 1ec02bd63bc9367637832f23cd011b660b68dc86 (patch) | |
tree | cd4f7417cdbabc6834aeb45f73f09208a738ac2d /forum/feed.py | |
parent | 4d16497d949208d290e9b0f0f540cf41386cf896 (diff) | |
download | askbot-1ec02bd63bc9367637832f23cd011b660b68dc86.tar.gz askbot-1ec02bd63bc9367637832f23cd011b660b68dc86.tar.bz2 askbot-1ec02bd63bc9367637832f23cd011b660b68dc86.zip |
english translation
Diffstat (limited to 'forum/feed.py')
-rw-r--r-- | forum/feed.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/forum/feed.py b/forum/feed.py index d75f3be6..a4218630 100644 --- a/forum/feed.py +++ b/forum/feed.py @@ -11,13 +11,15 @@ # Licence: GPL V2
#-------------------------------------------------------------------------------
from django.contrib.syndication.feeds import Feed, FeedDoesNotExist
+from django.utils.translation import ugettext as _
from models import Question
class RssLastestQuestionsFeed(Feed):
- title = u"CNProg程序员问答社区-最新问题"
- link = u"http://www.cnprog.com/questions/"
- description = u"中国程序员的编程技术问答社区。我们做专业的、可协作编辑的技术问答社区。"
+ title = _('site title') + _(' - ') + _('site slogan') + _(' - ')+ _('latest questions')
+ #EDIT!!!
+ link = 'http://where.com/questions/'
+ description = _('meta site content')
#ttl = 10
- copyright = u'Copyright(c)2009.CNPROG.COM'
+ copyright = _('copyright message')
def item_link(self, item):
return '/questions/%s/' % item.id
@@ -38,4 +40,4 @@ def main(): pass
if __name__ == '__main__':
- main()
\ No newline at end of file + main()
|