DtMail translations and improvements of vcal2xampia.awk

dtmail: messages of the 'Mail Retrieval' menu of dtmail  were left untranslated.
	French, Italian, Spanish translations were added.
vcal2xapia.awk: capacity to handle UTC+n timezones and TODO items added.
This commit is contained in:
Edmond ORIGNAC
2017-01-02 19:52:41 +01:00
committed by Jon Trulson
parent bf3ac1b969
commit 9b1f60a713
11 changed files with 150 additions and 81 deletions

View File

@@ -1,8 +1,8 @@
Hello,
The AWK script converts .vcs files into XAPIA format files that can then
be dragged and dropped on the Calendar icon of the front panel to
insert an appointment in the CDE calendar.
I have written a simple AWK program to convert .vcs files into
XAPIA format files that can then be dragged and dropped on the Calendar
icon of the front panel to insert an appointment in the CDE calendar.
Initial version:
The program has some limitations. For the moment, it ignores ToDo items
and only converts appointment items. Also, it has to convert
@@ -13,34 +13,31 @@ This is done by using an average duration of 30.44 days for a month
and 365.25 days for a year instead of using the correct duration for
leap years and for months. So the duration of an appointment can
be sometimes calculated incorrectly.
Appointments in the local time are not handled very well. The script
assumes that the local time is UTC+1.
If you wish to include it with the CDE sources or to post it on the Wiki
documentation, I agree to release it under MIT license.
It is released under MIT license.
http://opensource.org/licenses/MIT
Otherwise, there are better programs in Perl by Adam Stein at:
Better programs (in Perl) to interact with dtcm by Adam Stein are available at:
http://www.csh.rit.edu/~adam/Progs/programs.html
but they require to install some extra Perl libraries.
They require to install the Calendar-CSA-0.8.tar.gz Perl libraries from CPAN.
I would like to mention that Christian Pélissier (author of a popular
textbook on Unix in French) has posted a dtksh program in a french
Christian Pélissier has posted a dtksh program in a french
email list on Solaris x86 that also does the vcal to XAPIA
conversion. His message is archived here:
http://www.mail-archive.com/solaris_fr@x86.sun.com/msg02388.html
Please add in the comments at the top of my AWK program the links to
his dtksh program and to Adam Stein's Perl programs:
http://www.csh.rit.edu/~adam/Progs/programs.html
Version 2.2.4:
- improvements to the script to handle repeating appointments.
The script supports appointments that repeat every N week/month/days.
- easter.awk: script that creates appointments for (Roman Catholic)
Easter, Ascencion Day and Whit Sunday.
Easter, Ascension Day and Whit Sunday.
Best wishes,
Current version:
Edmond Orignac
- added support for ToDo items.
- added support for numeric timezones (TZ:+NN or TZ:-NN).