Commit c539b3dd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Rémi Denis-Courmont

fmt

parent 02224055
......@@ -222,7 +222,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
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;
......
......@@ -133,7 +133,7 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
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;
}
......@@ -143,7 +143,7 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
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;
}
......@@ -209,7 +209,7 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
msg_Err( p_access, "account rejected" );
dialog_Fatal( p_access,
_("Network interaction failed"),
_("Your account was rejected.") );
"%s", _("Your account was rejected.") );
return -1;
}
msg_Dbg( p_access, "account accepted" );
......@@ -218,13 +218,13 @@ static int Login( vlc_object_t *p_access, access_sys_t *p_sys )
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;
}
......
......@@ -226,7 +226,7 @@ static block_t *Block (access_t *p_access)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment