[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Fixing app typo's (was: Re: KDE 2.2 tagged)
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2001-08-06 15:18:39
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 06 August 2001 13:51, Adriaan de Groot wrote:
> On Mon, 6 Aug 2001, Thomas Diehl wrote:
<snip>
> 4) Fix up string-insertion woes in some strings. For example:
> 	msgid "Send bugs reports to "
> obviously the code will add an email address to the end of that
> string, which may not be grammatically correct for a lot of
> languages.
>
> Which of these could I possibly put into 2.2.1 and which should I
> keep for 3.0?

This is something I'd like to know, too. In libkdenetwork (PGP support 
for Kmail and Knode), we currently return the bogus error message "The 
passphrase is missing" when we're OOM or given a too long passphrase. 
There is also the problem with the messages about whether a given mail 
is signed/encrypted or not and whether the sig is good or bad.
The current code pieces this together like

if (encrypted )
  str += i18n("Encrypted message\n");
if (signed) {
  str += i18n("Message was signed by");
  if ( unknown_key )
    str += i18n("unknown key ID ") + key_id;
  else
    str += key_user_id;
}

(HTML formatting adding omitted) Ugh. This works for English and 
German, but I think there are languages where this piecing together of 
i18n'ed strings results in, um, funny messages.

I'd like to port this to use .arg(), but this would require new 
strings, too.

Marc

- -- 
The intensity and complexity of life, attendant upon advancing 
civilization, have rendered necessary some retreat from the world, and 
man, under the refining influence of culture, has become more sensitive 
to publicity, so that solitude and privacy have become more essential 
to the individual; but modern enterprise and invention have, through 
invasions upon his privacy, subjected him to mental pain and distress, 
far greater than could be inflicted by mere bodily injury.
S.D. Warren/L.D. Brandeis: The Right to Privacy, Harvard Law Review 
vol.IV, no.5 (1890)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7bs+f3oWD+L2/6DgRAimrAKCFCvfGfppYIvLseOaOiThX1X9FHwCcD1DZ
s15ouT2/gVcXby8kF42E95Q=
=tfUr
-----END PGP SIGNATURE-----
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic