Complete.Org: Mailing Lists: Archives: freeciv-dev: August 1999:
Re: [Freeciv-Dev] patch: registry improvements (PR#98)
Home

Re: [Freeciv-Dev] patch: registry improvements (PR#98)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] patch: registry improvements (PR#98)
From: David Perez Serrada <dperezs@xxxxxxx>
Date: Wed, 18 Aug 1999 01:31:23 +0100 (GMT-1)

-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 12 Aug 1999, David Pfitzner wrote:


> 
> (which I understand is what gettext uses if you have strings
> with embedded "\n").
> 
> > wellcome= _("This is Freeciv "
> >             "version 2.3 :-)")
> 
> Unfortunately this way it becomes painful to add multiline 
> helptext to the ruleset file, since one would have to manually 
> add double quotes to every line, and add explicit "\n" too 
> if/where they are actually desired.
But I think it is really better with double quotes ending strings, 
suposse you want to mark a long text for translation:

hamlet="To be or not to be, that is the question wherever is noble
for the mind to suffer...."

Then you are writting implicts end of lines in place where you
don't want. Suppose that this text will go in a resizable text field, if
the text field is narrow, then you would have things like that:

        /------------------------\
        |To be or not to be, that|
        |is the question wherever|
        |is noble                |           <--- This line is awfull
        |for the mind to suffer..|

In the help file would be a lot of long text that will look really awfull.
I think is better to mark explicit new lines and not implicit by the
way the ruleset file was wrote. Of course it would be painfull to write
all the double quotes (I think emacs have a mode to add this double quotes
in po files).

 Other languages, like Java, do in this way the multi-lines strings.

                      Ta otra....        David


+--------------- David Pérez Serrada <dperezs@xxxxxxx>   -----------------+
|        Hay que ser lúcido para ser fuerte, fuerte para ser útil         |
|                       y útil para ser feliz.   - Spinoza                |
+------ Visit http://www.ioba.med.uva.es/~serrada/  also for PGP key -----+

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN7n+7lBVY5Voa3sZAQE/agP+NgVVFUHyfSTch7fKPmxXMpo6rvTtKvoT
ryQujHh0fBxa+zCLvgF2O09NEJIpWpM4DsAUEIylIlMBmkg8efy+/RyeoD+DIIvR
ZhSHU6F8O9EhYgJONKcoKx+d/NjZbxqxvEynAv5SEyKtfTKwA24llDUMgSXdBr9Z
mxJjR+ZbB+U=
=9f+E
-----END PGP SIGNATURE-----


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