[gpodder-devel] Missing string

  • From: me at nikosapi.org (Nick Nobody)
  • Date: Sat, 18 Apr 2009 11:02:58 -0400

On Sat, 2009-04-18 at 06:53 -0700, Thomas Perl wrote:
> Jim wrote:
> > I think the string "Not found" used when gPodder fails downloading an
> > episode is missing in the messages.pot file.
> I believe this error message (404 Not Found?) comes from the remote
> web server and is just passed-through to the UI, that's why we cannot
> have these strings translated.
> If this is really needed, we have to parse the HTTP status codes and
> add strings for each (important) code, so this can be translated.
> Any comments on whether we should translate the status/error messages?
> Thanks,
> Thomas

How about just making it very clear in the dialog that the error message
came from the server. Something like this:

Error Downloading File

The <b>server</b> reported the following error code: <i>some error</i>

If not, it wouldn't be too hard to add custom error messages for the
more common http error status codes. Looking at the code, the latter
option might actually be easier to implement.


Other related posts: