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

2008-01-26 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > Committed S2_2 revision 14328, with update-po and hand adjustments. Committed trunk revision 14329. ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev

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

2008-01-25 Thread Christian Knoke
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > Hi, William Allen Simpson wrote on Jan 25, 03:53 (-0800): > It is the responsibility of the developers to make the human-readable > line breaks in the canonical form message. It is the responsibility of the > translators to make the human

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

2008-01-25 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > This removes wordwrap_string() in command line handling, adding a TRANS comment tell translators the width. It was amusing to discover that civmanual used it for html. That's silly. By definition, html always handles localized wrapping itse

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

2008-01-25 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=40043 > Egor Vyscrebentsov wrote: > Maybe I can't say what I want. Trying again: > strlen couldn't be used for receiving number of alphabetic characters > in the string. It can be used for receiving number of 7-bit signed integer. > And my point is t

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#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

[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