4823: Cannot store an internal uri/url on Note object with localized version

svn: r17109
This commit is contained in:
Jérôme Rapinat 2011-04-12 14:29:05 +00:00
parent 425feb5c96
commit ba397d6762

View File

@ -590,7 +590,7 @@ class StyledTextBuffer(UndoableBuffer):
tag = self.get_tag_table().lookup(g_tagname)
s_ranges = [(start, end+1) for (start, end) in g_ranges]
s_value = tag.data
s_tag = StyledTextTag('Link', s_value, s_ranges)
s_tag = StyledTextTag(_('Link'), s_value, s_ranges)
s_tags.append(s_tag)
else:
style_and_value = g_tagname.split(' ', 1)