From 4a06f9c0e307ef95b813ec79d97104e8433c2741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 25 Mar 2015 18:58:15 +0100 Subject: [PATCH] fix confusing strings update tempate xgettext prior to 0.18.3 leads to error try to limit bsddb3 mistake on new installation --- gramps/grampsapp.py | 2 +- gramps/plugins/drawreport/fanchart.py | 2 +- po/gramps.pot | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gramps/grampsapp.py b/gramps/grampsapp.py index e7b6c4482..b9e4a6015 100644 --- a/gramps/grampsapp.py +++ b/gramps/grampsapp.py @@ -139,7 +139,7 @@ if not sys.version_info >= MIN_PYTHON_VERSION : try: import bsddb3 except ImportError: - logging.warning(_("\nYou don't have the python bsddb3 package installed." + logging.warning(_("\nYou don't have the python3 bsddb3 package installed." " This package is needed to start Gramps.\n\n" "Gramps will terminate now.")) sys.exit(1) diff --git a/gramps/plugins/drawreport/fanchart.py b/gramps/plugins/drawreport/fanchart.py index 59c8e7f06..98da7f248 100644 --- a/gramps/plugins/drawreport/fanchart.py +++ b/gramps/plugins/drawreport/fanchart.py @@ -737,7 +737,7 @@ class FanChartOptions(MenuReportOptions): p = ParagraphStyle() p.set_font(f) p.set_alignment(PARA_ALIGN_CENTER) - p.set_description(_('The style used for the text display of generation ' + "%d" % i)) + p.set_description(_('The style used for the text display of generation "%d"') % i) default_style.add_paragraph_style("FC-Text" + "%02d" % i, p) # GraphicsStyles diff --git a/po/gramps.pot b/po/gramps.pot index 314b6d406..c3ad88b8a 100644 --- a/po/gramps.pot +++ b/po/gramps.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-03-25 09:13-0700\n" +"POT-Creation-Date: 2015-03-25 18:54+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -8181,7 +8181,7 @@ msgstr "" #: ../gramps/grampsapp.py:142 msgid "" "\n" -"You don't have the python bsddb3 package installed. This package is needed " +"You don't have the python3 bsddb3 package installed. This package is needed " "to start Gramps.\n" "\n" "Gramps will terminate now." @@ -17575,7 +17575,8 @@ msgid "The basic style used for the default text display." msgstr "" #: ../gramps/plugins/drawreport/fanchart.py:740 -msgid "The style used for the text display of generation " +#, python-format +msgid "The style used for the text display of generation \"%d\"" msgstr "" #: ../gramps/plugins/drawreport/statisticschart.py:300