|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 12:15 PM
Posts: 3,338,
Visits: 25,593
|
Attached are revised Narrative & Descendant Report skins that I am suggesting are included in the next release of GenoPro 2007. Any testing and feedback appreciated. The Narrative Report has the automatic thumbnail and PDF Genomap generation features mentioned elsewhere. One change from those posts is that thumbnails for Svg & Pdf images can now be larger than the original, i.e. stretched to fit the label. This allow for say a background picture. Also automatic defaulting if either Inkscape or Irfanview are not installed. (e.g. no PDFs and/or no thumbnails) The Descendants Report has more minor changes, apart from those outlined below. Primarily the reporting for single parents has been improved. Both Reports now have a facility to localize the Configuration Parameters dialog and also the messages displayed to the message area and log during the report generation. So these can now be in a different language to the report output. This has been achieved by moving all messages that are displayed during generation from Dictionary.xml to a new section, GenerationMessages, Config.xml. This is all but three of the Error messages, all warning and parameter messages and a few others. The three error messages remain because they can be generated before the Config file is opened. You can now provide a translation of Config.xml in your custom skin, e.g. ConfigFR.xml and the script will then take the Config Params descriptions and messages from this file. To do this the script needs to know the the language translation you are using for GenoPro itself. Unfortunately there is currently no in-built way of determining this and so you will need to create and set a Document Custom Tag, BaseLanguage, in your .gno file. e.g. set to FR to use ConfigFR.xml. Note however that the skin titles for dropdown list of skins available will still be taken from Config.xml. Hopefully GenoPro Gamma will support both of these requirements. With the above feature for example, if you use the French translation of GenoPro can have display the Config Dialog in French and any errors, warnings and comments whilst the Report itself can be in a different language, English, Spanish etc. I have also put in place documentation of changes for Config.xml and Dictionary.xml. This consists of an XML attribute of the form V="a.b.c.d?" for each changed item, where a.b.c.d is version and ? is type of change, + being insertion, x deletion, ± replacement/amendment and ~ relocation up or down the file. On this occasion I have added the annotation after the event, and so cannot guarantee 100% accuracy. As well as the marked changes there is also the movement of text from Dictionary to Config as mentioned earlier. I hope this will make it easier for translators to keep track of changes. Update 2008/08/03 Updated Descendants to fix missing messages Update 2008/08/04 Fix offline thumbnails and picture date check in non English locale Update 2008/08/27 corrections, enhancements etc see related post Update 2008/08/31 corrections, enhancements etc see related post Update 2008/09/02 Minor update to Dictionary & Config.xml Update 2008/09/05 Minor update adding PhContactTxt and removing extra blank lines from Descendants Report Update 2008/09/10 Updates to fix issues raised by JCG in two posts Update 2008/09/12 a few more minor fixes notified by JCG
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Sunday, September 14, 2008 by
Ron
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Yesterday @ 11:24 AM
Posts: 4,887,
Visits: 22,756
|
Great work. I compiled a version with the two updated skins at http://www.genopro.com/download/InstallGenoPro.2.0.1.6.exe. This way, you won't have to manually download and install the .zip files.There a few things to tweak, as I get the following dialog on my machine when generating a Descendant Report.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 12:15 PM
Posts: 3,338,
Visits: 25,593
|
I have tweaked Descendants Report (now RC2) in attachment to 1st post to clear problem with messages not being accessed correctly. (I should have retested after some changes)
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Yesterday @ 11:24 AM
Posts: 4,887,
Visits: 22,756
|
|
|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Yesterday @ 4:51 PM
Posts: 281,
Visits: 11,851
|
New GenoPro.2.0.1.6. English Narrative Report (EN) and Narrative_2.0.1.6RC1 (EN)
I can not create Narrative Report for HarryPotter.gno file when my PC online and offline. Online: Cloning document HarryPotter... Opening configuration file Config.xml for skin 'English Narrative Report'... (and for skin Narrative_2.0.1.6RC1) Loading Dictionary.xml... [0.00] Processing template 'init.htm'... To disable display of parameter settings, tick the box under 'Options' tab of 'Generate Report' dialog. Please wait while IE form initializes Error at line 201, position 1 (Code/Util.vbs): Discrepancy of the type: 'DateValue' Error of the execution Microsoft VBScript 800A000D
Offline: Cloning document HarryPotter... Opening configuration file Config.xml for skin 'English Narrative Report'... (and for skin Narrative_2.0.1.6RC1) Loading Dictionary.xml... [0.00] Processing template 'init.htm'... To disable display of parameter settings, tick the box under 'Options' tab of 'Generate Report' dialog. Please wait while IE form initializes [16.62] LanguageDictionary.Lookup('ErrorConfigMessageNotFound') failed! [16.62] : ErrorFetchHeader Updating thumbnail for http://familytrees.genopro.com/Harry-Potter/pictures/Albus-Dumbledore.jpg [16.64] Error 5: (Cannot retrieve picture http://familytrees.genopro.com/Harry-Potter/pictures/Albus-Dumbledore.jpg) Error at line 670, position 5 (init.htm): File is not found Error of the execution Microsoft VBScript 800A0035
If delete pictures in HarryPotter.gno file - no errors. For my .gno files with GenoPro.2.0.1.6. and all new skins - no errors.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 12:15 PM
Posts: 3,338,
Visits: 25,593
|
Thanks for testing and your report Alex. The first problem as you may have guessed was due to your Russion locale setting. I've now clamped the script to "en-gb" just for the purpose of date conversion for the timestamp check so I would be grateful if you could retest.I obviously had not tested pictures not being available so hence the second error. Hopefully both are fixed in the updated RC2 skin attached to the 1st post.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Yesterday @ 4:51 PM
Posts: 281,
Visits: 11,851
|
It's OK now. Thank you Ron.
|
|
|
Customers FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Friday, October 30, 2020
Posts: 84,
Visits: 287
|
I get error messages when extracting the files. Are the updated versions included in the exe-file now, so I can use that link?
|
|
|
Customers GenoPro version: 3.1.0.1
Last Login: Yesterday @ 7:01 AM
Posts: 41,
Visits: 3,046
|
When compiling my html files with the new RC files from http://www.genopro.com/download/InstallGenoPro.2.0.1.6.exe it produces an error with the Individuals count on the left frame in the home page. The error being a dupilcate number count on the family name ie. Smith (2 2 individuals) where it should read Smith (2 individuals) with two members of that family name. It is correct when there is only one person, but anything other than this it dupilicates.Hope this helps, /Stuart
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 12:15 PM
Posts: 3,338,
Visits: 25,593
|
Thanks Stuart, I had not spotted that. I made a change to cater for Hebrew but it is obviously not working properly. There appears to be a bug in the GenoPro ReportGenerator Dic.Plurial (key, count) method. According to the SDK documentation, it should return the plural of the word according to the count. But for a count greater than one it appears to return the count in front of the plural word, thus it then works the same Dic.PlurialCount, which it should not. This only happens when there is no 'P' attribute present for the Dic key specified (Individual is this case), even though it determines the correct plural form using the Dic _FmtPlural rule. So I can work around it by just adding the P attribute, but Dic.Plurial also needs to be fixed by GenoPro. I am putting together some other changes and so I will republish when I have completed these. It has also been mentioned previously that Plurial should in fact be Plural. Hopefully this can be fixed in GenoPro Gamma
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|