Re: [fpc-pascal] compiler message files

2015-01-06 Thread Bee
On Tue, Jan 6, 2015 at 2:00 PM, Michael Van Canneyt 
wrote:

>
> That said, in LaTeX there is no need for \section to be ended explicitly.
> It is ended automatically.
>

For example these lines:

#
# Codegenerator
#
# 06049 is the last used one
#
% \section{Code generator messages}
% This section lists all messages that can be displayed if the code
% generator encounters an error condition.
% \begin{description}
cg_e_parasize_too_big=06009_E_Parameter list size exceeds 65535 bytes
% The I386 processor limits the parameter list to 65535 bytes. (The
\var{RET}
% instruction causes this.)

If I want to translate the above lines into another language, do I need to
translate the content of the \section line (between the {} bracket)? If I
do, how about some sections that don't have the \section line? There's no
description for such section.

-- 
-Bee-
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Sven Barth
Am 06.01.2015 08:51 schrieb "Bee" :
>
> On Tue, Jan 6, 2015 at 2:46 PM, Bee  wrote:
>>
>>
>> Do you mean including the content?
>
>
> Sorry... I mean, the structure and numbering is also created manually?

The errore.msg is completely created by hand (it's the master file) while
the others are copies of that from various ages with additions of new
messages.

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Sven Barth
Am 06.01.2015 09:04 schrieb "Bee" :
>
> On Tue, Jan 6, 2015 at 2:00 PM, Michael Van Canneyt <
mich...@freepascal.org> wrote:
>>
>>
>> That said, in LaTeX there is no need for \section to be ended
explicitly. It is ended automatically.
>
>
> For example these lines:
>
> #
> # Codegenerator
> #
> # 06049 is the last used one
> #
> % \section{Code generator messages}
> % This section lists all messages that can be displayed if the code
> % generator encounters an error condition.
> % \begin{description}
> cg_e_parasize_too_big=06009_E_Parameter list size exceeds 65535 bytes
> % The I386 processor limits the parameter list to 65535 bytes. (The
\var{RET}
> % instruction causes this.)
>
> If I want to translate the above lines into another language, do I need
to translate the content of the \section line (between the {} bracket)? If
I do, how about some sections that don't have the \section line? There's no
description for such section.

You only need to translate the part after the "=" in those lines that don't
have a LaTeX comment. Because only these texts are used by the compiler.
The part in the comments is only used for the documentation which we
generate in English only. Take a look at the other msg files to see what I
mean.

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Bee
On Tue, Jan 6, 2015 at 3:30 PM, Sven Barth 
wrote:

> The errore.msg is completely created by hand (it's the master file) while
> the others are copies of that from various ages with additions of new
> messages.
>
Ah, I see. Perhaps that's the cause for the inconsistency. :)

-- 
-Bee-
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Bee
On Tue, Jan 6, 2015 at 3:35 PM, Sven Barth 
wrote:

> You only need to translate the part after the "=" in those lines that
> don't have a LaTeX comment. Because only these texts are used by the
> compiler. The part in the comments is only used for the documentation which
> we generate in English only. Take a look at the other msg files to see what
> I mean.
>
I'm looking at Indonesian translation, errorid.msg. There I see almost
everything is translated, even the comment lines (with # prefix). I thought
a complete and thorough translation must be useful somewhere in the
documentation. Am I wrong?

-- 
-Bee-
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Tomas Hajny
On Tue, January 6, 2015 11:26, Bee wrote:
> On Tue, Jan 6, 2015 at 3:30 PM, Sven Barth 
> wrote:
>
>> The errore.msg is completely created by hand (it's the master file)
>> while
>> the others are copies of that from various ages with additions of new
>> messages.
>>
> Ah, I see. Perhaps that's the cause for the inconsistency. :)

Btw, in this context note compiler/utils/msgdiff.pp which allows
comparison of contents between two msg files.

Tomas


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] compiler message files

2015-01-06 Thread Tomas Hajny
On Tue, January 6, 2015 11:32, Bee wrote:
> On Tue, Jan 6, 2015 at 3:35 PM, Sven Barth 
> wrote:
>
>> You only need to translate the part after the "=" in those lines that
>> don't have a LaTeX comment. Because only these texts are used by the
>> compiler. The part in the comments is only used for the documentation
>> which
>> we generate in English only. Take a look at the other msg files to see
>> what
>> I mean.
>>
> I'm looking at Indonesian translation, errorid.msg. There I see almost
> everything is translated, even the comment lines (with # prefix). I
> thought
> a complete and thorough translation must be useful somewhere in the
> documentation. Am I wrong?

The comments are not used in the compiler and documentation in other
languages is not created / supported by the FPC team. Obviously, someone
may decide to create a special version of documentation with messages and
their description in another language, but I don't see much sense of doing
so unless he or she intends to translate the whole documentation (which
would be a pretty big task) or at least some specific part of it like one
of the guide (still pretty big task with probably rather limited
audience).

Tomas



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] compiler message files

2015-01-06 Thread Marco van de Voort
In our previous episode, Bee said:
> I'm looking at Indonesian translation, errorid.msg. There I see almost
> everything is translated, even the comment lines (with # prefix). I thought
> a complete and thorough translation must be useful somewhere in the
> documentation. Am I wrong?

There are current no translations of the FPC documentation 
(at least not in-tree)

There is btw some interest in this on lazarusforum.de. I assume for fpdoc a
translation tool (load one set of XMLs compare with the other) could be done
fairly easily.

The Latex documentation (which includes error*) is wholly manual though.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] compiler message files

2015-01-06 Thread Bee
On Tue, Jan 6, 2015 at 5:35 PM, Tomas Hajny  wrote:

>
> Btw, in this context note compiler/utils/msgdiff.pp which allows
> comparison of contents between two msg files.
>

Yes, I see that too. I need to group the messages according to the
sections. So, a translator can work step by step a message per section at a
time, instead of staring at a wall of text at once. By grouping messages
into sections is also easier to build a progress matrix and statistic.

-- 
-Bee-
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Bee
On Tue, Jan 6, 2015 at 5:40 PM, Marco van de Voort  wrote:

>
> There are current no translations of the FPC documentation
> (at least not in-tree)
>

Yes. But maybe in the future if there's a demand for that, at least some
part of it has been done already.


> There is btw some interest in this on lazarusforum.de. I assume for fpdoc
> a
> translation tool (load one set of XMLs compare with the other) could be
> done
> fairly easily.
>

Too bad I don't understand Dutch, so I have no idea what they're talking
about. I intend to write a simple translation tool for those message files,
as a web app, so everyone can contribute and work together. It's just for a
personal project in my spare time. :)

-- 
-Bee-
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] compiler message files

2015-01-06 Thread Sven Barth

On 06.01.2015 11:53, Bee wrote:

There is btw some interest in this on lazarusforum.de
. I assume for fpdoc a
translation tool (load one set of XMLs compare with the other) could
be done
fairly easily.


Too bad I don't understand Dutch, so I have no idea what they're talking
about. I intend to write a simple translation tool for those message
files, as a web app, so everyone can contribute and work together. It's
just for a personal project in my spare time. :)


Just a small sidenote: it's German, not Dutch ;)

Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] SDL_Net vs Synapse

2015-01-06 Thread Graeme Geldenhuys
On 2015-01-05 15:23, Brian wrote:
> Any opinions/experience pro/con using SDL2 (SDL_Net) vs Synapse
> (http://synapse.ararat.cz/doku.php) ?


I don't know the SDL_Net, but if it is anything like the existing SDL
support (which I have used before) then there is one big down side for
me. You need to ship extra libraries with your application. With Synapse
everything is in pure Object Pascal and compiles all into the
executable. The latter is a big plus point for me.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] MIPS32 support

2015-01-06 Thread Graeme Geldenhuys
Hi,

Anybody know the status of MIPS32 support with Free Pascal?

To be used on something like this board:

  http://shop.imgtec.com/uk/product/mips-creator-ci20/


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MIPS32 support

2015-01-06 Thread Mark Morgan Lloyd

Graeme Geldenhuys wrote:

Hi,

Anybody know the status of MIPS32 support with Free Pascal?

To be used on something like this board:

  http://shop.imgtec.com/uk/product/mips-creator-ci20/


When I last played with it on Qemu, it was able to compile itself (with 
all packages) but not build Lazarus.


I don't know whether anybody from Imagination is lurking, but I was 
discussing FPC etc. with one of their directors a few months ago and he 
was fairly interested.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal