mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
i18n package names are suffixed with the major release, to allow parallel (normal) installation; the bundle names need to reflect this
git-svn-id: svn://localhost/ardour2/branches/3.0@13969 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7a4ab98f89
commit
2caf789125
1 changed files with 14 additions and 5 deletions
|
|
@ -241,12 +241,21 @@ if test x$WITH_NLS != x ; then
|
||||||
echo "I hope you remembered to run scons msgupdate!"
|
echo "I hope you remembered to run scons msgupdate!"
|
||||||
LINGUAS=
|
LINGUAS=
|
||||||
|
|
||||||
for dl in gtk2_ardour libs/ardour libs/gtkmm2ext ; do
|
for pkg in gtk2_ardour libs/ardour libs/gtkmm2ext ; do
|
||||||
files=`find ../../$dl -name "*.mo"`
|
files=`find ../../$pkg -name "*.mo"`
|
||||||
|
|
||||||
|
#
|
||||||
|
# the package name is appended with a number so that
|
||||||
|
# it can be parallel installed during a regular install
|
||||||
|
# with older (and newer) versions. it is just the major
|
||||||
|
# number of the release (i.e. leading digits)
|
||||||
|
#
|
||||||
|
|
||||||
|
vsuffix=`echo $release_version | sed 's/^\([0-9][0-9]*\).*/\1/'`
|
||||||
|
|
||||||
if [ -z "$files" ]; then
|
if [ -z "$files" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "!!!! WARNING !!!! - Did not find any .mo files in ../../$dl"
|
echo "!!!! WARNING !!!! - Did not find any .mo files in ../../$pkg"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -255,8 +264,8 @@ if test x$WITH_NLS != x ; then
|
||||||
echo $file
|
echo $file
|
||||||
lang=`basename $file | sed 's/\.mo//'`
|
lang=`basename $file | sed 's/\.mo//'`
|
||||||
mkdir -p $Locale/$lang/LC_MESSAGES
|
mkdir -p $Locale/$lang/LC_MESSAGES
|
||||||
cp $file $Locale/$lang/LC_MESSAGES/`basename $file`
|
cp $file $Locale/$lang/LC_MESSAGES/`basename $pkg`$vsuffix
|
||||||
echo Copying message catalog for $lang into $Locale/$lang/LC_MESSAGES/`basename $file`
|
echo copy $file to $Locale/$lang/LC_MESSAGES/`basename $pkg`$vsuffix
|
||||||
if echo $LINGUAS | grep $lang >/dev/null 2>&1 ; then
|
if echo $LINGUAS | grep $lang >/dev/null 2>&1 ; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue