Bug#294802: tin: line-wrap in German filter menu

2005-02-12 Thread Urs Janßen
On Fri, Feb 11, 2005 at 07:02:50PM +0100, Christian Garbs wrote:
 In the German filter menu (scoring for articles) the item
 Wähle Msg-Id has four values:
 
  * Nur
  * Nein
  * Voll
  * Letzte
 
 Letzte is too long and always wrapped around to the next line,
 regardless of screen width.  It looks to me like 5 characters are
 reserved for the option but 6 are needed.

quick and dirty fix: in filter.c:filter_menu() increase len by 3
(estonian values are even longer), e.g.:
len = cCOLS - 33;
instead of
len = cCOLS - 30;

right thing would be some dynamic space calculation depening on the
length of the longest translated value...

urs
-- 
Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;) - Linus



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#294802: tin: line-wrap in German filter menu

2005-02-11 Thread Christian Garbs
Package: tin
Version: 1:1.7.6+rel-1
Severity: minor
Tags: l10n

In the German filter menu (scoring for articles) the item
Wähle Msg-Id has four values:

 * Nur
 * Nein
 * Voll
 * Letzte

Letzte is too long and always wrapped around to the next line,
regardless of screen width.  It looks to me like 5 characters are
reserved for the option but 6 are needed.


See this example (it's from an Eterm at the size of 60x24):

---SNIP
   Filter Menü (Bewertung/Score erhöhen)

Kommentar (optional): 

Wähle Textmuster:
Wende Muster an auf :

Wähle Subject  [Xxx   ] (j/n): Nein
Wähle From [EMAIL PROTECTED]   ] (j/n): Nein
Wähle Msg-Id   [[EMAIL PROTECTED] (v/l/n/n): Letzt
e
Wähle Zeilen: (/num):
Bewertung für Regel (Standard=100):
Wähle Zeit in Tagen   :

Wähle Muster: hannover.allgemeines





 Message-ID: zum Filter hinzufügen. SPACE wechselt  ... 


---SNAP




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages tin depends on:
ii  debconf 1.4.30.11Debian configuration management sy
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libidn110.5.2-3  GNU libidn library, implementation
ii  libncursesw55.4-4Shared libraries for terminal hand
ii  libpcre34.5-1.1  Perl 5 Compatible Regular Expressi

-- debconf information excluded

-- 
Christian.Garbs.http://www.cgarbs.de

 _,,_Ich bin nur der Experte
 \| o|o|/für höchst langweilige |o|o |
 X| _|_|XGesteinsformationen. X|_|_ |X
  |__|_|MIST|_|__|


signature.asc
Description: Digital signature