Fixed issue #13
[django-tables2.git] / tests / templates.py
index 8909971a450562133c5da7f223086cb6949a0309..a801c39b328fb203bfa9a7c8ecde6a2a495070e5 100644 (file)
@@ -5,6 +5,7 @@ from django.conf import settings
 import django_tables2 as tables
 from attest import Tests, Assert
 from xml.etree import ElementTree as ET
+from django.utils.translation import ugettext_lazy as _
 
 
 templates = Tests()
@@ -12,7 +13,7 @@ templates = Tests()
 
 class CountryTable(tables.Table):
     name = tables.Column()
-    capital = tables.Column(sortable=False)
+    capital = tables.Column(sortable=False, verbose_name=_("Capital"))
     population = tables.Column(verbose_name='Population Size')
     currency = tables.Column(visible=False)
     tld = tables.Column(visible=False, verbose_name='Domain')