From 612774f11bbe71b9198e74ecb19298657cbd3726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 23 Mar 2012 15:26:12 +0000 Subject: [PATCH] 5648: improvements, enhancements, more accurate strings svn: r19120 --- src/gen/plug/docgen/graphdoc.py | 8 ++++---- src/gui/editors/displaytabs/nameembedlist.py | 2 +- src/plugins/Records.py | 4 ++-- src/plugins/tool/Verify.py | 4 ++-- src/plugins/view/pedigreeview.py | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/gen/plug/docgen/graphdoc.py b/src/gen/plug/docgen/graphdoc.py index 16d1a6f00..34d18a5ca 100644 --- a/src/gen/plug/docgen/graphdoc.py +++ b/src/gen/plug/docgen/graphdoc.py @@ -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" }, diff --git a/src/gui/editors/displaytabs/nameembedlist.py b/src/gui/editors/displaytabs/nameembedlist.py index ba8ea7cdf..c524c3f9a 100644 --- a/src/gui/editors/displaytabs/nameembedlist.py +++ b/src/gui/editors/displaytabs/nameembedlist.py @@ -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): diff --git a/src/plugins/Records.py b/src/plugins/Records.py index 69fa2b348..3ce424cdb 100644 --- a/src/plugins/Records.py +++ b/src/plugins/Records.py @@ -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"), "") diff --git a/src/plugins/tool/Verify.py b/src/plugins/tool/Verify.py index 02048fa5b..7db4842ad 100644 --- a/src/plugins/tool/Verify.py +++ b/src/plugins/tool/Verify.py @@ -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__) diff --git a/src/plugins/view/pedigreeview.py b/src/plugins/view/pedigreeview.py index 492837e03..ec2e4f75d 100644 --- a/src/plugins/view/pedigreeview.py +++ b/src/plugins/view/pedigreeview.py @@ -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',