Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ep_stamp_glyph.py
diff options
context:
space:
mode:
Diffstat (limited to 'ep_stamp_glyph.py')
-rw-r--r--ep_stamp_glyph.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/ep_stamp_glyph.py b/ep_stamp_glyph.py
index 1231ce3..064c174 100644
--- a/ep_stamp_glyph.py
+++ b/ep_stamp_glyph.py
@@ -1,5 +1,5 @@
# coding: UTF-8
-# Copyright 2009 Thomas Jourdan
+# Copyright 2009, 2010 Thomas Jourdan
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -91,7 +91,6 @@ def classify_unichrtab():
return _unichar_category
def select_by(category_list):
- global _unichar_category
selected = []
for ux in range(len(unichrtab)):
uc = unichr(unichrtab[ux])
@@ -232,8 +231,8 @@ class GlyphStamp(model_allele.Allele):
"""
post: len(__return__) == 3
"""
- text = u'Font: ' + self.family + ', ' + unicode(self.size) + ', ' + \
- 'A collection of characters from category : ' + \
+ text = _('Font: ') + self.family + ', ' + unicode(self.size) + ', ' + \
+ _('A collection of characters from category : ') + \
unicode(self.category_list)
return text, \
None, \