* src/po/template.po: Update translation template.
* src/po/ru.po: Update Russian translation. * src/plugins/FilterEditor.py (edit_rule): Use translated strings for identifying rule/option. * src/GenericFilter.py (save): Encode XML file as utf-8 (was iso8859-1). svn: r2124
This commit is contained in:
parent
eaae22c536
commit
13244fb741
@ -13,6 +13,12 @@
|
||||
* src/NameEdit.py: Likewise.
|
||||
* src/Marriage.py: Rename top_window to self.window.
|
||||
|
||||
* src/po/template.po: Update translation template.
|
||||
* src/po/ru.po: Update Russian translation.
|
||||
* src/plugins/FilterEditor.py (edit_rule): Use translated strings for
|
||||
identifying rule/option.
|
||||
* src/GenericFilter.py (save): Encode XML file as utf-8 (was iso8859-1).
|
||||
|
||||
2003-09-12 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/BaseDoc.py: add init function to BaseDoc to be called after
|
||||
all graphics formats are defined
|
||||
|
@ -1365,7 +1365,7 @@ class GenericFilterList:
|
||||
# except:
|
||||
# return
|
||||
|
||||
f = open(self.file.encode('iso8859-1'),'w')
|
||||
f = open(self.file.encode('utf-8'),'w')
|
||||
|
||||
f.write("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")
|
||||
f.write('<filters>\n')
|
||||
|
@ -450,17 +450,17 @@ class FilterEditor:
|
||||
l = gtk.Label(v1)
|
||||
l.set_alignment(1,0.5)
|
||||
l.show()
|
||||
if v == 'Place:':
|
||||
if v == _('Place:'):
|
||||
t = MyPlaces(self.pmap.keys())
|
||||
elif v == 'Number of generations:':
|
||||
elif v == _('Number of generations:'):
|
||||
t = MyInteger(1,32)
|
||||
elif v == 'ID:':
|
||||
elif v == _('ID:'):
|
||||
t = MyID(self.db)
|
||||
elif v == 'Filter name:':
|
||||
elif v == _('Filter name:'):
|
||||
t = MyFilters(self.filterdb.get_filters())
|
||||
elif _name2list.has_key(v1):
|
||||
t = MySelect(_name2list[v1])
|
||||
elif v == 'Inclusive:':
|
||||
elif v == _('Inclusive:'):
|
||||
t = MyBoolean(_('Include original person'))
|
||||
else:
|
||||
t = MyEntry()
|
||||
@ -489,7 +489,7 @@ class FilterEditor:
|
||||
#
|
||||
sel_node = None
|
||||
if self.active_rule:
|
||||
sel_name = self.active_rule.name()
|
||||
sel_name = _(self.active_rule.name())
|
||||
else:
|
||||
sel_name = ""
|
||||
|
||||
|
5126
src/po/ru.po
5126
src/po/ru.po
File diff suppressed because it is too large
Load Diff
2321
src/po/template.po
2321
src/po/template.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user