Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208

Modified Files:
        README-DEVEL.txt 
Log Message:
Everything works much nicer if the languages files are inside the spambayes 
package,
 so move them there (there is basically no CVS history for these files, anyway).

Index: README-DEVEL.txt
===================================================================
RCS file: /cvsroot/spambayes/spambayes/README-DEVEL.txt,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** README-DEVEL.txt    16 Mar 2005 03:35:59 -0000      1.21
--- README-DEVEL.txt    7 Apr 2005 04:15:10 -0000       1.22
***************
*** 578,582 ****
  
  Translation is only feasible for 1.1 and above.  No translation effort
! is planned for the 1.0.x release series.
  
  To translate, you will need:
--- 578,582 ----
  
  Translation is only feasible for 1.1 and above.  No translation effort
! is planned for the 1.0.x series of releases.
  
  To translate, you will need:
***************
*** 605,611 ****
  You will need to create a directory structure as follows:
  
! spambayes/                                    # root spambayes directory
!                                               # containing contrib, utilities,
!                                               # scripts, etc
            languages/                          # root languages directory,
                                                # possibly already containing
--- 605,610 ----
  You will need to create a directory structure as follows:
  
! spambayes/                                    # spambayes package directory
!                                               # containing classifier.py, 
tokenizer.py, etc
            languages/                          # root languages directory,
                                                # possibly already containing
***************
*** 615,621 ****
                                                # described below
                                  DIALOGS/      # directory for Outlook plug-in
!                                               # dialog resources
                                  LC_MESSAGES/  # directory for gettext managed
!                                               # strings
                                  __init__.py   # Copy of 
spambayes/spambayes/resources/__init__.py
  
--- 614,623 ----
                                                # described below
                                  DIALOGS/      # directory for Outlook plug-in
!                                               # dialog resources, which 
should contain an
!                                               # empty __init__.py file, so 
that py2exe can
!                                               # include the directory
                                  LC_MESSAGES/  # directory for gettext managed
!                                               # strings, which should also 
contain an
!                                               # empty __init__.py file
                                  __init__.py   # Copy of 
spambayes/spambayes/resources/__init__.py
  
***************
*** 641,646 ****
     The easiest method of translating these dialogs is to use a tool like
     VC++ or Visual Studio.  Simply open the
!    'spambayes\Outlook2000\dialogs\resources\dialogs.rc' file, translate the
!    dialog, and save the file as
     'spambayes\languages\{lang_code}\DIALOGS\dialogs.rc', where {lang_code}
     is the appropriate language code for the language you have translated
--- 643,648 ----
     The easiest method of translating these dialogs is to use a tool like
     VC++ or Visual Studio.  Simply open the
!    'Outlook2000\dialogs\resources\dialogs.rc' file, translate the dialog,
!    and save the file as
     'spambayes\languages\{lang_code}\DIALOGS\dialogs.rc', where {lang_code}
     is the appropriate language code for the language you have translated
***************
*** 651,658 ****
     Once the dialogs are translated, you need to use the rc2py.py utility
     to create the i18n_dialogs.py file.  For example, in the
!    'spambayes\Outlook2000\dialogs\resources' directory:
       > rc2py.py {base}\spambayes\languages\de_DE\DIALOGS\dialogs.rc
         {base}\spambayes\languages\de_DE\DIALOGS\i18n_dialogs.py 1
!    Where {base} is the directory that contains the root spambayes directory.
     This should create a 'i18n_dialogs.py' in the same directory as your
     translated dialogs.rc file - this is the file the the Outlook plug-in
--- 653,660 ----
     Once the dialogs are translated, you need to use the rc2py.py utility
     to create the i18n_dialogs.py file.  For example, in the
!    'Outlook2000\dialogs\resources' directory:
       > rc2py.py {base}\spambayes\languages\de_DE\DIALOGS\dialogs.rc
         {base}\spambayes\languages\de_DE\DIALOGS\i18n_dialogs.py 1
!    Where {base} is the directory that contains the spambayes package 
directory.
     This should create a 'i18n_dialogs.py' in the same directory as your
     translated dialogs.rc file - this is the file the the Outlook plug-in
***************
*** 663,667 ****
  
     The easiest method of translating this file is to use a GUI HTML editor.
!    Simply open the 'spambayes/spambayes/resources/ui.html' file, translate
     it as described within, and save the file as
     'spambayes/languages/{lang_code}/i18n.ui.html', where {lang_code} is
--- 665,669 ----
  
     The easiest method of translating this file is to use a GUI HTML editor.
!    Simply open the 'spambayes/resources/ui.html' file, translate
     it as described within, and save the file as
     'spambayes/languages/{lang_code}/i18n.ui.html', where {lang_code} is
***************
*** 681,688 ****
     To translate these strings, use the translation template
     'spambayes/languages/messages.pot'.  You can regenerate that file, if
!    necessary, by running this command in the root spambayes directory:
       > {python dir}\tools\i18n\pygettext.py -o languages\messages.pot
!        contrib\*.py Outlook2000\*.py scripts\*.py spambayes\*.py
!        testtools\*.py utilities\*.py windows\*.py
  
     You may wish to use a GUI system to create the required *.po file, 
--- 683,690 ----
     To translate these strings, use the translation template
     'spambayes/languages/messages.pot'.  You can regenerate that file, if
!    necessary, by running this command in the spambayes package directory:
       > {python dir}\tools\i18n\pygettext.py -o languages\messages.pot
!        ..\contrib\*.py ..\Outlook2000\*.py ..\scripts\*.py *.py
!        ..\testtools\*.py ..\utilities\*.py ..\windows\*.py
  
     You may wish to use a GUI system to create the required *.po file, 
***************
*** 700,703 ****
     the Control Panel.
  
!  o Get the [globals] language SpamBayes option to a list of the
     preferred language(s).
--- 702,705 ----
     the Control Panel.
  
!  o Get the '[globals] language' SpamBayes option to a list of the
     preferred language(s).

_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins

Reply via email to