Re: [evolution-patches] Solution to support localized welcome-letter.



On Mon, 2003-12-08 at 04:48, Yong.Sun wrote:
> Hi, guys,
> 
> I have a solution to support localized welcome-letter in evolution. When
> users launch evolution for first time, they will receive a localized
> welcome-letter. Please help to review this solution/patch.
> 
> The following list is my solution:
> 
> 1. First, in evolution/shell/e-setup.c, copy_default_stuff() function,
> -       command = g_strconcat ("cp -r " DEFAULT_USER_PATH "/* ",
>                                 evolution_directory, NULL);
> +       command = g_strconcat (DEFAULT_USER_PATH "/default.sh ",
>                                 evolution_directory, NULL);
> 
> to run a shell script to complete the default directory's setup.
> Referring to attachments.
> 
> 2. Add a directory named welcome-letter in evolution/default_user/ and
> install the directory in /usr/share/evolution/1.4/. But now all
> welcome-letters are not translated yet, and just copies of
> default_user/local/Inbox/mbox (therefore it makes the patch so big).
> 
> 3. Add entries in configure.in and Makefile.am etc.
> 
> Please help to review this patch.

The main issue here is that we are no longer using the "default
directory" set up that we previously did.  The setup is now
de-centralized so any solution needs to go into the mailer likely. 
Probably during the migration the mailer can add a mail directly via
camel and simply have the text for that mail in the source and marked
for translation.

-JP
-- 
JP Rosevear <jpr ximian com>
Ximian, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]