mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Translation system changes part 2: replace macros by strings
Replace all MSGTR_ macros in the source by the corresponding English string.
This commit is contained in:
@@ -119,14 +119,14 @@ static int open_f (stream_t *stream, int mode, void *opts, int* file_format) {
|
||||
|
||||
err = smbc_init(smb_auth_fn, 1);
|
||||
if (err < 0) {
|
||||
mp_tmsg(MSGT_OPEN,MSGL_ERR,MSGTR_SMBInitError,err);
|
||||
mp_tmsg(MSGT_OPEN,MSGL_ERR,"Cannot init the libsmbclient library: %d\n",err);
|
||||
m_struct_free(&stream_opts, opts);
|
||||
return STREAM_ERROR;
|
||||
}
|
||||
|
||||
fd = smbc_open(filename, m,0644);
|
||||
if (fd < 0) {
|
||||
mp_tmsg(MSGT_OPEN,MSGL_ERR,MSGTR_SMBFileNotFound, filename);
|
||||
mp_tmsg(MSGT_OPEN,MSGL_ERR,"Could not open from LAN: '%s'\n", filename);
|
||||
m_struct_free(&stream_opts, opts);
|
||||
return STREAM_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user