Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-05

Re: problems using other messagefiles (Jonas Maebe)

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jose A. Gómez

Hello again:

Show quoted text 9 lines
That's because the Spanish message file is probably not synchronized with the English one. If the utility msgdif is included with the compiler (I don't know whether it's distributed with the releases), you should be able to fix this by using msgdif <msg_files_directory>\errore.msg <msg_file_directory>\errores.msg and then set the generated new.msg as message file to use in your ppc386.cfg.

Thanks, Jonas.

But there are some error using msgdif, and the final new.msg is not correct: error in line 1881: still in multiline mode

Show quoted text 10 lines
C:\pp104\source\demo\text>ppc386 HELLO.PP error in line 1881: still in multiline mode Free Pascal Compiler version 1.0.4 [2000/12/30] for i386 Copyright (c) 1993-2000 by Florian Klaempfl Target OS: Win32 for i386 Compiling hello.pp Linking hello.exe 21 Lines compiled, 1.2 sec C:\pp104\source\demo\text>

I have the same problem wiht German messagefile, errord.msg

Any suggestions?

TIA,
Jose A. Gómez

Show quoted text 35 lines
C:\pp104\source\compiler\utils>MSGDIF.EXE c:\PP104\MSG\ERRORE.MSG c:\PP104\MSG\E RRORES.MSG >salida.txt C:\pp104\source\compiler\utils> more salida.txt Processing: c:\PP104\MSG\ERRORE.MSG...c:\PP104\MSG\ERRORE.MSG(1759) : Invalid en try c:\PP104\MSG\ERRORE.MSG(1760) : Invalid entry c:\PP104\MSG\ERRORE.MSG(1761) : Invalid entry ... c:\PP104\MSG\ERRORE.MSG(1935) : Invalid entry Done. Read 1939 lines, got 560 constants. Processing: c:\PP104\MSG\ERRORES.MSG...c:\PP104\MSG\ERRORES.MSG(1730) : Invalid entry c:\PP104\MSG\ERRORES.MSG(1731) : Invalid entry c:\PP104\MSG\ERRORES.MSG(1732) : Invalid entry ... 536 messages found in common to both files 24 messages only in c:\PP104\MSG\ERRORE.MSG 2 messages only in c:\PP104\MSG\ERRORES.MSG new.msg(109) general_i_writingresourcefile not translated new.msg(112) general_e_errorwritingresourcefile not translated ... new.msg(1856) option_logo not translated new.msg(1861) option_info not translated new.msg(1869) option_help_pages not translated New error **2Sc_supports operators like C (* added cg_w_64bit_range_check_not_supported commented out **2Sc_soportar operadores tipo C (* commented out 89 not translated items found C:\pp104\source\compiler\utils>
Jonas
to Jose A. Gómez
Jose A. Gómez wrote
But there are some error using msgdif, and the final new.msg is not correct: error in line 1881: still in multiline mode

[cut]

I have the same problem wiht German messagefile, errord.msg Any suggestions?

I'm afraid you're out of luck then until someone manually re-synchronizes the message files. None of us speaks Spanish though (the Spanish message file was contributed by a user)

Jonas