pyatcron-devel-list
[Top][All Lists]
Advanced

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

Re: [Pyatcron-devel-list] Status Update & Question


From: Xavier Nicolovici
Subject: Re: [Pyatcron-devel-list] Status Update & Question
Date: Mon, 14 Jun 2004 09:22:33 +0200
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)

Hi Chris,

Some comments:

* I don't want to have any global function declaration, it's too unsafe and hard to manage. If the "_()" method needs declarations in every .py file, then let's do so.

* Thanks for th PO file, but I'm waiting for the gettext integration :-) Do not forget to foolow the patch submission procedure described on our website.

* For the glade file, as far as I remember, we can use intltool to extract translatable files form glade files. You should maybe have a look at this way...

Ok, thanks for the job done so far, I'm pending on new updates, thanks again.

Xavier

Chris Flanigan wrote:

I have attached the en_US translated PO file which contains all translateable strings. The only exception to this are the glade files. I need the developers to use the glade development utility (I could, just very busy with the integration process) to generate messages.pot for the glade files. I will integrate that into pyatcron.po and that will contain all of the strings.

To update you on the status of my work, here is a CHANGELOG of sorts.

################################################################################3

# Directory Structure
/usr/local/cvs/pyatcron/src/locales
/usr/local/cvs/pyatcron/src/locales/en_US
/usr/local/cvs/pyatcron/src/locales/en_US/LC_MESSAGES
# New Files
/usr/local/cvs/pyatcron/src/get_messages.sh
       - This file is supposed to extract all strings from all .py files.
/usr/local/cvs/pyatcron/src/locales/en_US/pyatcron.po
- This is the PO file containing all translateable strings from every .py file in the source tree.
/usr/local/cvs/pyatcron/src/locales/en_US/LC_MESSAGES/pyatcron.mo
- This is the MO file containing all compiled and translated strings.
# ./src/config.py
LOCALE_PATH           = PYATCRON_PATH + "/locales/"

################################################################################

I was wondering, by looking at your code.. what YOU think the best method is of setting _() as a global function in the project - without redundant redeclarations and such. I have an idea, but obviously you guys are more familiar with the code...


_______________________________________________
Pyatcron-devel-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/pyatcron-devel-list





reply via email to

[Prev in Thread] Current Thread [Next in Thread]