Razvan Adrian Bogdan wrote:
I have made a script for windows similar to localize.sh, i thought
some other translators might want it, it does the same thing as the
linux version.
Please rename the attached file (funy mail protections).

If someone wants a good crossplatform editor for the files try
http://www.poedit.org

I tested this script and found two issues:
1. Because I didn't have a updatepofiles.exe, it entered the tools subdir and there the makefile was regenerated several times. Here follows a snippet from the make output:
make[1]: Entering directory `C:/lazarus/source/lazarus/tools'
/fpc/2.0.0/bin/i386-win32/fpcmake.exe -w
Processing Makefile.fpc
i386-win32 requires: rtl,paszlib,netdb,fcl,pasjpeg,ibase,postgres,mysql,sqlite,
libasync
 Writing Makefile
I have no idea, why the makefile should be regenerated.

2. It creates patches for existing po files, which it shouldn't, afaics.
Example:
Index: lcl/languages/lcl.po
===================================================================
--- lcl/languages/lcl.po        (revision 7592)
+++ lcl/languages/lcl.po        (working copy)
@@ -79,7 +79,7 @@
 msgstr ""

 #: lclstrconsts:rsfdfilealreadyexists
-msgid "The file \"%s\" already exists.\015Overwrite ?"
+msgid "The file \"%s\" already exists.Overwrite ?"
 msgstr ""

 #: lclstrconsts:rsfdpathmustexist

Aparently the #13 is converted to \015 in the messageid on linux, but it is ignored on win32. But it only happens for this particular resourcestring, lclstrconsts:rsfdfilealreadyexists, but in all languages.

Vincent.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to