default:
msg_Err (p_access, "failed to read (%m)");
- dialog_Fatal (p_access, _("File reading failed"),
+ dialog_Fatal (p_access, _("File reading failed"), "%s",
_("VLC could not read the file."));
p_access->info.b_eof = true;
return 0;
if( fd == -1 )
{
msg_Err( p_access, "connection failed" );
- dialog_Fatal( p_access, _("Network interaction failed"),
+ dialog_Fatal( p_access, _("Network interaction failed"), "%s",
_("VLC could not connect with the given server.") );
return -1;
}
if( i_answer / 100 != 2 )
{
msg_Err( p_access, "connection rejected" );
- dialog_Fatal( p_access, _("Network interaction failed"),
+ dialog_Fatal( p_access, _("Network interaction failed"), "%s",
_("VLC's connection to the given server was rejected.") );
return -1;
}
{
msg_Err( p_access, "account rejected" );
dialog_Fatal( p_access,
- _("Network interaction failed"),
- _("Your account was rejected.") );
+ _("Network interaction failed"),
+ "%s", _("Your account was rejected.") );
return -1;
}
msg_Dbg( p_access, "account accepted" );
default:
msg_Err( p_access, "password rejected" );
dialog_Fatal( p_access, _("Network interaction failed"),
- _("Your password was rejected.") );
+ "%s", _("Your password was rejected.") );
return -1;
}
break;
default:
msg_Err( p_access, "user rejected" );
- dialog_Fatal( p_access, _("Network interaction failed"),
+ dialog_Fatal( p_access, _("Network interaction failed"), "%s",
_("Your connection attempt to the server was rejected.") );
return -1;
}
if (addr == MAP_FAILED)
{
msg_Err (p_access, "memory mapping failed (%m)");
- dialog_Fatal (p_access, _("File reading failed"),
+ dialog_Fatal (p_access, _("File reading failed"), "%s",
_("VLC could not read the file."));
goto fatal;
}