fix confusing strings

update tempate

xgettext prior to 0.18.3 leads to error

try to limit bsddb3 mistake on new installation
This commit is contained in:
Jérôme Rapinat 2015-03-25 18:58:15 +01:00 committed by Ross Gammon
parent e9741e138d
commit 5180620a49
3 changed files with 6 additions and 5 deletions

View File

@ -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)

View File

@ -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

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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