Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5887da81
Commit
5887da81
authored
Apr 18, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALL: fixed i18n under BeOS
parent
2057de4a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
Makefile.am
Makefile.am
+6
-0
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+6
-6
src/libvlc.c
src/libvlc.c
+3
-3
No files found.
Makefile.am
View file @
5887da81
...
@@ -443,9 +443,15 @@ DEPENDENCIES_vlc = lib/libvlc.a $(L_builtin) $(DATA_win32_rc) $(LIB_intl)
...
@@ -443,9 +443,15 @@ DEPENDENCIES_vlc = lib/libvlc.a $(L_builtin) $(DATA_win32_rc) $(LIB_intl)
vlc$(EXEEXT)
:
$(vlc_OBJECTS) $(DEPENDENCIES_vlc)
vlc$(EXEEXT)
:
$(vlc_OBJECTS) $(DEPENDENCIES_vlc)
@
rm
-f
vlc
$(EXEEXT)
@
rm
-f
vlc
$(EXEEXT)
$(LINK)
$(vlc_LDFLAGS)
$(vlc_OBJECTS)
$(vlc_LDADD)
$(LIBS)
$(LINK)
$(vlc_LDFLAGS)
$(vlc_OBJECTS)
$(vlc_LDADD)
$(LIBS)
if
HAVE_BEOS
if
HAVE_BEOS
xres
-o
$@
./share/vlc_beos.rsrc
xres
-o
$@
./share/vlc_beos.rsrc
mimeset
-f
$@
mimeset
-f
$@
$(INSTALL)
-d
locale
for
i
in
$(ALL_LINGUAS);
do
\
mkdir
-p
locale/$${i}/LC_MESSAGES
;
\
cp
po/$${i}.gmo
locale/$${i}/LC_MESSAGES/vlc.mo
||
true
;
\
done
endif
endif
# Install the symlinks
# Install the symlinks
...
...
modules/gui/beos/InterfaceWindow.cpp
View file @
5887da81
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface
* InterfaceWindow.cpp: beos interface
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: InterfaceWindow.cpp,v 1.3
1 2003/03/12 23:15:03
titer Exp $
* $Id: InterfaceWindow.cpp,v 1.3
2 2003/04/18 15:25:50
titer Exp $
*
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -242,7 +242,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
...
@@ -242,7 +242,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
AddChild
(
p_mediaControl
);
AddChild
(
p_mediaControl
);
// Add the file Menu
// Add the file Menu
BMenu
*
fileMenu
=
new
BMenu
(
"File"
);
BMenu
*
fileMenu
=
new
BMenu
(
_
(
"File"
)
);
fMenuBar
->
AddItem
(
fileMenu
);
fMenuBar
->
AddItem
(
fileMenu
);
fileMenu
->
AddItem
(
new
BMenuItem
(
"Open File"
B_UTF8_ELLIPSIS
,
fileMenu
->
AddItem
(
new
BMenuItem
(
"Open File"
B_UTF8_ELLIPSIS
,
new
BMessage
(
OPEN_FILE
),
'O'
)
);
new
BMessage
(
OPEN_FILE
),
'O'
)
);
...
@@ -263,7 +263,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
...
@@ -263,7 +263,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
fSubtitlesMenu
=
new
LanguageMenu
(
"Subtitles"
,
SPU_ES
,
p_wrapper
);
fSubtitlesMenu
=
new
LanguageMenu
(
"Subtitles"
,
SPU_ES
,
p_wrapper
);
/* Add the Audio menu */
/* Add the Audio menu */
fAudioMenu
=
new
BMenu
(
"Audio"
);
fAudioMenu
=
new
BMenu
(
_
(
"Audio"
)
);
fMenuBar
->
AddItem
(
fAudioMenu
);
fMenuBar
->
AddItem
(
fAudioMenu
);
fAudioMenu
->
AddItem
(
fLanguageMenu
);
fAudioMenu
->
AddItem
(
fLanguageMenu
);
fAudioMenu
->
AddItem
(
fSubtitlesMenu
);
fAudioMenu
->
AddItem
(
fSubtitlesMenu
);
...
@@ -275,7 +275,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
...
@@ -275,7 +275,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
fGotoMenuMI
=
new
BMenuItem
(
"Goto Menu"
,
new
BMessage
(
NAVIGATE_MENU
)
);
fGotoMenuMI
=
new
BMenuItem
(
"Goto Menu"
,
new
BMessage
(
NAVIGATE_MENU
)
);
/* Add the Navigation menu */
/* Add the Navigation menu */
fNavigationMenu
=
new
BMenu
(
"Navigation"
);
fNavigationMenu
=
new
BMenu
(
_
(
"Navigation"
)
);
fMenuBar
->
AddItem
(
fNavigationMenu
);
fMenuBar
->
AddItem
(
fNavigationMenu
);
fNavigationMenu
->
AddItem
(
fGotoMenuMI
);
fNavigationMenu
->
AddItem
(
fGotoMenuMI
);
fNavigationMenu
->
AddSeparatorItem
();
fNavigationMenu
->
AddSeparatorItem
();
...
@@ -288,7 +288,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
...
@@ -288,7 +288,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
fNavigationMenu
->
AddItem
(
fChapterMenu
=
new
ChapterMenu
(
"Go to Chapter"
,
p_intf
)
);
fNavigationMenu
->
AddItem
(
fChapterMenu
=
new
ChapterMenu
(
"Go to Chapter"
,
p_intf
)
);
/* Add the Speed menu */
/* Add the Speed menu */
fSpeedMenu
=
new
BMenu
(
"Speed"
);
fSpeedMenu
=
new
BMenu
(
_
(
"Speed"
)
);
fSpeedMenu
->
SetRadioMode
(
true
);
fSpeedMenu
->
SetRadioMode
(
true
);
fSpeedMenu
->
AddItem
(
fSlowerMI
=
new
BMenuItem
(
"Slower"
,
new
BMessage
(
SLOWER_PLAY
)
)
);
fSpeedMenu
->
AddItem
(
fSlowerMI
=
new
BMenuItem
(
"Slower"
,
new
BMessage
(
SLOWER_PLAY
)
)
);
fNormalMI
=
new
BMenuItem
(
"Normal"
,
new
BMessage
(
NORMAL_PLAY
)
);
fNormalMI
=
new
BMenuItem
(
"Normal"
,
new
BMessage
(
NORMAL_PLAY
)
);
...
@@ -299,7 +299,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
...
@@ -299,7 +299,7 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
fMenuBar
->
AddItem
(
fSpeedMenu
);
fMenuBar
->
AddItem
(
fSpeedMenu
);
/* Add the Show menu */
/* Add the Show menu */
fShowMenu
=
new
BMenu
(
"Window"
);
fShowMenu
=
new
BMenu
(
_
(
"Window"
)
);
fShowMenu
->
AddItem
(
new
BMenuItem
(
"Play List"
B_UTF8_ELLIPSIS
,
fShowMenu
->
AddItem
(
new
BMenuItem
(
"Play List"
B_UTF8_ELLIPSIS
,
new
BMessage
(
OPEN_PLAYLIST
),
'P'
)
);
new
BMessage
(
OPEN_PLAYLIST
),
'P'
)
);
fShowMenu
->
AddItem
(
new
BMenuItem
(
"Messages"
B_UTF8_ELLIPSIS
,
fShowMenu
->
AddItem
(
new
BMenuItem
(
"Messages"
B_UTF8_ELLIPSIS
,
...
...
src/libvlc.c
View file @
5887da81
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* libvlc.c: main libvlc source
* libvlc.c: main libvlc source
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* Copyright (C) 1998-2002 VideoLAN
* $Id: libvlc.c,v 1.7
8 2003/04/09 19:58:25 gbazin
Exp $
* $Id: libvlc.c,v 1.7
9 2003/04/18 15:25:51 titer
Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -1007,7 +1007,7 @@ static void SetLanguage ( char const *psz_lang )
...
@@ -1007,7 +1007,7 @@ static void SetLanguage ( char const *psz_lang )
&& ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) )
&& ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) )
char
*
psz_path
;
char
*
psz_path
;
#if defined( SYS_DARWIN ) || defined ( WIN32 )
#if defined( SYS_DARWIN ) || defined ( WIN32 )
|| defined( SYS_BEOS )
char
psz_tmp
[
1024
];
char
psz_tmp
[
1024
];
#endif
#endif
...
@@ -1043,7 +1043,7 @@ static void SetLanguage ( char const *psz_lang )
...
@@ -1043,7 +1043,7 @@ static void SetLanguage ( char const *psz_lang )
}
}
/* Specify where to find the locales for current domain */
/* Specify where to find the locales for current domain */
#if !defined( SYS_DARWIN ) && !defined( WIN32 )
#if !defined( SYS_DARWIN ) && !defined( WIN32 )
&& !defined( SYS_BEOS )
psz_path
=
LOCALEDIR
;
psz_path
=
LOCALEDIR
;
#else
#else
snprintf
(
psz_tmp
,
sizeof
(
psz_tmp
),
"%s/%s"
,
libvlc
.
psz_vlcpath
,
snprintf
(
psz_tmp
,
sizeof
(
psz_tmp
),
"%s/%s"
,
libvlc
.
psz_vlcpath
,
...
...
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