Re: [Freeciv-Dev] (PR#40032) server/plrhand.c civil war message plural

2008-01-24 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40032 > On Wed, 23 Jan 2008 William Allen Simpson wrote: [skip/] > Why the line breaks? How does the server know the best width? Or the > translators know for all clients in advance? As I said early, freeciv is still NOT utf-8 application, so bre

Re: [Freeciv-Dev] (PR#40036) AutoReply: Bug in latest release

2008-01-24 Thread Martin Rubinstein
http://bugs.freeciv.org/Ticket/Display.html?id=40036 > Further information - if the flag in "further options" which permits the server to process moves from multiple players simul;taneously is turned off, it appearsto fix this problem. The server can be multiple turns behind in saving parts

Re: [Freeciv-Dev] (PR#40032) server/plrhand.c civil war message plural

2008-01-24 Thread Christian Knoke
Egor Vyscrebentsov wrote on Jan 23, 23:47 (-0800): > On Wed, 23 Jan 2008 William Allen Simpson wrote: > > Aren't we supposed to use the leader name together with the nation name? > > It should be done. Also, I think we want to use nation name as a basis > for all diplomatic things, aren't we? >

[Freeciv-Dev] (PR#40044) i18n: split data/helptext.txt keyboard/mouse orders

2008-01-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40044 > Reported in PR#40032. Egor Vyscrebentsov <[EMAIL PROTECTED]> writes: PS. I'm also for splitting into several messages a keyboard/mouse orders helptext from data/helptext.txt. It will a) make it much easier for translator to see changes; b)

[Freeciv-Dev] (PR#40043) i18n: wordwrap_string() broken for UTF-8 translations

2008-01-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > Reported in PR#40032. Egor Vyscrebentsov <[EMAIL PROTECTED]> writes: (For ru_RU.UTF-8 part of lines cover only half of screen width - 2 bytes/character. Easiest example - '/help' [show_help_intro]. wordwrap_string() looks to me like the roo

[Freeciv-Dev] (PR#40045) strlen and multibytes encodings

2008-01-24 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40045 > Good daytime! At least in utility/shared.c:wordwrap_string() strlen() is used to determine number of characters in the string. This gives wrong result on multibytes encoding. There are several code bases for this situation. >From (patched)

[Freeciv-Dev] (PR#40043) Re: (PR#40045) wordwrap_string(), strlen(), and multibytes encodings

2008-01-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > Egor Vyscrebentsov wrote: > At least in utility/shared.c:wordwrap_string() strlen() is used to > determine number of characters in the string. This gives wrong result > on multibytes encoding. > The issue is not strlen(). It is properly use

Re: [Freeciv-Dev] (PR#40043) Re: (PR#40045) wordwrap_string(), strlen(), and multibytes encodings

2008-01-24 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > On Thu, 24 Jan 2008 William Allen Simpson wrote: > Egor Vyscrebentsov wrote: > > At least in utility/shared.c:wordwrap_string() strlen() is used to > > determine number of characters in the string. This gives wrong result > > on multibytes e

[Freeciv-Dev] (PR#40041) BUG: server sending intelligence researching A_UNSET?

2008-01-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40041 > This is probably only fixable 2.2-only, with the new advance/techology iterators (PR#39525) able to vary the starting range, and better use of access functions to find the error. ___ Freeciv-dev

Re: [Freeciv-Dev] (PR#40043) i18n: wordwrap_string() broken for UTF-8 translations

2008-01-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > Egor Vyscrebentsov wrote: > On Thu, 24 Jan 2008 William Allen Simpson wrote: >> The issue is not strlen(). It is properly used to determine the >> length of a string. The issue is that strlen() has nothing to do with >> how much room there

Re: [Freeciv-Dev] (PR#40043) i18n: wordwrap_string() broken for UTF-8 translations

2008-01-24 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > On Thu, 24 Jan 2008 William Allen Simpson wrote: > Egor Vyscrebentsov wrote: > > On Thu, 24 Jan 2008 William Allen Simpson wrote: > >> The issue is not strlen(). It is properly used to determine the > >> length of a string. The issue is th

Re: [Freeciv-Dev] (PR#40032) server/plrhand.c civil war message plural

2008-01-24 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40032 > Christian Knoke wrote: > Yes! This is essential information to be given. > After looking at the notification a bit, it seems the former message should be split (two events). But, the latter has to stay together. I shortened it drastically.

Re: [Freeciv-Dev] (PR#40032) server/plrhand.c civil war message plural

2008-01-24 Thread Egor Vyscrebentsov
http://bugs.freeciv.org/Ticket/Display.html?id=40032 > On Thu, 24 Jan 2008 William Allen Simpson wrote: > Now, are these adjectives and plurals good for everybody? > > Or do we need a different word order? > > Or no adjectives at all? > > (Note that I kept the parameter order exactly the same, t