5648: improvements, enhancements, more accurate strings

svn: r19120
This commit is contained in:
Jérôme Rapinat 2012-03-23 15:26:12 +00:00
parent 76ece14d56
commit 612774f11b
5 changed files with 13 additions and 13 deletions

View File

@ -64,10 +64,10 @@ _FONTS = [ { 'name' : _("Default"), 'value' : "" },
{ 'name' : _("PostScript / Helvetica"), 'value' : "Helvetica" },
{ 'name' : _("TrueType / FreeSans"), 'value' : "FreeSans" } ]
_RANKDIR = [ { 'name' : _("Vertical (top to bottom)"), 'value' : "TB" },
{ 'name' : _("Vertical (bottom to top)"), 'value' : "BT" },
{ 'name' : _("Horizontal (left to right)"), 'value' : "LR" },
{ 'name' : _("Horizontal (right to left)"), 'value' : "RL" } ]
_RANKDIR = [ { 'name' : _("Vertical ()"), 'value' : "TB" },
{ 'name' : _("Vertical ()"), 'value' : "BT" },
{ 'name' : _("Horizontal ()"), 'value' : "LR" },
{ 'name' : _("Horizontal ()"), 'value' : "RL" } ]
_PAGEDIR = [ { 'name' : _("Bottom, left"), 'value' :"BL" },
{ 'name' : _("Bottom, right"), 'value' :"BR" },

View File

@ -75,7 +75,7 @@ class NameEmbedList(GroupEmbeddedList):
None,
(_('Group As'), NameModel.COL_GROUPAS[0],100, 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):

View File

@ -533,8 +533,8 @@ class RecordsReportOptions(MenuReportOptions):
callname = EnumeratedListOption(_("Use call name"), _Name_CALLNAME_DONTUSE)
callname.set_items([
(_Name_CALLNAME_DONTUSE, _("Don't use call name")),
(_Name_CALLNAME_REPLACE, _("Replace first name with call name")),
(_Name_CALLNAME_UNDERLINE_ADD, _("Underline call name in first name / add call name to first name"))])
(_Name_CALLNAME_REPLACE, _("Replace first names with call name")),
(_Name_CALLNAME_UNDERLINE_ADD, _("Underline call name in first names / add call name to first name"))])
menu.add_option(category_name, "callname", callname)
footer = StringOption(_("Footer text"), "")

View File

@ -241,7 +241,7 @@ def get_marriage_date(db,family):
class Verify(tool.Tool, ManagedWindow, UpdateCallback):
def __init__(self, dbstate, uistate, options_class, name, callback=None):
self.label = _('Database Verify tool')
self.label = _('Data Verify tool')
self.vr = None
tool.Tool.__init__(self, dbstate, options_class, name)
ManagedWindow.__init__(self, uistate,[], self.__class__)
@ -428,7 +428,7 @@ class VerifyResults(ManagedWindow):
SHOW_COL = 9
def __init__(self,dbstate,uistate,track):
self.title = _('Database Verification Results')
self.title = _('Data Verification Results')
ManagedWindow.__init__(self,uistate,track,self.__class__)

View File

@ -2194,10 +2194,10 @@ class PedigreeView(NavigationView):
configdialog.add_combo(table,
_('Tree direction'),
5, 'interface.pedview-tree-direction',
((0, _('Vertical (top to bottom)')),
(1, _('Vertical (bottom to top)')),
(2, _('Horizontal (left to right)')),
(3, _('Horizontal (right to left)'))))
((0, _('Vertical ()')),
(1, _('Vertical ()')),
(2, _('Horizontal ()')),
(3, _('Horizontal ()'))))
self.config_size_slider = configdialog.add_slider(table,
_('Tree size'),
6, 'interface.pedview-tree-size',