The following commit has been merged in the master branch:
commit df7680dd5f9eae2841df8cc867ea7a8f808a5c74
Author: Michal Čihař <[email protected]>
Date:   Wed Oct 7 14:39:42 2009 +0200

    Make these strings translatable.

diff --git a/wammu/helpers.py b/wammu/helpers.py
index f42eec4..8beecfc 100644
--- a/wammu/helpers.py
+++ b/wammu/helpers.py
@@ -13,11 +13,11 @@ class WammuContext(RequestContext):
         context['current_year'] = datetime.now().strftime('%Y')
         context['generated'] = datetime.now().strftime('%a, %d %b %Y %H:%M:%S 
GMT')
         context['menu'] = [
-            {'title': 'Support', 'link': '/support/'},
-            {'title': 'Download', 'link': '/download/'},
-            {'title': 'Screenshots', 'link': '/screenshots/'},
-            {'title': 'Documentation', 'link': '/docs/'},
-            {'title': 'Contribute', 'link': '/contribute/'},
+            {'title': _('Support'), 'link': '/support/'},
+            {'title': _('Download'), 'link': '/download/'},
+            {'title': _('Screenshots'), 'link': '/screenshots/'},
+            {'title': _('Documentation'), 'link': '/docs/'},
+            {'title': _('Contribute'), 'link': '/contribute/'},
             ]
         if not context.has_key('feeds'):
             context['feeds'] = []

-- 
UNNAMED PROJECT

_______________________________________________
Wammu-svn mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/wammu-svn

Reply via email to