5648: improvements, enhancements, more accurate strings
svn: r19120
This commit is contained in:
@ -64,10 +64,10 @@ _FONTS = [ { 'name' : _("Default"), 'value' : "" },
|
|||||||
{ 'name' : _("PostScript / Helvetica"), 'value' : "Helvetica" },
|
{ 'name' : _("PostScript / Helvetica"), 'value' : "Helvetica" },
|
||||||
{ 'name' : _("TrueType / FreeSans"), 'value' : "FreeSans" } ]
|
{ 'name' : _("TrueType / FreeSans"), 'value' : "FreeSans" } ]
|
||||||
|
|
||||||
_RANKDIR = [ { 'name' : _("Vertical (top to bottom)"), 'value' : "TB" },
|
_RANKDIR = [ { 'name' : _("Vertical (↓)"), 'value' : "TB" },
|
||||||
{ 'name' : _("Vertical (bottom to top)"), 'value' : "BT" },
|
{ 'name' : _("Vertical (↑)"), 'value' : "BT" },
|
||||||
{ 'name' : _("Horizontal (left to right)"), 'value' : "LR" },
|
{ 'name' : _("Horizontal (→)"), 'value' : "LR" },
|
||||||
{ 'name' : _("Horizontal (right to left)"), 'value' : "RL" } ]
|
{ 'name' : _("Horizontal (←)"), 'value' : "RL" } ]
|
||||||
|
|
||||||
_PAGEDIR = [ { 'name' : _("Bottom, left"), 'value' :"BL" },
|
_PAGEDIR = [ { 'name' : _("Bottom, left"), 'value' :"BL" },
|
||||||
{ 'name' : _("Bottom, right"), 'value' :"BR" },
|
{ 'name' : _("Bottom, right"), 'value' :"BR" },
|
||||||
|
@ -75,7 +75,7 @@ class NameEmbedList(GroupEmbeddedList):
|
|||||||
None,
|
None,
|
||||||
(_('Group As'), NameModel.COL_GROUPAS[0],100, 0, -1),
|
(_('Group As'), NameModel.COL_GROUPAS[0],100, 0, -1),
|
||||||
(_('Source'), NameModel.COL_HASSOURCE[0],60, 0, -1),
|
(_('Source'), NameModel.COL_HASSOURCE[0],60, 0, -1),
|
||||||
(_('Note Preview'), NameModel.COL_NOTEPREVIEW[0], 250, 0, -1),
|
(_('Notes Preview'), NameModel.COL_NOTEPREVIEW[0], 250, 0, -1),
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, dbstate, uistate, track, data, person, callback):
|
def __init__(self, dbstate, uistate, track, data, person, callback):
|
||||||
|
@ -533,8 +533,8 @@ class RecordsReportOptions(MenuReportOptions):
|
|||||||
callname = EnumeratedListOption(_("Use call name"), _Name_CALLNAME_DONTUSE)
|
callname = EnumeratedListOption(_("Use call name"), _Name_CALLNAME_DONTUSE)
|
||||||
callname.set_items([
|
callname.set_items([
|
||||||
(_Name_CALLNAME_DONTUSE, _("Don't use call name")),
|
(_Name_CALLNAME_DONTUSE, _("Don't use call name")),
|
||||||
(_Name_CALLNAME_REPLACE, _("Replace first name with call name")),
|
(_Name_CALLNAME_REPLACE, _("Replace first names with call name")),
|
||||||
(_Name_CALLNAME_UNDERLINE_ADD, _("Underline call name in first name / add call name to first name"))])
|
(_Name_CALLNAME_UNDERLINE_ADD, _("Underline call name in first names / add call name to first name"))])
|
||||||
menu.add_option(category_name, "callname", callname)
|
menu.add_option(category_name, "callname", callname)
|
||||||
|
|
||||||
footer = StringOption(_("Footer text"), "")
|
footer = StringOption(_("Footer text"), "")
|
||||||
|
@ -241,7 +241,7 @@ def get_marriage_date(db,family):
|
|||||||
class Verify(tool.Tool, ManagedWindow, UpdateCallback):
|
class Verify(tool.Tool, ManagedWindow, UpdateCallback):
|
||||||
|
|
||||||
def __init__(self, dbstate, uistate, options_class, name, callback=None):
|
def __init__(self, dbstate, uistate, options_class, name, callback=None):
|
||||||
self.label = _('Database Verify tool')
|
self.label = _('Data Verify tool')
|
||||||
self.vr = None
|
self.vr = None
|
||||||
tool.Tool.__init__(self, dbstate, options_class, name)
|
tool.Tool.__init__(self, dbstate, options_class, name)
|
||||||
ManagedWindow.__init__(self, uistate,[], self.__class__)
|
ManagedWindow.__init__(self, uistate,[], self.__class__)
|
||||||
@ -428,7 +428,7 @@ class VerifyResults(ManagedWindow):
|
|||||||
SHOW_COL = 9
|
SHOW_COL = 9
|
||||||
|
|
||||||
def __init__(self,dbstate,uistate,track):
|
def __init__(self,dbstate,uistate,track):
|
||||||
self.title = _('Database Verification Results')
|
self.title = _('Data Verification Results')
|
||||||
|
|
||||||
ManagedWindow.__init__(self,uistate,track,self.__class__)
|
ManagedWindow.__init__(self,uistate,track,self.__class__)
|
||||||
|
|
||||||
|
@ -2194,10 +2194,10 @@ class PedigreeView(NavigationView):
|
|||||||
configdialog.add_combo(table,
|
configdialog.add_combo(table,
|
||||||
_('Tree direction'),
|
_('Tree direction'),
|
||||||
5, 'interface.pedview-tree-direction',
|
5, 'interface.pedview-tree-direction',
|
||||||
((0, _('Vertical (top to bottom)')),
|
((0, _('Vertical (↓)')),
|
||||||
(1, _('Vertical (bottom to top)')),
|
(1, _('Vertical (↑)')),
|
||||||
(2, _('Horizontal (left to right)')),
|
(2, _('Horizontal (→)')),
|
||||||
(3, _('Horizontal (right to left)'))))
|
(3, _('Horizontal (←)'))))
|
||||||
self.config_size_slider = configdialog.add_slider(table,
|
self.config_size_slider = configdialog.add_slider(table,
|
||||||
_('Tree size'),
|
_('Tree size'),
|
||||||
6, 'interface.pedview-tree-size',
|
6, 'interface.pedview-tree-size',
|
||||||
|
Reference in New Issue
Block a user