5751: use Minimum Confidence label according to current filter behavior

svn: r22108
This commit is contained in:
Jérôme Rapinat 2013-04-27 16:24:35 +00:00
parent 221020cca0
commit de88bb34c0
14 changed files with 32 additions and 34 deletions

View File

@ -49,7 +49,7 @@ class HasCitation(Rule):
labels = [ _('Volume/Page:'), labels = [ _('Volume/Page:'),
_('Date:'), _('Date:'),
_('Confidence level:')] _('Min. Conf. level:')]
name = _('Citations matching parameters') name = _('Citations matching parameters')
category = _('General filters') category = _('General filters')
description = _("Matches citations with particular parameters") description = _("Matches citations with particular parameters")

View File

@ -49,7 +49,7 @@ class HasCitation(HasCitationBase):
labels = [ _('Volume/Page:'), labels = [ _('Volume/Page:'),
_('Date:'), _('Date:'),
_('Confidence level:')] _('Min. Conf. level:')]
name = _('Event with the <citation>') name = _('Event with the <citation>')
description = _("Matches events with a citation of a particular " description = _("Matches events with a citation of a particular "
"value") "value")

View File

@ -43,7 +43,7 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase): class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Events matching a specific confidence level on its 'direct' source references""" """Events matching a specific confidence level on its 'direct' source references"""
labels = [_('Confidence level:')] labels = [_('Min. Conf. level:')]
name = _('Events with at least one direct source >= <confidence level>') name = _('Events with at least one direct source >= <confidence level>')
description = _("Matches events with at least one direct source with confidence level(s)") description = _("Matches events with at least one direct source with confidence level(s)")

View File

@ -49,7 +49,7 @@ class HasCitation(HasCitationBase):
labels = [ _('Volume/Page:'), labels = [ _('Volume/Page:'),
_('Date:'), _('Date:'),
_('Confidence level:')] _('Min. Conf. level:')]
name = _('Family with the <citation>') name = _('Family with the <citation>')
description = _("Matches families with a citation of a particular " description = _("Matches families with a citation of a particular "
"value") "value")

View File

@ -42,7 +42,7 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase): class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Families matching a specific confidence level on its 'direct' source references""" """Families matching a specific confidence level on its 'direct' source references"""
labels = [_('Confidence level:')] labels = [_('Min. Conf. level:')]
name = _('Families with at least one direct source >= <confidence level>') name = _('Families with at least one direct source >= <confidence level>')
description = _("Matches families with at least one direct source with confidence level(s)") description = _("Matches families with at least one direct source with confidence level(s)")

View File

@ -48,7 +48,7 @@ class HasCitation(HasCitationBase):
labels = [ _('Volume/Page:'), labels = [ _('Volume/Page:'),
_('Date:'), _('Date:'),
_('Confidence level:')] _('Min. Conf. level:')]
name = _('Media with the <citation>') name = _('Media with the <citation>')
description = _("Matches media with a citation of a particular " description = _("Matches media with a citation of a particular "
"value") "value")

View File

@ -42,6 +42,6 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase): class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Media matching a specific confidence level on its 'direct' source references""" """Media matching a specific confidence level on its 'direct' source references"""
labels = [_('Confidence level:')] labels = [_('Min. Conf. level:')]
name = _('Media with a direct source >= <confidence level>') name = _('Media with a direct source >= <confidence level>')
description = _("Matches media with at least one direct source with confidence level(s)") description = _("Matches media with at least one direct source with confidence level(s)")

View File

@ -48,7 +48,7 @@ class HasCitation(HasCitationBase):
labels = [ _('Volume/Page:'), labels = [ _('Volume/Page:'),
_('Date:'), _('Date:'),
_('Confidence level:')] _('Min. Conf. level:')]
name = _('People with the <citation>') name = _('People with the <citation>')
description = _("Matches people with a citation of a particular " description = _("Matches people with a citation of a particular "
"value") "value")

View File

@ -42,7 +42,7 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase): class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Persons matching a specific confidence level on its 'direct' source references""" """Persons matching a specific confidence level on its 'direct' source references"""
labels = [_('Confidence level:')] labels = [_('Min. Conf. level:')]
name = _('Persons with at least one direct source >= <confidence level>') name = _('Persons with at least one direct source >= <confidence level>')
description = _("Matches persons with at least one direct source with confidence level(s)") description = _("Matches persons with at least one direct source with confidence level(s)")

View File

@ -49,7 +49,7 @@ class HasCitation(HasCitationBase):
labels = [ _('Volume/Page:'), labels = [ _('Volume/Page:'),
_('Date:'), _('Date:'),
_('Confidence level:')] _('Min. Conf. level:')]
name = _('Place with the <citation>') name = _('Place with the <citation>')
description = _("Matches places with a citation of a particular " description = _("Matches places with a citation of a particular "
"value") "value")

View File

@ -42,6 +42,6 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase): class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Media matching a specific confidence level on its 'direct' source references""" """Media matching a specific confidence level on its 'direct' source references"""
labels = [_('Confidence level:')] labels = [_('Min. Conf. level:')]
name = _('Place with a direct source >= <confidence level>') name = _('Place with a direct source >= <confidence level>')
description = _("Matches places with at least one direct source with confidence level(s)") description = _("Matches places with at least one direct source with confidence level(s)")

View File

@ -548,7 +548,7 @@ class EditRule(ManagedWindow):
taglist = [''] taglist = ['']
taglist = taglist + [tag.get_name() for tag in dbstate.db.iter_tags()] taglist = taglist + [tag.get_name() for tag in dbstate.db.iter_tags()]
t = MyList(taglist, taglist) t = MyList(taglist, taglist)
elif v == _('Confidence level:'): elif v == _('Min. Conf. level:'):
t = MyList(list(map(str, list(range(5)))), t = MyList(list(map(str, list(range(5)))),
[confidence[i] for i in range(5)]) [confidence[i] for i in range(5)])
else: else:

View File

@ -24,8 +24,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 4.0-beta\n" "Project-Id-Version: 4.0-beta\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-27 17:54+0200\n" "POT-Creation-Date: 2013-04-27 18:20+0200\n"
"PO-Revision-Date: 2013-04-27 17:55+0100\n" "PO-Revision-Date: 2013-04-27 18:22+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: French <traduc@traduc.org>\n" "Language-Team: French <traduc@traduc.org>\n"
"Language: fr\n" "Language: fr\n"
@ -1391,12 +1391,9 @@ msgstr "Volume/Page :"
msgid "Date:" msgid "Date:"
msgstr "Date :" msgstr "Date :"
# trunk
#: ../gramps/gen/filters/rules/_hascitationbase.py:53 #: ../gramps/gen/filters/rules/_hascitationbase.py:53
#: ../gramps/gui/glade/mergecitation.glade:308 msgid "Minimum Confidence|Min. Conf.:"
#: ../gramps/gui/glade/mergecitation.glade:327 msgstr "Conf. min. :"
msgid "Confidence:"
msgstr "Niveau de confiance"
# utilise correspondre pour to match, plus facile que être compatible ou concorder dans ce contexte # utilise correspondre pour to match, plus facile que être compatible ou concorder dans ce contexte
#: ../gramps/gen/filters/rules/_hascitationbase.py:54 #: ../gramps/gen/filters/rules/_hascitationbase.py:54
@ -1624,8 +1621,8 @@ msgstr "Correspond aux citations marquées comme privées"
#: ../gramps/gen/filters/rules/place/_hascitation.py:52 #: ../gramps/gen/filters/rules/place/_hascitation.py:52
#: ../gramps/gen/filters/rules/place/_matchessourceconfidence.py:45 #: ../gramps/gen/filters/rules/place/_matchessourceconfidence.py:45
#: ../gramps/gui/editors/filtereditor.py:551 #: ../gramps/gui/editors/filtereditor.py:551
msgid "Confidence level:" msgid "Min. Conf. level:"
msgstr "Niveau de confiance :" msgstr "Niv. min. de confiance :"
# trunk # trunk
#: ../gramps/gen/filters/rules/citation/_hasgallery.py:47 #: ../gramps/gen/filters/rules/citation/_hasgallery.py:47
@ -29255,6 +29252,12 @@ msgstr "<b>Source 1</b>"
msgid "<b>Source 2</b>" msgid "<b>Source 2</b>"
msgstr "<b>Source 2</b>" msgstr "<b>Source 2</b>"
# trunk
#: ../gramps/gui/glade/mergecitation.glade:308
#: ../gramps/gui/glade/mergecitation.glade:327
msgid "Confidence:"
msgstr "Niveau de confiance"
#: ../gramps/gui/glade/mergecitation.glade:349 #: ../gramps/gui/glade/mergecitation.glade:349
#: ../gramps/gui/glade/mergecitation.glade:368 #: ../gramps/gui/glade/mergecitation.glade:368
#: ../gramps/gui/glade/mergedata.glade:1038 #: ../gramps/gui/glade/mergedata.glade:1038
@ -30710,10 +30713,6 @@ msgstr "Système de généalogie Gramps"
msgid "Manage genealogical information, perform genealogical research and analysis" msgid "Manage genealogical information, perform genealogical research and analysis"
msgstr "Gestion des informations généalogiques, optimisation de la recherche et de l'analyse" msgstr "Gestion des informations généalogiques, optimisation de la recherche et de l'analyse"
#: ../gramps/gen/filters/rules/_hascitationbase.py:53
msgid "Minimum Confidence|Min. Conf.:"
msgstr "Conf. min. :"
# trunk # trunk
#~ msgid "To Do" #~ msgid "To Do"
#~ msgstr "À faire" #~ msgstr "À faire"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-27 17:54+0200\n" "POT-Creation-Date: 2013-04-27 18:20+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -1148,9 +1148,7 @@ msgid "Date:"
msgstr "" msgstr ""
#: ../gramps/gen/filters/rules/_hascitationbase.py:53 #: ../gramps/gen/filters/rules/_hascitationbase.py:53
#: ../gramps/gui/glade/mergecitation.glade:308 msgid "Minimum Confidence|Min. Conf.:"
#: ../gramps/gui/glade/mergecitation.glade:327
msgid "Confidence:"
msgstr "" msgstr ""
#: ../gramps/gen/filters/rules/_hascitationbase.py:54 #: ../gramps/gen/filters/rules/_hascitationbase.py:54
@ -1367,7 +1365,7 @@ msgstr ""
#: ../gramps/gen/filters/rules/place/_hascitation.py:52 #: ../gramps/gen/filters/rules/place/_hascitation.py:52
#: ../gramps/gen/filters/rules/place/_matchessourceconfidence.py:45 #: ../gramps/gen/filters/rules/place/_matchessourceconfidence.py:45
#: ../gramps/gui/editors/filtereditor.py:551 #: ../gramps/gui/editors/filtereditor.py:551
msgid "Confidence level:" msgid "Min. Conf. level:"
msgstr "" msgstr ""
#: ../gramps/gen/filters/rules/citation/_hasgallery.py:47 #: ../gramps/gen/filters/rules/citation/_hasgallery.py:47
@ -27819,6 +27817,11 @@ msgstr ""
msgid "<b>Source 2</b>" msgid "<b>Source 2</b>"
msgstr "" msgstr ""
#: ../gramps/gui/glade/mergecitation.glade:308
#: ../gramps/gui/glade/mergecitation.glade:327
msgid "Confidence:"
msgstr ""
#: ../gramps/gui/glade/mergecitation.glade:349 #: ../gramps/gui/glade/mergecitation.glade:349
#: ../gramps/gui/glade/mergecitation.glade:368 #: ../gramps/gui/glade/mergecitation.glade:368
#: ../gramps/gui/glade/mergedata.glade:1038 #: ../gramps/gui/glade/mergedata.glade:1038
@ -29450,7 +29453,3 @@ msgstr ""
msgid "" msgid ""
"Manage genealogical information, perform genealogical research and analysis" "Manage genealogical information, perform genealogical research and analysis"
msgstr "" msgstr ""
#: ../gramps/gen/filters/rules/_hascitationbase.py:53
msgid "Minimum Confidence|Min. Conf.:"
msgstr ""