5751: revert 22108, using own filter rule, behavior and label via filtereditor

svn: r22110
This commit is contained in:
Jérôme Rapinat 2013-04-27 17:14:46 +00:00
parent a0cae8afcf
commit 9246af61a3
13 changed files with 20 additions and 20 deletions

View File

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

View File

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

View File

@ -43,7 +43,7 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Events matching a specific confidence level on its 'direct' source references"""
labels = [_('Min. Conf. level:')]
labels = [_('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)")

View File

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

View File

@ -42,7 +42,7 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Families matching a specific confidence level on its 'direct' source references"""
labels = [_('Min. Conf. level:')]
labels = [_('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)")

View File

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

View File

@ -42,6 +42,6 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Media matching a specific confidence level on its 'direct' source references"""
labels = [_('Min. Conf. level:')]
labels = [_('Confidence level:')]
name = _('Media with a direct source >= <confidence level>')
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:'),
_('Date:'),
_('Min. Conf. level:')]
_('Confidence level:')]
name = _('People with the <citation>')
description = _("Matches people with a citation of a particular "
"value")

View File

@ -42,7 +42,7 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Persons matching a specific confidence level on its 'direct' source references"""
labels = [_('Min. Conf. level:')]
labels = [_('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)")

View File

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

View File

@ -42,6 +42,6 @@ from .._matchessourceconfidencebase import MatchesSourceConfidenceBase
class MatchesSourceConfidence(MatchesSourceConfidenceBase):
"""Media matching a specific confidence level on its 'direct' source references"""
labels = [_('Min. Conf. level:')]
labels = [_('Confidence level:')]
name = _('Place with a direct source >= <confidence level>')
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 + [tag.get_name() for tag in dbstate.db.iter_tags()]
t = MyList(taglist, taglist)
elif v == _('Min. Conf. level:'):
elif v == _('Confidence level:'):
t = MyList(list(map(str, list(range(5)))),
[confidence[i] for i in range(5)])
else:

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-27 18:31+0200\n"
"POT-Creation-Date: 2013-04-27 19:11+0200\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"
@ -609,8 +609,8 @@ msgstr ""
#: ../gramps/cli/plug/__init__.py:312 ../gramps/gen/plug/report/_paper.py:91
#: ../gramps/gen/plug/report/_paper.py:113
#: ../gramps/gui/plug/report/_papermenu.py:184
#: ../gramps/gui/plug/report/_papermenu.py:245
#: ../gramps/gui/plug/report/_papermenu.py:185
#: ../gramps/gui/plug/report/_papermenu.py:246
msgid "Custom Size"
msgstr ""
@ -1365,7 +1365,7 @@ msgstr ""
#: ../gramps/gen/filters/rules/place/_hascitation.py:52
#: ../gramps/gen/filters/rules/place/_matchessourceconfidence.py:45
#: ../gramps/gui/editors/filtereditor.py:551
msgid "Min. Conf. level:"
msgid "Confidence level:"
msgstr ""
#: ../gramps/gen/filters/rules/citation/_hasgallery.py:47
@ -10648,15 +10648,15 @@ msgstr ""
msgid "CSS file"
msgstr ""
#: ../gramps/gui/plug/report/_papermenu.py:102
#: ../gramps/gui/plug/report/_papermenu.py:103
msgid "Portrait"
msgstr ""
#: ../gramps/gui/plug/report/_papermenu.py:103
#: ../gramps/gui/plug/report/_papermenu.py:104
msgid "Landscape"
msgstr ""
#: ../gramps/gui/plug/report/_papermenu.py:206
#: ../gramps/gui/plug/report/_papermenu.py:207
#: ../gramps/gui/glade/papermenu.glade:131
#: ../gramps/gui/glade/papermenu.glade:148
#: ../gramps/gui/glade/papermenu.glade:295
@ -10672,7 +10672,7 @@ msgstr ""
msgid "cm"
msgstr ""
#: ../gramps/gui/plug/report/_papermenu.py:210
#: ../gramps/gui/plug/report/_papermenu.py:211
msgid "inch|in."
msgstr ""