Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] Re: (PR#6979) Bug: too long translated string causes clien
Home

[Freeciv-Dev] Re: (PR#6979) Bug: too long translated string causes clien

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ggracian@xxxxxxx, mburda@xxxxxxxxx, ukv1@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6979) Bug: too long translated string causes client crash
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2004 23:01:07 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6979 >

Jason Short wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=6979 >
> 
> It's hard to know where to begin on this bug, since there are 60 global
> types that use MAX_LEN_NAME.
> 
> It might be easier to add TRANS comments to every name to tell
> translators to make sure they are "short".  Problem there is there is no
> strict definition of what is "short".

However, although the current situation is technically buggy it is not 
likely to cause a problem.  As long as the strings written by the 
translators aren't too long, there is no problem.  And since the server 
uses UTF-8, if any string is too long it is likely to cause an immediate 
error that the translator will see.  Previously the strings could have 
different lengths in the server depending on the locale being used.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#6979) Bug: too long translated string causes client crash, Jason Short <=