i.death.date.ToStringNarrative
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



i.death.date.ToStringNarrative Expand / Collapse
Author
Message
Post #6995 Posted 6/20/2005 4:51:23 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 11/12/2008 5:00:44 PM
GenoPro Version: 2.0.1.6
Posts: 120, Visits: 431
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
Post #6996 Posted 8/18/2005 6:49:20 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
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.


Post #6997 Posted 8/18/2005 6:49:20 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 11/12/2008 5:00:44 PM
GenoPro Version: 2.0.1.6
Posts: 120, Visits: 431
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
Post #6998 Posted 8/18/2005 6:49:20 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
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.

Post #6999 Posted 8/18/2005 6:49:20 PM
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 11/12/2008 5:00:44 PM
GenoPro Version: 2.0.1.6
Posts: 120, Visits: 431
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
Post #7000 Posted 8/18/2005 6:49:20 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: Today @ 7:55:16 AM
GenoPro Version: 2.0.1.6
Posts: 720, Visits: 6,070
Had the same problem with german and fixed it accordingly. Works now.
Post #7001 Posted 8/18/2005 6:49:20 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523, Visits: 14,875
This has been fixed in 2.b13g.

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 6:33 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.