[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: ioslaves: "unsupported action" message box
From: Waldo Bastian <bastian () kde ! org>
Date: 2001-09-04 15:54:25
[Download RAW message or body]
On Monday 03 September 2001 01:50 pm, aleXXX wrote:
> Hi,
>
> the default message box for functions of ioslaves which are not
> implemented, says e.g. "Unsupported action: put"
> This gets worse when translated "Nicht unterstuetzte Aktion put"
> It seems no user understands that this doesn't indicate a bug. At least I
> got several bug reports for the smb ioslave (which is read-only) which
> contained the bug "the message box says "action not supported".
> Hmm.
> Maybe like the following ?
>
> void SlaveBase::put(KURL const &, int, bool, bool)
> -{error(ERR_UNSUPPORTED_ACTION, "put" ); }
> +{error(ERR_NO_CONTENT, i18n("Writing is not supported by this ioslave" ));
> }
The error code must be "ERR_UNSUPPORTED" because we have code that checks for
that error.
Cheers,
Waldo
--
KDE 2.2: We deliver.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic