15,091
edits
Changes
preformated
{{man note|Hebrew Relationship Calculator - added to [https://github.com/gramps-project/gramps/pull/1575 Gramps 5.2]}} <codepre> #
# Gramps - a GTK+/GNOME based genealogy program
#
STEP = "שלוב"
STEP_F = "שלובה"
STEP_M = "שלוב" # this is actually redundent redundant if cant Can't make it "plural form".
HALF = "למחצה"
INLAW = "מחיתון"
try:
from .config import config
self.set_depth(config.get("behavior.generation-depth"))
except ImportError:
return _FATHER_LEVEL[level] % {"step": step, "inlaw": inlaw}
DIST_SON = "בן רחוק %(step) %(inlaw)s (%(level)d דורות)"
else:
return _SON_LEVEL[level] % {"step": step, "inlaw": inlaw}
DIST_MOTHER = "אם־קדמונית רחוקה %(step)s %(inlaw) s(%(level)d דורות)"
else:
return _MOTHER_LEVEL[level] % {"step": step, "inlaw": inlaw}
DIST_DAUGHTER = "בת רחוקה %(step) %(inlaw)s(%(level)d דורות)"
else:
return "אב־קדמון רחוק %s %s (%d דורות)" % (step, inlaw, level)
DIST_CHILD = "צאצא רחוק %(step)s (%(level)d דורות)"
else:
return self.DIST_CHILD % {"step": step, "level": level}
DIST_AUNT = "דודה רחוקה %(step)s %(inlaw)s"
else:
return _SISTER_LEVEL[level] % {"step": step, "inlaw": inlaw}
DIST_UNCLE = "דוד רחוק %(step)s %(inlaw)s"
else:
return _BROTHER_LEVEL[level] % {"step": step, "inlaw": inlaw}
DIST_NEPHEW = "אחיין רחוק %(step)s %(inlaw)s"
else:
return _NEPHEW_LEVEL[level] % {"step": step, "inlaw": inlaw}
DIST_NIECE = "אחיינית רחוקה %(step)s %(inlaw)s"
else:
return "בן־דוד/בת־דודה %s %s %s %s %s" % (step, inlaw, _LEVEL_NAME[level], _REMOVED_LEVEL[removed], dir,)
DIST_SIB = "דוד/דודה רחוקים %(step)s %(inlaw)s"
from gramps.gen.relationship import test
REL_CALC = RelationshipCalculator()
test(REL_CALC, True)</codepre>
{{-}}
<noinclude>
==See also==
* [[Handler List]]
[[Category:Translators/Categories]][[Category:Developers/General]]
</noinclude>