5,418
edits
Changes
m
→Where are the Symbol definitions are stored in Gramps
=== Where are the Symbol definitions are stored in Gramps ===
The definitions for Genealogical Symbols for Gramps labels are located in the Gramps application directory. The relative file subpath is: '''<code>gramps\gen\utils\symbols.py</code> '''
The exact Gramps application directory path varies by OS:
: MacOS
Application files & sub-directories are often have hidden, write-restricted and/or write-protected [https://wikipedia.org/wiki/File_system_permissions file permissions]. To hack the Genealogical Symbol set, you may need to [https://www.howtogeek.com/194671/how-to-hide-files-and-folders-on-every-operating-system/ un-hide the folder] and open the file for editing using Administrator ([https://wikipedia.org/wiki/Superuser Superuser]) privileges.
If the file is modified beyond usability, a backup copy of the file is archived on GitHub at :
https://github.com/gramps-project/gramps/blob/maintenance/gramps51/[https://github.com/gramps-project/gramps/blob/maintenance/gramps51/gramps/gen/utils/symbols.py gramps/gen/utils/symbols.py]
The pertinent (unmodified) sections of the '''<code>symbols.py</code>''' file are:
<span style="white-space:nowrap; display:inline;">
(_("Illegitimate"), '\u229b', ""),
<span style="color:red">(_("Birth"), '\u002a', "*"),</span> <span style="color:red">(_("Baptism/Christening"), '\u007e', "~"),</span>
(_("Engaged"), '\u26ac', "o"),
<span style="color:red">(_("Marriage"), '\u26ad', "oo"),</span> <span style="color:red">(_("Divorce"), '\u26ae', "o|o"),</span>
(_("Unmarried partnership"), '\u26af', "o-o"),
<span style="color:red">(_("Buried"), '\u26b0', "d"),</span>
(_("Cremated/Funeral urn"), '\u26b1', "d"),
(_("Killed in action"), '\u2694', "d"),
(_("East Syriac cross"), "\u2671", "+"),
(_("Heavy Greek cross"), "\u271a", "+"),
<span style="color:red">(_("Latin cross"), "\u271d", "+"),</span>
(_("Shadowed White Latin cross"), "\u271e", "+"),
(_("Maltese cross"), "\u2720", "+"),