Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
42ee1b38
Commit
42ee1b38
authored
Nov 10, 2007
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* English grammar fixes and beautifications for the intf_UserFatal messages
parent
e10d4311
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
23 deletions
+22
-23
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+1
-1
modules/access/dvdread.c
modules/access/dvdread.c
+1
-1
modules/access/file.c
modules/access/file.c
+3
-3
modules/audio_output/auhal.c
modules/audio_output/auhal.c
+1
-1
modules/misc/audioscrobbler.c
modules/misc/audioscrobbler.c
+11
-11
src/input/decoder.c
src/input/decoder.c
+3
-4
src/input/input.c
src/input/input.c
+2
-2
No files found.
modules/access/dshow/dshow.cpp
View file @
42ee1b38
...
@@ -889,7 +889,7 @@ static int OpenDevice( vlc_object_t *p_this, access_sys_t *p_sys,
...
@@ -889,7 +889,7 @@ static int OpenDevice( vlc_object_t *p_this, access_sys_t *p_sys,
msg_Err
(
p_this
,
"can't use device: %s, unsupported device type"
,
msg_Err
(
p_this
,
"can't use device: %s, unsupported device type"
,
devicename
.
c_str
()
);
devicename
.
c_str
()
);
intf_UserFatal
(
p_this
,
VLC_FALSE
,
_
(
"Capturing failed"
),
intf_UserFatal
(
p_this
,
VLC_FALSE
,
_
(
"Capturing failed"
),
_
(
"VLC cannot use the device
\"
%s
\"
, because its
device
"
_
(
"VLC cannot use the device
\"
%s
\"
, because its "
"type is not supported."
)
);
"type is not supported."
)
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
modules/access/dvdread.c
View file @
42ee1b38
...
@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -232,7 +232,7 @@ static int Open( vlc_object_t *p_this )
{
{
msg_Err
(
p_demux
,
"DVDRead cannot open source: %s"
,
psz_name
);
msg_Err
(
p_demux
,
"DVDRead cannot open source: %s"
,
psz_name
);
intf_UserFatal
(
p_demux
,
VLC_FALSE
,
_
(
"Playback failure"
),
intf_UserFatal
(
p_demux
,
VLC_FALSE
,
_
(
"Playback failure"
),
_
(
"DVDRead could not open disk
\"
%s
\"
."
),
psz_name
);
_
(
"DVDRead could not open
the
disk
\"
%s
\"
."
),
psz_name
);
free
(
psz_name
);
free
(
psz_name
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
...
modules/access/file.c
View file @
42ee1b38
...
@@ -279,7 +279,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
...
@@ -279,7 +279,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
default:
default:
msg_Err
(
p_access
,
"read failed (%m)"
);
msg_Err
(
p_access
,
"read failed (%m)"
);
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
_
(
"VLC could not read file."
));
_
(
"VLC could not read
the
file."
));
}
}
/* Delay a bit to avoid consuming all the CPU. This is particularly
/* Delay a bit to avoid consuming all the CPU. This is particularly
...
@@ -431,7 +431,7 @@ static int open_file (access_t *p_access, const char *psz_name)
...
@@ -431,7 +431,7 @@ static int open_file (access_t *p_access, const char *psz_name)
{
{
msg_Err
(
p_access
,
"cannot open file %s"
,
psz_name
);
msg_Err
(
p_access
,
"cannot open file %s"
,
psz_name
);
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
_
(
"VLC could not open file
\"
%s
\"
."
),
psz_name
);
_
(
"VLC could not open
the
file
\"
%s
\"
."
),
psz_name
);
free
(
path
);
free
(
path
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -447,7 +447,7 @@ static int open_file (access_t *p_access, const char *psz_name)
...
@@ -447,7 +447,7 @@ static int open_file (access_t *p_access, const char *psz_name)
{
{
msg_Err
(
p_access
,
"cannot open file %s (%m)"
,
psz_name
);
msg_Err
(
p_access
,
"cannot open file %s (%m)"
,
psz_name
);
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
intf_UserFatal
(
p_access
,
VLC_FALSE
,
_
(
"File reading failed"
),
_
(
"VLC could not open file
\"
%s
\"
."
),
psz_name
);
_
(
"VLC could not open
the
file
\"
%s
\"
."
),
psz_name
);
return
-
1
;
return
-
1
;
}
}
...
...
modules/audio_output/auhal.c
View file @
42ee1b38
...
@@ -424,7 +424,7 @@ static int OpenAnalog( aout_instance_t *p_aout )
...
@@ -424,7 +424,7 @@ static int OpenAnalog( aout_instance_t *p_aout )
msg_Err
(
p_aout
,
"You should configure your speaker layout with Audio Midi Setup Utility in /Applications/Utilities. Now using Stereo mode."
);
msg_Err
(
p_aout
,
"You should configure your speaker layout with Audio Midi Setup Utility in /Applications/Utilities. Now using Stereo mode."
);
intf_UserFatal
(
p_aout
,
VLC_FALSE
,
_
(
"Audio device is not configured"
),
intf_UserFatal
(
p_aout
,
VLC_FALSE
,
_
(
"Audio device is not configured"
),
_
(
"You should configure your speaker layout with "
_
(
"You should configure your speaker layout with "
"the
\"
Audio Midi Setup
Utility
\"
in /Applications/"
"the
\"
Audio Midi Setup
\"
utility
in /Applications/"
"Utilities. Stereo mode is being used now."
)
);
"Utilities. Stereo mode is being used now."
)
);
}
}
}
}
...
...
modules/misc/audioscrobbler.c
View file @
42ee1b38
...
@@ -84,7 +84,7 @@ struct intf_sys_t
...
@@ -84,7 +84,7 @@ struct intf_sys_t
char *psz_nowp_file; /**< file to which submit */
char *psz_nowp_file; /**< file to which submit */
#endif
#endif
vlc_bool_t
b_handshaked
;
/**< are we authenticated ? */
vlc_bool_t
b_handshaked
;
/**< are we authenticated ? */
char
psz_auth_token
[
33
];
/**<
authentif
ication token */
char
psz_auth_token
[
33
];
/**<
Authent
ication token */
/* data about song currently playing */
/* data about song currently playing */
audioscrobbler_song_t
p_current_song
;
/**< song being played */
audioscrobbler_song_t
p_current_song
;
/**< song being played */
...
@@ -274,7 +274,7 @@ static void Run( intf_thread_t *p_intf )
...
@@ -274,7 +274,7 @@ static void Run( intf_thread_t *p_intf )
if
(
b_die
)
if
(
b_die
)
{
{
msg_Dbg
(
p_intf
,
"audioscrobbler is dying
\n
"
);
msg_Dbg
(
p_intf
,
"audioscrobbler is dying"
);
return
;
return
;
}
}
...
@@ -293,9 +293,9 @@ static void Run( intf_thread_t *p_intf )
...
@@ -293,9 +293,9 @@ static void Run( intf_thread_t *p_intf )
/* username not set */
/* username not set */
intf_UserFatal
(
p_intf
,
VLC_FALSE
,
intf_UserFatal
(
p_intf
,
VLC_FALSE
,
_
(
"Last.fm username not set"
),
_
(
"Last.fm username not set"
),
_
(
"Please set a
n username or disabl
e "
_
(
"Please set a
username or disable th
e "
"audioscrobbler plugin, and
then
restart VLC.
\n
"
"audioscrobbler plugin, and restart VLC.
\n
"
"Visit http
s://www.last.fm/join/ to get an account
"
)
"Visit http
://www.last.fm/join/ to get an account.
"
)
);
);
Unload
(
p_intf
);
Unload
(
p_intf
);
return
;
return
;
...
@@ -418,7 +418,7 @@ static void Run( intf_thread_t *p_intf )
...
@@ -418,7 +418,7 @@ static void Run( intf_thread_t *p_intf )
p_buffer_pos
=
strstr
(
(
char
*
)
p_buffer
,
"BADSESSION"
);
p_buffer_pos
=
strstr
(
(
char
*
)
p_buffer
,
"BADSESSION"
);
if
(
p_buffer_pos
)
if
(
p_buffer_pos
)
{
{
msg_Dbg
(
p_intf
,
"Authenti
fi
cation failed, handshaking again"
);
msg_Dbg
(
p_intf
,
"Authentication failed, handshaking again"
);
p_sys
->
b_handshaked
=
VLC_FALSE
;
p_sys
->
b_handshaked
=
VLC_FALSE
;
HandleInterval
(
&
p_sys
->
next_exchange
,
&
p_sys
->
i_interval
);
HandleInterval
(
&
p_sys
->
next_exchange
,
&
p_sys
->
i_interval
);
continue
;
continue
;
...
@@ -433,11 +433,11 @@ static void Run( intf_thread_t *p_intf )
...
@@ -433,11 +433,11 @@ static void Run( intf_thread_t *p_intf )
p_sys
->
i_songs
=
0
;
p_sys
->
i_songs
=
0
;
p_sys
->
i_interval
=
0
;
p_sys
->
i_interval
=
0
;
time
(
&
p_sys
->
next_exchange
);
time
(
&
p_sys
->
next_exchange
);
msg_Dbg
(
p_intf
,
"Submission successful
l
!"
);
msg_Dbg
(
p_intf
,
"Submission successful!"
);
}
}
else
else
{
{
msg_Dbg
(
p_intf
,
"Authenti
fi
cation failed, handshaking again"
);
msg_Dbg
(
p_intf
,
"Authentication failed, handshaking again"
);
p_sys
->
b_handshaked
=
VLC_FALSE
;
p_sys
->
b_handshaked
=
VLC_FALSE
;
HandleInterval
(
&
p_sys
->
next_exchange
,
&
p_sys
->
i_interval
);
HandleInterval
(
&
p_sys
->
next_exchange
,
&
p_sys
->
i_interval
);
continue
;
continue
;
...
@@ -809,8 +809,8 @@ static int Handshake( intf_thread_t *p_this )
...
@@ -809,8 +809,8 @@ static int Handshake( intf_thread_t *p_this )
/* authentication failed, bad username/password combination */
/* authentication failed, bad username/password combination */
intf_UserFatal
(
p_this
,
VLC_FALSE
,
intf_UserFatal
(
p_this
,
VLC_FALSE
,
_
(
"last.fm: Authentication failed"
),
_
(
"last.fm: Authentication failed"
),
_
(
"last.fm
Username or Password is incorrect,
"
_
(
"last.fm
username or password is incorrect.
"
"
p
lease verify your settings and relaunch VLC."
)
);
"
P
lease verify your settings and relaunch VLC."
)
);
return
VLC_AUDIOSCROBBLER_EFATAL
;
return
VLC_AUDIOSCROBBLER_EFATAL
;
}
}
...
@@ -819,7 +819,7 @@ static int Handshake( intf_thread_t *p_this )
...
@@ -819,7 +819,7 @@ static int Handshake( intf_thread_t *p_this )
{
{
/* oops, our version of vlc has been banned by last.fm servers */
/* oops, our version of vlc has been banned by last.fm servers */
msg_Err
(
p_intf
,
"This version of VLC has been banned by last.fm. "
msg_Err
(
p_intf
,
"This version of VLC has been banned by last.fm. "
"You should upgrade VLC, or disable last.fm plugin."
);
"You should upgrade VLC, or disable
the
last.fm plugin."
);
return
VLC_AUDIOSCROBBLER_EFATAL
;
return
VLC_AUDIOSCROBBLER_EFATAL
;
}
}
...
...
src/input/decoder.c
View file @
42ee1b38
...
@@ -103,10 +103,9 @@ static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
...
@@ -103,10 +103,9 @@ static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
msg_Err
(
p_dec
,
"no suitable decoder module for fourcc `%4.4s'.
\n
"
msg_Err
(
p_dec
,
"no suitable decoder module for fourcc `%4.4s'.
\n
"
"VLC probably does not support this sound or video format."
,
"VLC probably does not support this sound or video format."
,
(
char
*
)
&
codec
);
(
char
*
)
&
codec
);
intf_UserFatal
(
p_dec
,
VLC_FALSE
,
_
(
"No suitable decoder module "
intf_UserFatal
(
p_dec
,
VLC_FALSE
,
_
(
"No suitable decoder module"
),
"for format"
),
_
(
"VLC probably does not support the
\"
%4.4s
\"
"
_
(
"VLC does not support the audio or video format
\"
%4.4s
\"
. "
"audio or video format. Unfortunately there is no way for you "
"Unfortunately there is no way for you to fix this."
),
(
char
*
)
&
codec
);
"to fix this."
),
(
char
*
)
&
codec
);
}
}
/* decoder_GetInputAttachment:
/* decoder_GetInputAttachment:
...
...
src/input/input.c
View file @
42ee1b38
...
@@ -2363,8 +2363,8 @@ static int InputSourceInit( input_thread_t *p_input,
...
@@ -2363,8 +2363,8 @@ static int InputSourceInit( input_thread_t *p_input,
msg_Err
(
p_input
,
"no suitable demux module for `%s/%s://%s'"
,
msg_Err
(
p_input
,
"no suitable demux module for `%s/%s://%s'"
,
psz_access
,
psz_demux
,
psz_path
);
psz_access
,
psz_demux
,
psz_path
);
intf_UserFatal
(
VLC_OBJECT
(
p_input
),
VLC_FALSE
,
intf_UserFatal
(
VLC_OBJECT
(
p_input
),
VLC_FALSE
,
_
(
"
C
an't recognize the input's format"
),
_
(
"
VLC c
an't recognize the input's format"
),
_
(
"The format of '%s' can
'
t be detected. "
_
(
"The format of '%s' can
no
t be detected. "
"Have a look the log for details."
),
psz_mrl
);
"Have a look the log for details."
),
psz_mrl
);
goto
error
;
goto
error
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment