* src/po/template.po: updated for string changes
* src/Date.py: add the ui_calendar_names for translation for the ui * src/DateEdit.py: use the new ui_calendar_names for the ui svn: r4455
This commit is contained in:
parent
0dd5c07204
commit
a2ef90f18b
@ -5,6 +5,9 @@
|
|||||||
* configure.in: Bump up version, to distinguish from released 1.1.99.
|
* configure.in: Bump up version, to distinguish from released 1.1.99.
|
||||||
|
|
||||||
2005-05-01 Don Allingham <don@gramps-project.org>
|
2005-05-01 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/po/template.po: updated for string changes
|
||||||
|
* src/Date.py: add the ui_calendar_names for translation for the ui
|
||||||
|
* src/DateEdit.py: use the new ui_calendar_names for the ui
|
||||||
* src/plugins/Check.py: delete families that contain only a
|
* src/plugins/Check.py: delete families that contain only a
|
||||||
single parent and no children
|
single parent and no children
|
||||||
|
|
||||||
|
@ -99,6 +99,14 @@ class Date:
|
|||||||
"Persian",
|
"Persian",
|
||||||
"Islamic"]
|
"Islamic"]
|
||||||
|
|
||||||
|
|
||||||
|
ui_calendar_names = [_("Gregorian"),
|
||||||
|
_("Julian"),
|
||||||
|
_("Hebrew"),
|
||||||
|
_("French Republican"),
|
||||||
|
_("Persian"),
|
||||||
|
_("Islamic")]
|
||||||
|
|
||||||
def __init__(self,source=None):
|
def __init__(self,source=None):
|
||||||
"""
|
"""
|
||||||
Creates a new Date instance.
|
Creates a new Date instance.
|
||||||
|
@ -193,7 +193,7 @@ class DateEditorDialog:
|
|||||||
Utils.set_titles(self.top_window,title,_('Date selection'))
|
Utils.set_titles(self.top_window,title,_('Date selection'))
|
||||||
|
|
||||||
self.calendar_box = self.top.get_widget('calendar_box')
|
self.calendar_box = self.top.get_widget('calendar_box')
|
||||||
for name in Date.Date.calendar_names:
|
for name in Date.Date.ui_calendar_names:
|
||||||
self.calendar_box.append_text(name)
|
self.calendar_box.append_text(name)
|
||||||
self.calendar_box.set_active(self.date.get_calendar())
|
self.calendar_box.set_active(self.date.get_calendar())
|
||||||
self.calendar_box.connect('changed',self.switch_calendar)
|
self.calendar_box.connect('changed',self.switch_calendar)
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user