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

GenoPro Support Forum




i.death.date.ToStringNarrative

Click to view RSS...
Author i.death.date.ToStringNarrative
Posted Monday, June 20, 2005 - Post #6995
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
When I use the i.death.date.ToStringNarrative, it always comes back with the english 'on'.

I would like to use the dutch word 'op', however I can't see where in the Dictionary I can change that......

Any hints?

rgds,
Ronald
Posted Thursday, August 18, 2005 - Post #6996
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
I forgot to include them while merging the templates. Insert the following in the LanguageDictionary:
<!-- The narrative date is for include a date within a sentence -->
<_DateNarrativeDay T=" on {}" /><!-- eg: "Daniel was born on 8-Sep-1974" -->
<_DateNarrative T=" in {}" /><!-- eg: "Daniel was born in 1974" -->

By the way, I am aware the method <code>Report.WriteText</code> does encode the first char " " into "&nbsp;". I found a solution to this about an hour ago, so the next beta will have the fix.


Edited: Thursday, September 22, 2005 by GenoProSupport
Posted Thursday, August 18, 2005 - Post #6997
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
I forgot to include them while merging the templates. Insert the following in the LanguageDictionary:
<!-- The narrative date is for include a date within a sentence -->
<_DateNarrativeDay T=" on {}" /><!-- eg: "Daniel was born on 8-Sep-1974" -->
<_DateNarrative T=" in {}" /><!-- eg: "Daniel was born in 1974" -->

By the way, I am aware the method Report.WriteText does encode the first char " " into "&nbsp;". I found a solution to this about an hour ago, so the next beta will have the fix.


Dan,

I tried it but unfortunately it doesn't seem to work.

I copied your xml snippet just above the <ReportGenerator> segment, just before

<!-- The following are user additions -->

and changed 'on' to 'op' without any effect. Even restarted Genopro....

rgds,
Ronald


Edited: Thursday, September 22, 2005 by GenoProSupport
Posted Thursday, August 18, 2005 - Post #6998
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
You are right. I have fixed the problem on my side. In the meantime, remove the underscore to have "DateNarrativeDay" and "DateNarrative". It should work.
Posted Thursday, August 18, 2005 - Post #6999
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.0.1.6

Last Login: Tuesday, November 10, 2015
Posts: 102, Visits: 499
You are right. I have fixed the problem on my side. In the meantime, remove the underscore to have "DateNarrativeDay" and "DateNarrative". It should work.


It works. However, I expect you trim the spaces from the beginning of the string when reading this dictionary variable. Hence my space got lost (I tried using two spaces to see if that made a different.; it didn't.

I finally changed the beginning space to &nbsp; and it worked like a charm.

Sounds like a small fix for a future version, or you can change the dictionary entry to also contain the non-breakable space. :-)

Thanks for the fast response,
rgds,
Ronald
Posted Thursday, August 18, 2005 - Post #7000
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
Had the same problem with german and fixed it accordingly. Works now.
Posted Thursday, August 18, 2005 - Post #7001
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
This has been fixed in 2.b13g.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse