Gauthier DOUCHET | 1 Mar 2008 19:54
Picon

Re: Problem with a french translation of quicksave plugin



2008/2/29, Paul Lesniewski <paul <at> squirrelmail.org>:
Please do not top-post.  Refer to the mailing list posting guidelines.


> > > I created a french translation for quicksave because I didn't find it on
> the
> > > squirrelmail website.
> > > I have only one (big) problem, with the .mo file in my squirrelmail
> > > directory (/usr/share/squirrelmail/locale/fr_FR/LC_MESSAGES), the plugin
> > > doesn't work. If I write a message and close my tab, I haven't any
> window to
> > > resume the message.
> > > If I delete the .mo file, the plugin is working and I have the window to
> > > resume my message.
> > >
> > > I sent my .po file in order to know if I did an error with this file.
> >
> >
> > I didn't try it myself, but as I think some of the strings are placed
> > in JavaScript, the special characters in them might be creating some
> > problems(?).  It would be helpful if you used the JavaScript error
> > console in your browser to see what, if any errors are created when
> > you have the translation installed (compared to when you do not).
>

> As you said, I used the console and there is this message:
>
> Error : missing ) after argument list
> Source file :
> http://1.1.1.1/squirrelmail/src/compose.php?mailbox=INBOX&startMessage=1
>  Line : 461, Column : 85
> Source code:
>       if (confirm('ATTENTION: Le message suivant a &eacute;t&eacute;
> interrompu et n'a pas &eacute;t&eacute; envoy&eacute;!\n\n  A ' +
> showTo.toString() + '\n  Sujet ' + showSub.toString() + showBody +
> '\n\nVoulez-vous le restaurer? (Appuyez sur Annuler pour rejeter le
> message'))


In that string translation, try encoding the single quote (') or
escape it with a backslash.


I did that with \\' and it's working, it remains just a little problem, the &eacute; is not interpreted as é...


Gauthier

> > > Some information about my installation:
> > > - Debian Etch
> > > - SquirrelMail 1.4.9a-2
> > >  - quicksave 2.4.2-1.2.9
> > >
> > >
> > > Thank you very much!
> >
> >
> > Thank you!
> >
>
>
>
> --
> Gauthier DOUCHET


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins



--
Gauthier DOUCHET
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
SMC Administrator | 5 Mar 2008 05:36
Picon

Re: Sent Confirmation 1.6 & Compatibility 2.0.10 -Should the add address feature work?

Yes, I would be interested in testing.
Where can I download?

Thanks
William

-----Original Message-----
From: squirrelmail-plugins-bounces <at> lists.sourceforge.net
[mailto:squirrelmail-plugins-bounces <at> lists.sourceforge.net] On Behalf Of
Paul Lesniewski
Sent: Saturday, 1 March 2008 6:46 AM
To: Squirrelmail Plugins Mailing List
Subject: Re: [SM-PLUGINS] Sent Confirmation 1.6 & Compatibility 2.0.10
-Should the add address feature work?

On Thu, Feb 28, 2008 at 7:55 PM, SMC Administrator
<administrator <at> smc.tas.edu.au> wrote:
> Hi Team
>  (sorry to send multiples, I couldn't remember which address I'd
subscribed
>  with)
>
>  I've recently upgraded to Compatibility 2.x series to support several
>  plugins.
>  One that I haven't made work completely is Sent_Confirmation 1.6
>  The confirmation messages display, but the 'add to address book' button
does
>  not. After pressing, the right pane displays a blank screen only.
>  Some errors from my apache error log are included below.
>
>  Is this to be expected? Or is it possible to make it work?
>  http://www.squirrelmail.org/wiki/CompatibilityDependencies suggests that
>  Sent_Confirmation will only work with compatibility 1.x, but Paul's
comment
>  at the bottom of the page gives me hope!
>
>  If there are changes to make to the plugin to get it compatible with the
>  compatibility 2.x series, then I'm happy to have a try at that if someone
is
>  prepared to give me a few pointers. Perhaps point me to a plugin that is
>  successfully write for the newer version and suggest things that might
need
>  updating?

A beta of version 1.7 is available offlist if you want to test it.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.

--

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 5 Mar 2008 08:44
Favicon

Re: Sent Confirmation 1.6 & Compatibility 2.0.10 -Should the add address feature work?

Please do not top post.

> >  > Hi Team
> >  >  (sorry to send multiples, I couldn't remember which address I'd
> >  >  subscribed
> >  >  with)
> >  >
> >  >  I've recently upgraded to Compatibility 2.x series to support several
> >  >  plugins.
> >  >  One that I haven't made work completely is Sent_Confirmation 1.6
> >  >  The confirmation messages display, but the 'add to address book' button
> >  >  does
> >  >  not. After pressing, the right pane displays a blank screen only.
> >  >  Some errors from my apache error log are included below.
> >  >
> >  >  Is this to be expected? Or is it possible to make it work?
> >  >  http://www.squirrelmail.org/wiki/CompatibilityDependencies suggests that
> >  >  Sent_Confirmation will only work with compatibility 1.x, but Paul's
> >  >  comment
> >  >  at the bottom of the page gives me hope!
> >  >
> >  >  If there are changes to make to the plugin to get it compatible with the
> >  >  compatibility 2.x series, then I'm happy to have a try at that if someone
> >  >  is
> >  >  prepared to give me a few pointers. Perhaps point me to a plugin that is
> >  >  successfully write for the newer version and suggest things that might
> >  >  need
> >  >  updating?
> >
> >  A beta of version 1.7 is available offlist if you want to test it.
>
> Yes, I would be interested in testing.
>  Where can I download?

Replied offlist

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

SquirrelMail Email List | 5 Mar 2008 15:46
Favicon

Password in calendar_sql_backend


Hello all,

I got the calendar_sql_backend installed and working but when I try to add
a password to the line

$cal_dsn = 'mysql://user:mypassword <at> localhost/squirrelmail_calendar';

I cannot get it to work. I've tried to add passwords to the "user" using
different encryptions but the only thing I can get to work is to use

$cal_dsn = 'mysql://user: <at> localhost/squirrelmail_calendar';

and no password for user -> user.

What am I missing?

Thanks,

Ken

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

lechuck | 4 Mar 2008 12:01
Picon

Re: Problem in G/PGP Encryption


Hi,
I think problem it's that $restoremessages it's no longer used on 1.4.13 and 
global $compose_messages; global $session; are empty 
so when you try to get attachments it finds nothing and retunr an error.

I'll do more debug if it can help :)

bye
Valerio

Paul Lesniewski wrote:
> 
> On 2/4/08, Brian G. Peterson <brian <at> braverock.com> wrote:
>> Kadir wrote:
>> > I installed squirrelmail and *G/PGP Encryption Plugin. *But when I try
>> > to encrypt a message I receive the following error. How can I solve
>> this
>> > problem? I use G/PGP Version 2.1.
>> >
>> > *Fatal error*: Call to a member function getAttachments() on a
>> > non-object in */var/www/localhost/htdocs /squirrelmail/plugins/gpg/gpg
>> > _encrypt.php* on line *292
>> > *
>> > At line 292 the following code exists.
>> >
>> >   $messageAttachments = $newMessage->getAttachments ();
>>
>> I have recently received another report of this error, and I was able to
>> replicate it.  I suspect a change in the message object of squirrelmail,
>> but haven't had time to verify this.
> 
> function getAttachment() exists in the Message class around line 1044
> of class/mime/Message.class.php.  Might be some of the other recent
> shuffling we did in the compose page.
> 
>> I will try to make time this week to sort it out.
> 
> Good luck  ;-)
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-plugins <at> lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Problem-in-G-PGP-Encryption-tp15267358p15824868.html
Sent from the squirrelmail-plugins mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 5 Mar 2008 23:31
Favicon

Re: Password in calendar_sql_backend

>  Hello all,

Hello.

>  I got the calendar_sql_backend installed and working but when I try to add
>  a password to the line
>
>  $cal_dsn = 'mysql://user:mypassword <at> localhost/squirrelmail_calendar';
>
>  I cannot get it to work. I've tried to add passwords to the "user" using
>  different encryptions but the only thing I can get to work is to use

The password is always unencrypted in this location.  If you are
referring to how you encrypt it when adding in MySQL, just use the
standard MySQL syntax for adding/updating passwords, nothing
different.

>  $cal_dsn = 'mysql://user: <at> localhost/squirrelmail_calendar';
>
>  and no password for user -> user.
>
>  What am I missing?

This is a MySQL question, not a SquirrelMail one.  You need to watch
your MySQL log when the login attempt occurs and see what the error
is.  Make sure the user/pwd also has permission to log into the
database on the designated host (localhost) in your example.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

SquirrelMail Email List | 6 Mar 2008 06:43
Favicon

Re: Password in calendar_sql_backend


Figured out the problem.
I'm using phpMyAdmin to work with the data bases, nice tool. Anyway after
I put in the password and Flush the user table the changes did not take
effect. It was not until I re-booted the machine that the password
changes took place.

No doubt I must not know exactly what I'm doing, but I did get it to work.

Thanks for the help,

Ken

On Wed, 5 Mar 2008, Paul Lesniewski wrote:

> >  Hello all,
>
> Hello.
>
> >  I got the calendar_sql_backend installed and working but when I try to add
> >  a password to the line
> >
> >  $cal_dsn = 'mysql://user:mypassword <at> localhost/squirrelmail_calendar';
> >
> >  I cannot get it to work. I've tried to add passwords to the "user" using
> >  different encryptions but the only thing I can get to work is to use
>
> The password is always unencrypted in this location.  If you are
> referring to how you encrypt it when adding in MySQL, just use the
> standard MySQL syntax for adding/updating passwords, nothing
> different.
>
> >  $cal_dsn = 'mysql://user: <at> localhost/squirrelmail_calendar';
> >
> >  and no password for user -> user.
> >
> >  What am I missing?
>
> This is a MySQL question, not a SquirrelMail one.  You need to watch
> your MySQL log when the login attempt occurs and see what the error
> is.  Make sure the user/pwd also has permission to log into the
> database on the designated host (localhost) in your example.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-plugins <at> lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

SquirrelMail Email List | 6 Mar 2008 19:47
Favicon

Re: Password in calendar_sql_backend


Hello,

We are using mysql ver 5 here. We found that we had to change the database
file a little to create the database in version 5 of mysql. Here are the
changes that we put into a file called "DATABASE_squirrelmail_calendar".

Thanks,

Ken

################################################ file start
#
# You can create the database from the shell with:
#
# mysql -u root -p < DATABASE_squirrelmail_calendar

# File name:
# DATABASE_squirrelmail_calendar
#

CREATE DATABASE squirrelmail_calendar;
GRANT SELECT, UPDATE, INSERT, DELETE on squirrelmail_calendar.* TO 'user' <at> 'localhost';

USE squirrelmail_calendar;
CREATE TABLE calendars (
  id varchar(250) NOT NULL,
  type varchar(30) NOT NULL,
  name varchar(255) default '',
  domain varchar(128) default '',
  created_on datetime,
  last_modified_on datetime,
  ical_raw text NOT NULL,
  PRIMARY KEY (id),
  UNIQUE KEY id (id),
  KEY type (type)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE calendar_owners (
  calendar_id varchar(250) NOT NULL,
  owner_name varchar(128) NOT NULL,
  PRIMARY KEY (calendar_id, owner_name),
  UNIQUE KEY cal_owner (calendar_id, owner_name)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE calendar_readers (
  calendar_id varchar(250) NOT NULL,
  reader_name varchar(128) NOT NULL,
  PRIMARY KEY (calendar_id, reader_name),
  UNIQUE KEY cal_reader (calendar_id, reader_name)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE calendar_writers (
  calendar_id varchar(250) NOT NULL,
  writer_name varchar(128) NOT NULL,
  PRIMARY KEY (calendar_id, writer_name),
  UNIQUE KEY cal_writer (calendar_id, writer_name)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE events (
  id int(11) NOT NULL AUTO_INCREMENT,
  event_id varchar(250) NOT NULL,
  calendar_id varchar(250) NOT NULL,
  domain varchar(128) default '',
  evt_start datetime,
  evt_end datetime,
  isAllDay enum('YES', 'NO') NOT NULL,
  isRecurring enum('YES', 'NO') NOT NULL,
  isTask enum('YES', 'NO') NOT NULL,
  isHoliday enum('YES', 'NO') NOT NULL,
  priority tinyint(3) unsigned default 5,  -- default NORMAL priority
  created_on datetime,
  last_modified_on datetime,
  ical_raw text NOT NULL,
  PRIMARY KEY (id),
  UNIQUE KEY id (id),
  UNIQUE KEY event_id (event_id, calendar_id),
  KEY isRecurring (isRecurring),
  KEY isTask (isTask),
  KEY isHoliday (isHoliday),
  KEY evt_start (evt_start),
  KEY evt_end (evt_end)        -- TODO: should create some sensible composite keys
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE event_parent_calendars (
  event_key int(11) NOT NULL,
  parent_calendar_id varchar(250) NOT NULL,
  PRIMARY KEY (event_key, parent_calendar_id),
  UNIQUE KEY event_parent (event_key, parent_calendar_id)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE event_owners (
  event_key int(11) NOT NULL,
  owner_name varchar(128) NOT NULL,
  PRIMARY KEY (event_key, owner_name),
  UNIQUE KEY event_owner (event_key, owner_name)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE event_readers (
  event_key int(11) NOT NULL,
  reader_name varchar(128) NOT NULL,
  PRIMARY KEY (event_key, reader_name),
  UNIQUE KEY event_reader (event_key, reader_name)
) TYPE=MyISAM;

USE squirrelmail_calendar;
CREATE TABLE event_writers (
  event_key int(11) NOT NULL,
  writer_name varchar(128) NOT NULL,
  PRIMARY KEY (event_key, writer_name),
  UNIQUE KEY event_writer (event_key, writer_name)
) TYPE=MyISAM;

###################################### end of file

On Wed, 5 Mar 2008, Paul Lesniewski wrote:

> >  Hello all,
>
> Hello.
>
> >  I got the calendar_sql_backend installed and working but when I try to add
> >  a password to the line
> >
> >  $cal_dsn = 'mysql://user:mypassword <at> localhost/squirrelmail_calendar';
> >
> >  I cannot get it to work. I've tried to add passwords to the "user" using
> >  different encryptions but the only thing I can get to work is to use
>
> The password is always unencrypted in this location.  If you are
> referring to how you encrypt it when adding in MySQL, just use the
> standard MySQL syntax for adding/updating passwords, nothing
> different.
>
> >  $cal_dsn = 'mysql://user: <at> localhost/squirrelmail_calendar';
> >
> >  and no password for user -> user.
> >
> >  What am I missing?
>
> This is a MySQL question, not a SquirrelMail one.  You need to watch
> your MySQL log when the login attempt occurs and see what the error
> is.  Make sure the user/pwd also has permission to log into the
> database on the designated host (localhost) in your example.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> -----
> squirrelmail-plugins mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-plugins <at> lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Paul Lesniewski | 6 Mar 2008 20:09
Favicon

Re: Password in calendar_sql_backend

You might want to use a better subject next time.

>  We are using mysql ver 5 here. We found that we had to change the database
>  file a little to create the database in version 5 of mysql. Here are the
>  changes that we put into a file called "DATABASE_squirrelmail_calendar".

If you are suggesting some changes, you should send a unified diff of
those changes.  Type "man diff" if you've never used diff before.

>  ################################################ file start
>  #
>  # You can create the database from the shell with:
>  #
>  # mysql -u root -p < DATABASE_squirrelmail_calendar
>
>  # File name:
>  # DATABASE_squirrelmail_calendar
>  #
>
>  CREATE DATABASE squirrelmail_calendar;
>  GRANT SELECT, UPDATE, INSERT, DELETE on squirrelmail_calendar.* TO 'user' <at> 'localhost';
>
>  USE squirrelmail_calendar;
>  CREATE TABLE calendars (
>   id varchar(250) NOT NULL,
>   type varchar(30) NOT NULL,
>   name varchar(255) default '',
>   domain varchar(128) default '',
>   created_on datetime,
>   last_modified_on datetime,
>   ical_raw text NOT NULL,
>   PRIMARY KEY (id),
>   UNIQUE KEY id (id),
>   KEY type (type)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE calendar_owners (
>   calendar_id varchar(250) NOT NULL,
>   owner_name varchar(128) NOT NULL,
>   PRIMARY KEY (calendar_id, owner_name),
>   UNIQUE KEY cal_owner (calendar_id, owner_name)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE calendar_readers (
>   calendar_id varchar(250) NOT NULL,
>   reader_name varchar(128) NOT NULL,
>   PRIMARY KEY (calendar_id, reader_name),
>   UNIQUE KEY cal_reader (calendar_id, reader_name)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE calendar_writers (
>   calendar_id varchar(250) NOT NULL,
>   writer_name varchar(128) NOT NULL,
>   PRIMARY KEY (calendar_id, writer_name),
>   UNIQUE KEY cal_writer (calendar_id, writer_name)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE events (
>   id int(11) NOT NULL AUTO_INCREMENT,
>   event_id varchar(250) NOT NULL,
>   calendar_id varchar(250) NOT NULL,
>   domain varchar(128) default '',
>   evt_start datetime,
>   evt_end datetime,
>   isAllDay enum('YES', 'NO') NOT NULL,
>   isRecurring enum('YES', 'NO') NOT NULL,
>   isTask enum('YES', 'NO') NOT NULL,
>   isHoliday enum('YES', 'NO') NOT NULL,
>   priority tinyint(3) unsigned default 5,  -- default NORMAL priority
>   created_on datetime,
>   last_modified_on datetime,
>   ical_raw text NOT NULL,
>   PRIMARY KEY (id),
>   UNIQUE KEY id (id),
>   UNIQUE KEY event_id (event_id, calendar_id),
>   KEY isRecurring (isRecurring),
>   KEY isTask (isTask),
>   KEY isHoliday (isHoliday),
>   KEY evt_start (evt_start),
>   KEY evt_end (evt_end)        -- TODO: should create some sensible composite keys
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE event_parent_calendars (
>   event_key int(11) NOT NULL,
>   parent_calendar_id varchar(250) NOT NULL,
>   PRIMARY KEY (event_key, parent_calendar_id),
>   UNIQUE KEY event_parent (event_key, parent_calendar_id)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE event_owners (
>   event_key int(11) NOT NULL,
>   owner_name varchar(128) NOT NULL,
>   PRIMARY KEY (event_key, owner_name),
>   UNIQUE KEY event_owner (event_key, owner_name)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE event_readers (
>   event_key int(11) NOT NULL,
>   reader_name varchar(128) NOT NULL,
>   PRIMARY KEY (event_key, reader_name),
>   UNIQUE KEY event_reader (event_key, reader_name)
>  ) TYPE=MyISAM;
>
>  USE squirrelmail_calendar;
>  CREATE TABLE event_writers (
>   event_key int(11) NOT NULL,
>   writer_name varchar(128) NOT NULL,
>   PRIMARY KEY (event_key, writer_name),
>   UNIQUE KEY event_writer (event_key, writer_name)
>  ) TYPE=MyISAM;
>
>  ###################################### end of file
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins

Fredrik Jervfors | 8 Mar 2008 20:11
Favicon

Re: Problem with a french translation of quicksave plugin

>>>>> I created a french translation for quicksave because I didn't find it
>>>>> on the squirrelmail website. I have only one (big) problem, with the
>>>>> .mo file in my squirrelmail directory
>>>>> (/usr/share/squirrelmail/locale/fr_FR/LC_MESSAGES), the plugin doesn't
>>>>> work. If I write a message and close my tab, I haven't any window to
>>>>> resume the message. If I delete the .mo file, the plugin is working
>>>>> and I have the window to resume my message. I sent my .po file in
>>>>> order to know if I did an error with this file.
>>>>
>>>> I didn't try it myself, but as I think some of the strings are placed
>>>> in JavaScript, the special characters in them might be creating some
>>>> problems(?). It would be helpful if you used the JavaScript error
>>>> console in your browser to see what, if any errors are created when you
>>>> have the translation installed (compared to when you do not).
>>>
>>> As you said, I used the console and there is this message:
>>>
>>> Error : missing ) after argument list
>>> Source file :
>>> http://1.1.1.1/squirrelmail/src/compose.php?mailbox=INBOX&startMessage
>>> =1
>>> Line : 461, Column : 85
>>> Source code:
>>> if (confirm('ATTENTION: Le message suivant a &eacute;t&eacute;
>>> interrompu et n'a pas &eacute;t&eacute; envoy&eacute;!\n\n  A ' +
>>> showTo.toString() + '\n  Sujet ' + showSub.toString() + showBody +
>>> '\n\nVoulez-vous le restaurer? (Appuyez sur Annuler pour rejeter le
>>> message'))
>>
>> In that string translation, try encoding the single quote (') or
>> escape it with a backslash.
>
> I did that with \\' and it's working, it remains just a little problem,
> the &eacute; is not interpreted as é...

You mustn't use "&eacute;" in your translation. Use "é" instead. I fixed
your translation and committed it to the repository. Please verify that
the version at
<http://l10n-stats.squirrelmail.org/files/HEAD/locales/locale/fr_FR/LC_MESSAGES/quicksave.po.gz>
works as intended. Thank you for your contribution.

Sincerely,
Fredrik

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


Gmane