Re: [Freeciv-Dev] (PR#13121) Bug: translated string doesn't fit

2007-10-08 Thread Egor Vyscrebentsov

URL: http://bugs.freeciv.org/Ticket/Display.html?id=13121 

On Sun, 7 Oct 2007 03:41:54 -0700 Daniel Markstedt wrote:

  [taraskostiak - Mon May 16 18:22:19 2005]:
 
  Hi.
 
  When Ukrainian localisation is runned(FreeCiv 2.0.0):
  in city view - translated 'Units Supported' and 'Units Present' is too
  long and you see only the half of that message.
 
  I suggest to make longer String limit for that.

 Tested with nl, sv, pt, uk, ru, and ja on S2_1:
 
 nl, sv, pt works fine.
 
 uk, ru, ja are more or less truncated.
 
 My guess is that the string container variable is to small for the more
 memory-demanding Cyrillic/Japanese letters.

Seems to me, the situation is worse. We work with internal UTF-8 data
(multi-byte characters), but store them as single-byte characters...

-- 
Thanks, evyscr



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#13121) Bug: translated string doesn't fit

2007-10-07 Thread Daniel Markstedt

URL: http://bugs.freeciv.org/Ticket/Display.html?id=13121 

 [EMAIL PROTECTED] - Mon May 16 18:22:19 2005]:
 
 Hi.
 
 When Ukrainian localisation is runned(FreeCiv 2.0.0):
 in city view - translated 'Units Supported' and 'Units Present' is too
 long and you see only the half of that message.
 
 I suggest to make longer String limit for that.
 
 Bye.
 Taras.
 
 
 
 

Tested with nl, sv, pt, uk, ru, and ja on S2_1:

nl, sv, pt works fine.

uk, ru, ja are more or less truncated.

My guess is that the string container variable is to small for the more
memory-demanding Cyrillic/Japanese letters.

 ~Daniel

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev