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

GenoPro Support Forum




_Cardinal_2_F is not used in 3.1.0.1

Click to view RSS...
Author
Posted Friday, March 12, 2021 - Post #41287
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers

Last Login: Monday, April 26, 2021
Posts: 4, Visits: 55
I have a family with 2 daugthers and for the cardinal number it uses _Cardinal_2 and not _Cardinal_2_F but the comment in Dictionary.xml says it should work since 2.0.1.6.
Posted Friday, March 12, 2021 - Post #41290
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 8 hours ago
Posts: 3,123, Visits: 22,705
Seems to be working fine for me.

e.g. if I choose report {PT-BR} Relatório Narrativo that has in Dictionary.xml

        <_Cardinal_2 T="dois" />
        <_Cardinal_2_F T="duas " />


and run report on Black genomap in Harry Potter sample I see

http://support.genopro.com/Uploads/Images/64f31a84-dba9-4f7f-bcdc-2d5a.jpg



'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Sunday, March 14, 2021 - Post #41298
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers

Last Login: Monday, April 26, 2021
Posts: 4, Visits: 55
So it's the problem in Narrative_2.0.1.7 PL - RC2. I think I found the function which is missing in Lang.vbs:

Function StrDicPluralCardinalMFU(strKey, iCount, strGender)
' gender-aware version of Dic.PlurualCardinal
Dim strKeyMFU
StrDicPluralCardinalMFU = ""
If iCount > 0 Then
strKeyMFU = Util.IfElse(Dic.Peek(strKey & "_" & strGender) <> "",strKey & "_" & strGender , strKey)
'1st see if there is a specific format for this key and count in the Dictionary, with or without gender qualification
StrDicPluralCardinalMFU = StrDicAttribute2(strKeyMFU, "C" & iCount & "_" & strGender, "C" & iCount)
' if not then generate standard 'plurialcardinal'phrase but with gender based cardinal number.
If StrDicPluralCardinalMFU = "" Then
StrDicPluralCardinalMFU = Dic.FormatString("_FmtPlurialCardinal", StrDicMFU("_Cardinal_" & iCount, strGender), Dic.Plurial(strKeyMFU, iCount))
End If
End If
 End Function


Can I simply copy the file from the PT-BR report?

Edited: Sunday, March 14, 2021 by Egan Wolf
Posted Sunday, March 14, 2021 - Post #41299
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 8 hours ago
Posts: 3,123, Visits: 22,705
w00t Narrative_2.0.1.7 PL - RC2  w00t

That skin template must be ancient (well 12 years old anyway Laugh). I had forgotten that a Polish translation of the Narrative Report even existed.

I think it would be better to take just the Dictionary.xml & Config.xml files from that translation and see if they can be used in a skin template that utilises the current shared scripts in the Common folder.

I will see if I can put one together.  Meanwhile if you have any updates to the Dictionary.xml from that skin please let me know


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, March 15, 2021 - Post #41301
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Customers

Last Login: Monday, April 26, 2021
Posts: 4, Visits: 55
I try to fix some parts, because they don't sound natural. I'm not familiar with the file so it takes some time, I'll send it to you when I finish.
Posted Tuesday, March 16, 2021 - Post #41308
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 8 hours ago
Posts: 3,123, Visits: 22,705
I have attached a zip file with a version of the Polish Narrative Report Skin Template {PL} Raport Narracyjny which works with the latest common code base. 

First install updated skins bundle from http://support.genopro.com/Topic40608.aspx then then unzip the attached file into your Report Skins folder.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


{PL} Raport Narracyjny.zip (3 views, 59.16 KB)

Edited: Tuesday, March 16, 2021 by genome


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse