Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d8421cc7
Commit
d8421cc7
authored
Jul 28, 2008
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install the translations in share on win32 and MacOSX
parent
495380d8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
Makefile.am
Makefile.am
+10
-10
src/libvlc.c
src/libvlc.c
+2
-2
No files found.
Makefile.am
View file @
d8421cc7
...
...
@@ -337,9 +337,9 @@ vlc-bundle: vlc
done
;
\
fi
cat
$(top_srcdir)
/po/LINGUAS |
while
read
i
;
do
\
mkdir
-p
"
$(top_builddir)
/vlc-bundle/locale/
$$
i/LC_MESSAGES"
;
\
mkdir
-p
"
$(top_builddir)
/vlc-bundle/
share/
locale/
$$
i/LC_MESSAGES"
;
\
cp
"
$(top_builddir)
/po/
$$
i.gmo"
\
"
$(top_builddir)
/vlc-bundle/locale/
$$
i/LC_MESSAGES/vlc.mo"
||
true
;
\
"
$(top_builddir)
/vlc-bundle/
share/
locale/
$$
i/LC_MESSAGES/vlc.mo"
||
true
;
\
done
find
$(top_builddir)
/vlc-bundle
-type
f
-exec
mimeset
-f
"{}"
\;
endif
...
...
@@ -540,9 +540,9 @@ VLC-release.app: vlc
$(INSTALL)
-m
644
$
${i}
$(top_builddir)
/VLC-release.app/Contents/MacOS/share/http/requests/
`
basename
$
${i}
`
;
\
done
$(INSTALL)
-m
644
$(srcdir)
/share/http/requests/readme
$(top_builddir)
/VLC-release.app/Contents/MacOS/share/http/requests/readme.txt
$(INSTALL)
-d
$(top_builddir)
/VLC-release.app/Contents/MacOS/locale
$(INSTALL)
-d
$(top_builddir)
/VLC-release.app/Contents/MacOS/
share/
locale
cat
$(top_srcdir)
/po/LINGUAS |
while
read
i
;
do
\
mkdir
-p
$(top_builddir)
/VLC-release.app/Contents/MacOS/locale/
$
${i}
/LC_MESSAGES
;
\
mkdir
-p
$(top_builddir)
/VLC-release.app/Contents/MacOS/
share/
locale/
$
${i}
/LC_MESSAGES
;
\
cp
$(srcdir)
/po/
$
${i}
.gmo
$(top_builddir)
/VLC-release.app/Contents/MacOS/locale/
$
${i}
/LC_MESSAGES/vlc.mo
||
true
;
\
mkdir
-p
$(top_builddir)
/VLC-release.app/Contents/Resources/
$
${i}
.lproj
;
\
ln
-sf
../English.lproj/InfoPlist.strings
\
...
...
@@ -639,10 +639,10 @@ VLC.app: vlc
"
$(top_builddir)
/VLC.app/Contents/MacOS/modules"
;
\
fi
;
done
&&
\
ln
-sfn
`
pwd
`
/
$(srcdir)
/share
$(top_builddir)
/VLC.app/Contents/MacOS/
$(INSTALL)
-d
$(top_builddir)
/VLC.app/Contents/MacOS/locale
$(INSTALL)
-d
$(top_builddir)
/VLC.app/Contents/MacOS/
share/
locale
cat
$(top_srcdir)
/po/LINGUAS |
while
read
i
;
do
\
mkdir
-p
$(top_builddir)
/VLC.app/Contents/MacOS/locale/
$
${i}
/LC_MESSAGES
;
\
ln
-sfn
`
pwd
`
/
$(srcdir)
/po/
$
${i}
.gmo
$(top_builddir)
/VLC.app/Contents/MacOS/locale/
$
${i}
/LC_MESSAGES/vlc.mo
||
true
;
\
mkdir
-p
$(top_builddir)
/VLC.app/Contents/MacOS/
share/
locale/
$
${i}
/LC_MESSAGES
;
\
ln
-sfn
`
pwd
`
/
$(srcdir)
/po/
$
${i}
.gmo
$(top_builddir)
/VLC.app/Contents/MacOS/
share/
locale/
$
${i}
/LC_MESSAGES/vlc.mo
||
true
;
\
mkdir
-p
$(top_builddir)
/VLC.app/Contents/Resources/
$
${i}
.lproj
;
\
ln
-sf
../English.lproj/InfoPlist.strings
\
$(top_builddir)
/VLC.app/Contents/Resources/
$
${i}
.lproj
;
\
...
...
@@ -687,11 +687,11 @@ package-win-common:
cp
$(srcdir)/share/vlc48x48.ico
$(top_builddir)/vlc-$(VERSION)/
# Copy the locales
mkdir
-p
$(top_builddir)/vlc-$(VERSION)/locale
mkdir
-p
$(top_builddir)/vlc-$(VERSION)/
share/
locale
cat
$(top_srcdir)/po/LINGUAS
|
while
read
i;
do
\
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/locale/$${i}/LC_MESSAGES"
;
\
mkdir
-p
"$(top_builddir)/vlc-$(VERSION)/
share/
locale/$${i}/LC_MESSAGES"
;
\
cp
"$(srcdir)/po/$${i}.gmo"
\
"$(top_builddir)/vlc-$(VERSION)/locale/$${i}/LC_MESSAGES/vlc.mo"
\
"$(top_builddir)/vlc-$(VERSION)/
share/
locale/$${i}/LC_MESSAGES/vlc.mo"
\
||
true
;
\
done
...
...
src/libvlc.c
View file @
d8421cc7
...
...
@@ -1232,8 +1232,8 @@ static inline int LoadMessages (void)
static
const
char
psz_path
[]
=
LOCALEDIR
;
#else
char
psz_path
[
1024
];
if
(
snprintf
(
psz_path
,
sizeof
(
psz_path
),
"%s
/
%s"
,
vlc_global
()
->
psz_vlcpath
,
"locale"
)
if
(
snprintf
(
psz_path
,
sizeof
(
psz_path
),
"%s
"
DIR_SEP
"
%s"
,
config_GetDataDir
()
,
"locale"
)
>=
(
int
)
sizeof
(
psz_path
))
return
-
1
;
...
...
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