|
|
Customers GenoPro version: 3.1.0.1
Last Login: Tuesday, May 21, 2024
Posts: 6,
Visits: 36
|
RonThank you for your tips, it's true, in the [|||] section does not translate the "d" as day number. Also you're right, size matters :: (of the formatting string, o course , but yes, outside this section we must enclose the d's between apostrophes Gerardo
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, October 13, 2024
Posts: 4,887,
Visits: 22,769
|
Ron (6/12/2007) I think Dan needs to investigate this further.I guess I am missing something. Does having 'd' works? Can you please elaborate on the problem? Thanks.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 13 hours ago
Posts: 3,397,
Visits: 26,161
|
I agree El Matao, there is still a problem with date formatting, but it would appear to be a different issue to the missing 'd' problem. It seems to be related to the total length of the format string. If I change the standard English string from <FmtYM> [in|about|before|after] MMMM yyyy</FmtYM> to <FmtYM> [in|about|before|after a longer phrase here] MMMM yyyy</FmtYM> I get a similar problem to you with just a numeric month appearing instead of month name and year. Wiuth other length strings the year can disappear or I get no date returned at all.As a further illustration, change your example from <FmtYM> [en|'alrededor de'|'antes de'|'después de'] MMMM 'de' yyyy</FmtYM> to <FmtYM> [en|alrededorde|antesde|después de] MMMM 'de' yyyy</FmtYM> produces the required date. I know have also removed a couple of required spaces but it demonstrates the issue with the length of the format string. I think Dan needs to investigate this further. By the way, your apostrophes within the [ | | | ] section seem to be superfluous and can be removed. Thanks for the tip on header.htm, I'll change the skin to include your suggestion.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 3.1.0.1
Last Login: Tuesday, May 21, 2024
Posts: 6,
Visits: 36
|
I'm sorry, but the fix is not working well.I'm using the skin 2.0.0.6, with the fix for the date, and having the following in the Dictionary.xml <FmtDateNarrative> <!-- Templates to format narrative dates --> <FmtYMD> [el|'alrededor del'|'antes del'|'después del'] d 'de' MMMM 'de' yyyy</FmtYMD> <!-- Nació el 31 de Enero de 2006 --> <FmtYM> [en|'alrededor de'|'antes de'|'después de'] MMMM 'de' yyyy</FmtYM> <!-- Nació en Enero de 2006 --> <FmtY> [en|'alrededor de'|'antes de'|'después de'] yyyy</FmtY> <!-- Nació en 2006 --> <FmtMD> [el|'alrededor del'|'antes del'|'después del'] d 'de' MMMM</FmtMD> <!-- Nació el 31 de Enero --> </FmtDateNarrative> if we have birth date as: --- We get : --- 7/11/1960 nació el 7 de Noviembre de 1960. (ok) 11/1960 nació en Nov. (? short month and no year) 1960 nació en 1960 (ok) 7/11 nació el . (? no day, no month, but the incomplete phrase appears) I get this formatting error in personal an familiar pages (at least I haven't seen it in other places) Another problem is: If I put a text within single quotes in the format that not contains "d" the text doesn't appear anymore <FmtYMD> ['el'|'alrededor del'|'antes del'|'después del'] d 'de' MMMM 'de' yyyy</FmtYMD> <!-- Nació el 31 de Enero de 2006 --> with 7/11/1960 --> nació 7 de Noviembre de 1960 Another tip. in header.htm, perhaps it's worth to change <img src="images/genopro.logo.gif" title="Create Your Family Tree in Minutes!" alt="Create Your Family Tree in Minutes!" width="36" height="36" border="0"/></a>
to <img src="images/genopro.logo.gif" title="@[Report.Write Dic("AltGenoProLogo")]@" alt="@[Report.Write Dic("AltGenoProLogo")]@" width="36" height="36" border="0"/></a>
Sorry by my poor English :-)
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 13 hours ago
Posts: 3,397,
Visits: 26,161
|
Yep, seems fine to me too. Great!
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers GenoPro version: 3.0.1.1
Last Login: Friday, April 9, 2021
Posts: 21,
Visits: 422
|
OK!! Is Fixed!!
Thank you!
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, October 13, 2024
Posts: 4,887,
Visits: 22,769
|
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, October 13, 2024
Posts: 4,887,
Visits: 22,769
|
Thank you for your patience and for submitting examples. I have finally found the problem and working on a fix...
Edited: Tuesday, May 22, 2007 by
GenoProSupport
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 13 hours ago
Posts: 3,397,
Visits: 26,161
|
Some more evidence for this suspected bug. Attached is a very simple skin (Config.xml, Dictionary.xml, TestIt.vbs) and a test .gno (TestIt.gno) that demonstrate the problem. The relevant Dictionary entries are <FmtDateNarrative> <!-- Templates to format narrative dates --> <FmtYMD> [on|around|before|after] MMMM D, yyyy</FmtYMD> <!-- He was born on January 31st, 2006 --> <FmtYM> [!dddd"dd"!|around|before|after] MMMM yyyy</FmtYM> <!-- He was born in January 2006 --> <FmtY> [in|around|before|after] yyyy</FmtY> <!-- He was born in 2006 --> <FmtMD> [on|around|before|after] MMMM D</FmtMD> <!-- He was born on January 31st --> </FmtDateNarrative> <!-- Short and long date formats are only taken if day month and year are known, otherwise the default date format is used --> <!-- date.ToString("d") --> <FmtDateShort>[|~|<|>]yyyy-MM-dd</FmtDateShort> <!-- 2006-01-31 --> <!-- date.ToString("D") --> <FmtDateLong>[|around |before |after ]dddd, MMMM D, yyyy</FmtDateLong> <!-- Monday, January 31st, 2006 --> <FmtDateRange> <FmtYMD>[|around |before |after ]MMMM D, yyyy</FmtYMD> <FmtYM>[|around |before |after ]MMMM yyyy</FmtYM> <FmtY>[|around |before |after ]yyyy</FmtY> <FmtMD>[|around |before |after ]MMMM D</FmtMD> <FmtSince> from {0}</FmtSince> <!-- eg: "Daniel has been working on GenoPro from 1998" --> <FmtUntil> until {1}</FmtUntil> <!-- eg: "Daniel was a student until 1999" --> <FmtFromTo> from {0} to {1}</FmtFromTo> <!-- eg: "Daniel worked at Microsoft from 1994 to 1998" --> </FmtDateRange>
|
with this script with the supplied .gno produces "Month & Year Test" born !""! August 1951/Aug 1951: died !""! April 2002/Apr 2002. Life Span from August 1951 to April 2002 "Approx month & year Test" born aroun August 1951/~~Aug 1951: died aroun April 2002/~~Apr 2002. Life Span from arounAugust 1951 to arounApril 2002 |
All the 'd's have gone. The double ~ in "~~Aug 1951" and "~~Apr 2002" is also incorrect.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Monday, May 21, 2007 by
Ron
|
|
|
Important Contributors Customers GenoPro version: 2.5.4.0
Last Login: Tuesday, November 14, 2017
Posts: 193,
Visits: 4,268
|
d=day? And if there is no day specified, no d remains :
Feri
Edited: Monday, May 21, 2007 by
fbukolyi
|