ReminderFox - Ver. 2.1.5.2
#21
Posted 24 December 2005 - 05:20 PM
Merry Christmas - Feliz Navidad
urko
#23
Posted 24 December 2005 - 07:25 PM
Hi there -
It appears that the problem is happening because the month names are not identical in the dtd and properties file. For example:
rf.options.month.10.name=Novembre
<!ENTITY month.11 "novembre">
Notice how it is capitalized int he properties file, but not the DTD file. The extension uses a function to convert the month in the options dialog dropdown to a numeric date (novembre=11) and it tries to get the values from the properties file, and it is returning null currently because it can't find "novembre" (only "Novembre").
Was this purposeful? To have one capitalized and the other not? If you change the months in the DTD to capitalized, it will work again.
I will look to fix this in the code to allow for this, by doing a case-insensitive comparison.
Thanks for notifying me about this problem,
Tom
#24
Posted 24 December 2005 - 07:39 PM
If I can understand you, we should have only capitalized words or only non-capitalized ones ?
well, it all depends in french :
- if the name of the month is a first word of a sentence "November is a foggy month", it is capitalized of course. Also if it is a single title-word.
- but when in a sentence, it is un-capitalized : "Mardi 12 novembre" for "Tuesday, November 12th" (example here)
So it may be interesting to have the double system and have the case-unsensitive feature as you kindly suggest ?
(I don't suggest you spend Christmas night codehacking )
Perhaps is there the same possibility in other languages ?
Sometimes I am on irc://moznet/BabelZilla
but you can also drop a word in the shoutbox
#25
Posted 24 December 2005 - 07:58 PM
So it may be interesting to have the double system and have the case-unsensitive feature as you kindly suggest ?
(I don't suggest you spend Christmas night codehacking )
Perhaps is there the same possibility in other languages ?
Okay, that makes sense. I will just add the case-insensitive check, so you can keep the externalizations you have now.
Thanks
Tom
#27
Posted 28 December 2005 - 01:37 AM
Fortunately the 'Italian team' is complete now, and we will try to provide the italian localization asap
#28
Posted 30 December 2005 - 04:51 PM
#29
Posted 30 December 2005 - 05:06 PM
[right][snapback]7539[/snapback][/right]
I want to thank you for your nice and quick collaboration
Thanks again
@ the Author(s)
I noticed two "free tooltips"
addReminderDialog.js file, lines from 286 and 297
var calendar = document.getElementById("oe-date-picker-overlay-box");
var calendarToggleButton= document.getElementById("calendarToggle");
if ( calendarToggleButton.checked ) {
calendar.setAttribute("hidden", "true");
calendarToggleButton.setAttribute("tooltiptext", "Show Calendar");
}
else {
calendar.setAttribute("hidden", "false");
calendarToggleButton.setAttribute("tooltiptext", "Hide Calendar");
}
}
I noticed that in the same file, lines from 72 to 83 there are the 'correct strings'
var calendar = document.getElementById("oe-date-picker-overlay-box");
var calendarToggleButton= document.getElementById("calendarToggle");
if ( calendarToggleButton.checked ) {
calendarToggleButton.setAttribute("tooltiptext", g_reminderFoxBundle.getString("rf.add.time.button.calendar.tooltip.hide"));
calendar.setAttribute("hidden", "false");
}
else {
calendarToggleButton.setAttribute("tooltiptext", g_reminderFoxBundle.getString("rf.add.time.button.calendar.tooltip.show"));
calendar.setAttribute("hidden", "true");
}
}
so I replaced just for myself (for test) the strings containing the tooltips
var calendar = document.getElementById("oe-date-picker-overlay-box");
var calendarToggleButton= document.getElementById("calendarToggle");
if ( calendarToggleButton.checked ) {
calendarToggleButton.setAttribute("tooltiptext", g_reminderFoxBundle.getString("rf.add.time.button.calendar.tooltip.show"));
calendar.setAttribute("hidden", "false");
}
else {
calendarToggleButton.setAttribute("tooltiptext", g_reminderFoxBundle.getString("rf.add.time.button.calendar.tooltip.hide"));
calendar.setAttribute("hidden", "true");
}
}
Repackaged, tested, it works fine !
Really many many thanks for this great extension
ADDED:
Mmm... could it be possible for you to add the localized description ?
#30
Posted 30 December 2005 - 05:28 PM
@ the Author(s)
I noticed two "free tooltips"
Thanks a lot! I must have missed those. I've fixed them as you described. I'll look into the localized description.
Tom
#31
Posted 30 December 2005 - 05:44 PM
I noticed that setting the time for a reminder was failing. This is because the time delimiter is different from the delimiter used for the times in the DTD. For example, in the DTD the time is listed using a ':' for a delimiter --
<!ENTITY time.17 "5:00 PM">
but in the properties file, the delimiter is a '.' --
rf.add.time.delimiter=.
The code uses the delimiter to determine the time in the options dialog.
Is there a reason that these are different?
Thanks
Tom
#32
Posted 30 December 2005 - 06:55 PM
It has been certainly an oversight
Now it's fixed.
#33
Posted 05 January 2006 - 01:27 PM
Best regards
#34
Posted 06 January 2006 - 03:39 PM
I have question, Czech time looks 10:00 (10:00am) and 15:00 (3:00pm).
Is possible to leave empty strings "rf.add.time.AM" and "rf.add.time.PM"? And how manage to have 100% translation status? Can it cause problem (uncomplete translation meaning)?
Czech translation complete (0.9.2).
#35
Posted 09 January 2006 - 06:10 AM
I have question, Czech time looks 10:00 (10:00am) and 15:00 (3:00pm).
Is possible to leave empty strings "rf.add.time.AM" and "rf.add.time.PM"?
Hi there,
Yes you can leave the AM and PM strings empty if they are not needed.
Thanks,
Tom
#36
Posted 18 January 2006 - 06:52 AM
Locale zh-TW has beed finished.
*ADDTION 2: Now it is certainly ok, I guess.
----
And, I found locale zh-CN has some problems ( which the value between DTD and PROPERTIES is different ),
but I am going out now, so, after I come home I'll check what's wrong and try to contact with zh-CN translator.
*ADDTION: God, sorry. That's my mistake, now it is ok. And I'll add something after I come home.
#37
Posted 21 January 2006 - 02:54 PM
#38
Posted 22 January 2006 - 12:19 AM
#39
Posted 22 January 2006 - 01:11 AM
#40
Posted 22 January 2006 - 08:26 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users