GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
How to delete the 's ???


https://support.genopro.com/Topic10069.aspx
Print Topic | Close Window

By cristiano - Tuesday, January 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.
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
By Yehudad - Tuesday, January 31, 2006
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.
By cristiano - Thursday, February 9, 2006
Thanks for the tip

It did work.
By Yehudad - Thursday, February 9, 2006
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.
By Anna - Tuesday, July 11, 2006
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