Renamed the categories for reports

svn: r676
This commit is contained in:
Don Allingham 2002-01-02 14:27:03 +00:00
parent a0c4ce65e0
commit e92213f4ed
8 changed files with 25 additions and 25 deletions

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
"Generate files/Ancestor Chart"
"Graphical Reports/Ancestor Chart"
import Config
import os
@ -387,7 +387,7 @@ from Plugins import register_report
register_report(
report,
_("Ancestor Chart"),
category=_("Generate Files"),
category=_("Graphical Reports"),
description=_("Produces a graphical ancestral tree graph"),
xpm=get_xpm_image()
)

View File

@ -18,7 +18,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
"Generate files/Ahnentafel Report"
"Text Reports/Ahnentafel Report"
import RelLib
import os
@ -371,7 +371,7 @@ from Plugins import register_report
register_report(
report,
_("Ahnentafel Report"),
category=_("Generate Files"),
category=_("Text Reports"),
description= _("Produces a textual ancestral report"),
xpm=get_xpm_image()
)

View File

@ -272,7 +272,7 @@ from Plugins import register_report
register_report(
report,
_("Descendant Report"),
category=_("Generate Files"),
category=_("Text Reports"),
description=_("Generates a list of descendants of the active person"),
xpm=get_xpm_image()
)

View File

@ -604,7 +604,7 @@ from Plugins import register_report
register_report(
report,
_("Detailed Ancestral Report"),
category=_("Generate Files"),
category=_("Text Reports"),
description= _("Produces a detailed ancestral report"),
xpm= get_xpm_image()
)

View File

@ -456,7 +456,7 @@ from Plugins import register_report
register_report(
report,
_("Family Group Report"),
category=_("Generate Files"),
category=_("Text Reports"),
description=_("Creates a family group report, showing information on a set of parents and their children.")
)

View File

@ -284,7 +284,7 @@ from Plugins import register_report
register_report(
report,
_("Relationship graph"),
category=_("Generate Files"),
category=_("Graphical Reports"),
description=get_description()
)

View File

@ -426,7 +426,7 @@ from Plugins import register_report
register_report(
report,
_("Individual Summary"),
category=_("Generate Files"),
category=_("Text Reports"),
description=_("Produces a detailed report on the selected person.")
)

View File

@ -100,9 +100,9 @@ def get_father(f,s,level):
elif level == 3:
return _("%s is the great grandfather of %s.") % (s,f)
elif level == 4:
return _("%s is the 2nd great grandfather of %s.") % (s,f)
return _("%s is the second great grandfather of %s.") % (s,f)
elif level == 5:
return _("%s is the 3rd great grandfather of %s.") % (s,f)
return _("%s is the third great grandfather of %s.") % (s,f)
else:
return _("%s is the %dth great grandfather of %s.") % (s,level-2,f)
@ -114,9 +114,9 @@ def get_son(f,s,level):
elif level == 3:
return _("%s is the great grandson of %s.") % (s,f)
elif level == 4:
return _("%s is the 2nd great grandson of %s.") % (s,f)
return _("%s is the second great grandson of %s.") % (s,f)
elif level == 5:
return _("%s is the 3rd great grandson of %s.") % (s,f)
return _("%s is the third great grandson of %s.") % (s,f)
else:
return _("%s is the %dth great grandson of %s.") % (s,level-2,f)
@ -128,9 +128,9 @@ def get_mother(f,s,level):
elif level == 3:
return _("%s is the great grandmother of %s.") % (s,f)
elif level == 4:
return _("%s is the 2nd great grandmother of %s.") % (s,f)
return _("%s is the second great grandmother of %s.") % (s,f)
elif level == 5:
return _("%s is the 3rd great grandmother of %s.") % (s,f)
return _("%s is the third great grandmother of %s.") % (s,f)
else:
return _("%s is the %dth great grandmother of %s.") % (s,level-2,f)
@ -142,9 +142,9 @@ def get_daughter(f,s,level):
elif level == 3:
return _("%s is the great granddaughter of %s.") % (s,f)
elif level == 4:
return _("%s is the 2nd great granddaughter of %s.") % (s,f)
return _("%s is the second great granddaughter of %s.") % (s,f)
elif level == 5:
return _("%s is the 3rd great granddaughter of %s.") % (s,f)
return _("%s is the third great granddaughter of %s.") % (s,f)
else:
return _("%s is the %dth great granddaughter of %s.") % (s,level-2,f)
@ -158,9 +158,9 @@ def get_aunt(f,s,level):
elif level == 4:
return _("%s is the great grandaunt of %s.") % (s,f)
elif level == 5:
return _("%s is the 2nd great grandaunt of %s.") % (s,f)
return _("%s is the second great grandaunt of %s.") % (s,f)
elif level == 6:
return _("%s is the 3rd great grandaunt of %s.") % (s,f)
return _("%s is the third great grandaunt of %s.") % (s,f)
else:
return _("%s is the %dth great grandaunt of %s.") % (s,level-3,f)
@ -174,9 +174,9 @@ def get_uncle(f,s,level):
elif level == 4:
return _("%s is the great granduncle of %s.") % (s,f)
elif level == 5:
return _("%s is the 2nd great granduncle of %s.") % (s,f)
return _("%s is the second great granduncle of %s.") % (s,f)
elif level == 6:
return _("%s is the 3rd great granduncle of %s.") % (s,f)
return _("%s is the third great granduncle of %s.") % (s,f)
else:
return _("%s is the %dth great granduncle of %s.") % (s,level-3,f)
@ -188,9 +188,9 @@ def get_nephew(f,s,level):
elif level == 3:
return _("%s is the great grandnephew of %s.") % (s,f)
elif level == 4:
return _("%s is the 2nd great grandnephew of %s.") % (s,f)
return _("%s is the second great grandnephew of %s.") % (s,f)
elif level == 5:
return _("%s is the 3rd great grandnephew of %s.") % (s,f)
return _("%s is the third great grandnephew of %s.") % (s,f)
else:
return _("%s is the %dth great grandnephew of %s.") % (s,level-2,f)
@ -202,9 +202,9 @@ def get_niece(f,s,level):
elif level == 3:
return _("%s is the great grandniece of %s.") % (s,f)
elif level == 4:
return _("%s is the 2nd great grandniece of %s.") % (s,f)
return _("%s is the second great grandniece of %s.") % (s,f)
elif level == 5:
return _("%s is the 3rd great grandniece of %s.") % (s,f)
return _("%s is the third great grandniece of %s.") % (s,f)
else:
return _("%s is the %dth great grandniece of %s.") % (s,level-2,f)