How to delete the 's ???
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 )
        



How to delete the 's ??? Expand / Collapse
Author
Message
Post #10069 Posted 1/31/2006 12:36:35 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 8/20/2007 9:56:57 PM
GenoPro Version: 2.0.0.9
Posts: 2, Visits: 11
Hi

I am translating the dictionary file to Brazillian Portuguese, but I cannot delete the( 's ) from the individual name. As in the portuguese language we don't use the 's.
Here is how it appears:

O pai de Andre's é Joao Cadore e sua mãe é Merci Pereira Cadore.

And here is how it should appear:

O pai de Andre é Joao Cadore e sua mãe é Merci Pereira Cadore.

Does anyone know how to fix it ?
I looked many times into the Dic file and didn't find it.

Thank you


Cristiano Cadore
Post #10070 Posted 1/31/2006 2:50:08 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 9:19:28 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,287
cristiano (1/31/2006)
Hi

I am translating the dictionary file to Brazillian Portuguese, but I cannot delete the( 's ) from the individual name. As in the portuguese language we don't use the 's.
...
Does anyone know how to fix it ?
I looked many times into the Dic file and didn't find it.

Open the Lang.vbs file with an editor and look for:

Function StrPossessiveProperNoun(name)

This function add the Possessive s. Look for all the places who use this function and remark/delete them.
Post #10159 Posted 2/9/2006 1:44:17 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 8/20/2007 9:56:57 PM
GenoPro Version: 2.0.0.9
Posts: 2, Visits: 11
Thanks for the tip

It did work.


Cristiano Cadore
Post #10161 Posted 2/10/2006 12:11:15 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: Today @ 9:19:28 AM
GenoPro Version: 2.0.1.6
Posts: 552, Visits: 7,287
Don't forget not to modify the "English" skin, which is GenoPro's default. This skin is updated each time GenoPro releases new version. If you did change it just copy your files to a new folder under the "Skins" folder.
Post #11835 Posted 7/11/2006 11:17:46 AM
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the translation of GenoPro 

Group: Customers
Last Login: 9/20/2008 10:43:13 AM
GenoPro Version: 2.0.1.6
Posts: 92, Visits: 230
Instead of deleting references to the function, I preferred to alter the function itself, in the lang file. Hence, you only make one alteration, reducing risks of overseeing some places.

Like this:

'===========================================================
' In English singular Proper Nouns ending in 's' only have ' not 's
Function StrPossessiveProperNoun(name)
if right(name,1) <> "s" then
StrPossessiveProperNoun=name & "'s"
else
StrPossessiveProperNoun=name & "'"
end if
End Function

'===========================================================
' In Swedish the possessive form of Anna is Annas, and Tomas is Tomas or Tomas´
Function StrPossessiveProperNoun(name)
if right(name,1) <> "s" then
StrPossessiveProperNoun=name & "s"
else
StrPossessiveProperNoun=name & "'"
end if
End Function



The new function "overwrites" the old one, so I leave the english default in place as a reference.

For Brazillian Portuguese it would be something like:


'===========================================================
' In Brazillian Portuguese we omitt the extra s:
Function StrPossessiveProperNoun(name)
if right(name,1) <> "s" then
StrPossessiveProperNoun=name
else
StrPossessiveProperNoun=name
end if
End Function


Anna
« 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

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 1:53 PM

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