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

GenoPro Support Forum




How to delete the 's ???

Click to view RSS...
Author
Posted Tuesday, January 31, 2006 - Post #10069
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.0.0.9

Last Login: Sunday, December 12, 2010
Posts: 2, Visits: 12
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
Posted Tuesday, January 31, 2006 - Post #10070
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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.


Edited: Thursday, February 9, 2006 by GenoProSupport
Posted Thursday, February 9, 2006 - Post #10159
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers
GenoPro version: 2.0.0.9

Last Login: Sunday, December 12, 2010
Posts: 2, Visits: 12
Thanks for the tip

It did work.


Cristiano Cadore
Posted Thursday, February 9, 2006 - Post #10161
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
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.
Posted Tuesday, July 11, 2006 - Post #11835
Forum Expert

Forum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum ExpertForum Expert

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, October 30, 2020
Posts: 84, Visits: 287
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


Edited: Tuesday, July 11, 2006 by Anna


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse