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

svn: r17108
This commit is contained in:
Jérôme Rapinat 2011-04-12 14:27:05 +00:00
parent 7dd6957807
commit 6286787526

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)