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

List:       kde-i18n-doc
Subject:    Re: Sugestion: KStdErrorMessages
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-08-26 0:03:47
[Download RAW message or body]

On Sunday 26 August 2001 00:45, Pedro Morais wrote:
> Hi!
> 
> Here is a sugestion for KDE 3: factor common error messages into kdelibs.
> Lots and lots of diferent applications are saying the same thing using diferent
> words.
> Grep the pot files in kde-i18n/templates to see what I mean.
> 
> Error messages for stuff like "permission denied", "could not open file", etc are
> all over the place. Most of these are shown in message boxes, so it
> might be nice to extend KMessageBox with "sorry", "information" and "error"
> method that took a constant like KStdErrorMessages::FILE_PERMISSION_DENIED.
> 
> BTW, I decided to write this mail after translating kdeaddons/domtreeviewer.pot
> in which of the 15 messages, 6 (almost 50%!!) could have been avoided using
> something like I described -- so I'm sure we, the translators, will thank you.

I suggest you have a look at kio/global.cpp ... 62 error messages are already centralized.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

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

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