GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Label above the gender symbol

Click to view RSS...
Author
Posted Friday, February 12, 2010 - Post #25438
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
If only the death date is known, it shows a "D" in front of the date above the gender symbol, both in the genomap and also in the SVG/PDF created grafiks. How can change this "D" to another letter, since in other languages not everybody knows the meaning of this "D"?
I do not want to use a custom tag for this!
Posted Saturday, February 13, 2010 - Post #25440
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 2 days ago @ 9:23 PM
Posts: 3,464, Visits: 26,854
Unfortunately the code for this is buried deep within GenoPro.exe, rather than being part of Dictionary.xml or translation, so it is a GenoPro core issue rather than a Report Generator one. The Report skin simply takes whatever text GenoPro gives it for the top label.

If you don't want to wait until GenoPro Inc. resume regular maintenance of the product then a 'cheap and cheerful' hack to fix the Report is to doctor the genomap.svg script to change "D." to whatever you want. e.g. change line 537 of genomap.svg in a Custom skin

from

    Report.WriteFormattedLn "<tspan x=""{}"" dy=""{}"">{&x}</tspan>", Cstr(pos.x + dX + nFontSize/5), nRowHeight, line
to
    Report.WriteFormattedLn "<tspan x=""{}"" dy=""{}"">{&x}</tspan>", Cstr(pos.x + dX + nFontSize/5), nRowHeight, Replace(line, "D.", "X ")

to replace "D." with "X "

Note that the replacement string length should not be longer than the original if you want to avoid text spilling over any display border.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Saturday, February 13, 2010 - Post #25443
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
Thanks for this Ron!

I think its a Genopro issue to transfer this to the dictionary.xml file!!


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse