Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
8463dd48
Commit
8463dd48
authored
Jun 21, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ncurses: translate title
parent
2da17fc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/ncurses.c
modules/gui/ncurses.c
+3
-3
No files found.
modules/gui/ncurses.c
View file @
8463dd48
...
@@ -1024,8 +1024,8 @@ static int DrawStatus(intf_thread_t *intf)
...
@@ -1024,8 +1024,8 @@ static int DrawStatus(intf_thread_t *intf)
intf_sys_t
*
sys
=
intf
->
p_sys
;
intf_sys_t
*
sys
=
intf
->
p_sys
;
input_thread_t
*
p_input
=
sys
->
p_input
;
input_thread_t
*
p_input
=
sys
->
p_input
;
playlist_t
*
p_playlist
=
pl_Get
(
intf
);
playlist_t
*
p_playlist
=
pl_Get
(
intf
);
static
const
char
name
[]
=
"VLC media player "
PACKAGE_VERSION
;
char
*
name
=
_
(
"VLC media player"
)
;
const
size_t
name_len
=
s
izeof
name
-
1
;
/* without \0 termination */
const
size_t
name_len
=
s
trlen
(
name
)
+
sizeof
(
PACKAGE_VERSION
);
int
y
=
0
;
int
y
=
0
;
const
char
*
repeat
,
*
loop
,
*
random
;
const
char
*
repeat
,
*
loop
,
*
random
;
...
@@ -1038,7 +1038,7 @@ static int DrawStatus(intf_thread_t *intf)
...
@@ -1038,7 +1038,7 @@ static int DrawStatus(intf_thread_t *intf)
attrset
(
A_REVERSE
);
attrset
(
A_REVERSE
);
if
(
sys
->
color
)
color_set
(
C_TITLE
,
NULL
);
if
(
sys
->
color
)
color_set
(
C_TITLE
,
NULL
);
DrawEmptyLine
(
y
,
0
,
COLS
);
DrawEmptyLine
(
y
,
0
,
COLS
);
mvnprintw
(
y
++
,
padding
/
2
,
COLS
,
"%s
"
,
name
);
mvnprintw
(
y
++
,
padding
/
2
,
COLS
,
"%s
%s"
,
name
,
PACKAGE_VERSION
);
if
(
sys
->
color
)
color_set
(
C_STATUS
,
NULL
);
if
(
sys
->
color
)
color_set
(
C_STATUS
,
NULL
);
attroff
(
A_REVERSE
);
attroff
(
A_REVERSE
);
...
...
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