From: Felix Paul Kühne Date: Sat, 29 Jul 2006 15:32:30 +0000 (+0000) Subject: * improved some error messages X-Git-Tag: 0.9.0-test0~10751 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=76d75d3dc50a4c40a6bd48c613c0cabfba0a37f9;p=vlc * improved some error messages --- diff --git a/AUTHORS b/AUTHORS index 37656100bc..099fbd77ea 100644 --- a/AUTHORS +++ b/AUTHORS @@ -258,6 +258,7 @@ N: Felix Kühne E: fkuehne@users.sourceforge.net C: fkuehne D: MacOS X Interface (Wizard, structure, extended controls panel, bookmarks window) +D: Interface Interaction (core and OSX) D: German translation S: Germany diff --git a/src/input/input.c b/src/input/input.c index 6a01622fa5..129e25208c 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -2019,7 +2019,9 @@ static int InputSourceInit( input_thread_t *p_input, { msg_Err( p_input, "no suitable access module for `%s'", psz_mrl ); intf_UserFatal( VLC_OBJECT( p_input), - _("Errors"),"Unable to open '%s'", psz_mrl ); + _("Your input can't be opened"), + _("VLC is unable to open the MRL '%s'." + " Check the log for details."), psz_mrl ); goto error; } @@ -2089,8 +2091,10 @@ static int InputSourceInit( input_thread_t *p_input, { msg_Err( p_input, "no suitable demux module for `%s/%s://%s'", psz_access, psz_demux, psz_path ); - intf_UserFatal( VLC_OBJECT( p_input), _("Errors"), - "Unrecognized format for '%s'", psz_mrl ); + intf_UserFatal( VLC_OBJECT( p_input), + _("Can't recognize the input's format"), + _("The format of '%s' can't be detected. " + "Have a look the log for details."), psz_mrl ); goto error; } diff --git a/src/misc/update.c b/src/misc/update.c index b77afc2c5e..9e78750f32 100644 --- a/src/misc/update.c +++ b/src/misc/update.c @@ -1270,8 +1270,8 @@ void update_download_for_real( download_thread_t *p_this ) if( !p_stream ) { msg_Err( p_vlc, "Failed to open %s for reading", psz_src ); - intf_UserFatal( p_vlc, "Downloading...", - "Failed to open %s for reading", psz_src ); + intf_UserFatal( p_vlc, "Error while Downloading...", + "VLC failed to open %s for reading.", psz_src ); intf_UserHide( p_vlc, i_progress ); } else @@ -1281,8 +1281,8 @@ void update_download_for_real( download_thread_t *p_this ) if( !p_file ) { msg_Err( p_vlc, "Failed to open %s for writing", psz_dest ); - intf_UserFatal( p_vlc, "Downloading...", - "Failed to open %s for writing", psz_dest ); + intf_UserFatal( p_vlc, "Error while Downloading...", + "VLC failed to open %s for writing.", psz_dest ); intf_UserHide( p_vlc, i_progress ); } else