From b97ff5fd63fc9999d76468b03d7a9b946f21c65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 24 Mar 2012 08:39:15 +0000 Subject: [PATCH] non ASCII characters in a string, see http://www.gramps-project.org/wiki/index.php?title=Coding_for_translation#How_to_allow_translations svn: r19134 --- src/gen/plug/docgen/graphdoc.py | 8 ++++---- src/plugins/view/pedigreeview.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gen/plug/docgen/graphdoc.py b/src/gen/plug/docgen/graphdoc.py index 4b8778e06..c687d3ecd 100644 --- a/src/gen/plug/docgen/graphdoc.py +++ b/src/gen/plug/docgen/graphdoc.py @@ -66,10 +66,10 @@ _FONTS = [ { 'name' : _("Default"), 'value' : "" }, { 'name' : _("PostScript / Helvetica"), 'value' : "Helvetica" }, { 'name' : _("TrueType / FreeSans"), 'value' : "FreeSans" } ] -_RANKDIR = [ { 'name' : _("Vertical (↓)"), 'value' : "TB" }, - { 'name' : _("Vertical (↑)"), 'value' : "BT" }, - { 'name' : _("Horizontal (→)"), 'value' : "LR" }, - { 'name' : _("Horizontal (←)"), 'value' : "RL" } ] +_RANKDIR = [ { 'name' : _(u"Vertical (↓)"), 'value' : "TB" }, + { 'name' : _(u"Vertical (↑)"), 'value' : "BT" }, + { 'name' : _(u"Horizontal (→)"), 'value' : "LR" }, + { 'name' : _(u"Horizontal (←)"), 'value' : "RL" } ] _PAGEDIR = [ { 'name' : _("Bottom, left"), 'value' :"BL" }, { 'name' : _("Bottom, right"), 'value' :"BR" }, diff --git a/src/plugins/view/pedigreeview.py b/src/plugins/view/pedigreeview.py index ec2e4f75d..663bcfb53 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 (↓)')), - (1, _('Vertical (↑)')), - (2, _('Horizontal (→)')), - (3, _('Horizontal (←)')))) + ((0, _(u'Vertical (↓)')), + (1, _(u'Vertical (↑)')), + (2, _(u'Horizontal (→)')), + (3, _(u'Horizontal (←)')))) self.config_size_slider = configdialog.add_slider(table, _('Tree size'), 6, 'interface.pedview-tree-size',