Skip to content

Commit 4124234

Browse files
committed
New translations.
Latin UTF-8 has been added. Swedish UTF-8 has been added. French translation directory path fixed.
1 parent 357a201 commit 4124234

File tree

742 files changed

+97399
-245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

742 files changed

+97399
-245
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

bin/cleanup.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/ksh
2+
3+
newlang=$1.UTF-8
4+
5+
ls -l $newlang/msg/*.cat
6+
for i in Dt Dtbuilder Dtcalc Dtcm Dtcreate Dtfile Dthello Dthelpview; do
7+
ls -l $newlang/app-defaults/$i
8+
done
9+
for i in Dticon Dtimsstart Dtinfo Dtlogin Dtmail Dtpad Dtscreen; do
10+
ls -l $newlang/app-defaults/$i
11+
done
12+
for i in Dtsession Dtstyle Dtterm Dtudcfonted Dtwm; do
13+
ls -l $newlang/app-defaults/$i
14+
done
15+
16+
ls -l $newlang/types/*.dt
17+
ls -l $newlang/types/*.fp
18+
ls -l $newlang/palettes/desc.$newlang
19+
ls -l $newlang/backdrops/desc.$newlang
20+
ls -l $newlang/config/sys.*
21+

bin/cleanup.sh~

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/ksh
2+
3+
newlang=$1.UTF-8
4+
5+
rm $newlang/msg/*.cat
6+
for i in Dt Dtbuilder Dtcalc Dtcm Dtcreate Dtfile Dthello Dthelpview; do
7+
ls -l $newlang/app-defaults/$i
8+
done
9+
for i in Dticon Dtimsstart Dtinfo Dtlogin Dtmail Dtpad Dtscreen; do
10+
ls -l $newlang/app-defaults/$i
11+
done
12+
for i in Dtsession Dtstyle Dtterm Dtudcfonted Dtwm; do
13+
ls -l $newlang/app-defaults/$i
14+
done
15+
16+
ls -l $newlang/types/*.dt
17+
ls -l $newlang/types/*.fp
18+
ls -l $newlang/palettes/desc.$newlang
19+
ls -l $newlang/backdrops/desc.$newlang
20+
ls -l $newlang/config/sys.*
21+

bin/convert.sh

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
cd $1.UTF-8/msg
3+
4+
for i in *.msg; do
5+
iconv -f ISO_8859-1 -t UTF-8 $i > utf8temp
6+
mv utf8temp $i
7+
done
8+
9+
cd ../app-defaults
10+
11+
for i in *.tmsg; do
12+
iconv -f ISO_8859-1 -t UTF-8 $i > utf8temp
13+
mv utf8temp $i
14+
done
15+
16+
cd ../backdrops
17+
18+
for i in *.tmsg; do
19+
iconv -f ISO_8859-1 -t UTF-8 $i > utf8temp
20+
mv utf8temp $i
21+
done
22+
23+
cd ../config
24+
25+
for i in *.tmsg; do
26+
iconv -f ISO_8859-1 -t UTF-8 $i > utf8temp
27+
mv utf8temp $i
28+
done
29+
30+
cd ../palettes
31+
for i in *.tmsg; do
32+
iconv -f ISO_8859-1 -t UTF-8 $i > utf8temp
33+
mv utf8temp $i
34+
done
35+
36+
cd ../types
37+
for i in *.tmsg; do
38+
iconv -f ISO_8859-1 -t UTF-8 $i > utf8temp
39+
mv utf8temp $i
40+
done
41+
42+
cd ../..
43+
44+
echo 'Conversion of' $1 ' to UTF-8 finished'
File renamed without changes.

bin/converter.sh~

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CDEROOT=$HOME/software/cdesktopenv-code/cde
2+
for i in $CDEROOT/programs/localized/*.ISO-8859-1 ; do
3+
echo $i
4+
done

bin/genfiles.sh

+9-8
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,36 @@
22

33
# Change the CDEROOT definition as needed
44
CDEROOT=$HOME/software/cdesktopenv/cde
5-
MERGE=$CDEROOT/programs/localized/util/merge
5+
#MERGE=$CDEROOT/programs/localized/util/merge
6+
MERGE=$HOME/bin/merge
67
echo $MERGE
78

89
# First, we generate the type definitions
910
cd $1.UTF-8/types
1011
for i in *.dt.nls; do
11-
$MERGE -lang $1.UTF-8 <$i _common.dt.tmsg >`basename $i .nls`;
12+
$MERGE -lang fr_FR.UTF-8 <$i _common.dt.tmsg >`basename $i .nls`;
1213
done
1314
# Then, we define actions and front panel
14-
$MERGE -lang $1.UTF-8 <action.nls action.tmsg > action.dt
15-
$MERGE -lang $1.UTF-8 <dtwm.fp.nls dtwm.fp.tmsg > dtwm.fp
15+
$MERGE -lang fr_FR.UTF-8 <action.nls action.tmsg > action.dt
16+
$MERGE -lang fr_FR.UTF-8 <dtwm.fp.nls dtwm.fp.tmsg > dtwm.fp
1617

1718
# Now, we turn to application defaults
1819
cd ../app-defaults
1920

2021
for i in *.tmsg; do
21-
$MERGE -lang $1.UTF-8 < `basename $i .tmsg`.nls $i> `basename $i .tmsg`;
22+
$MERGE -lang fr_FR.UTF-8 < `basename $i .tmsg`.nls $i> `basename $i .tmsg`;
2223
done
2324

2425
cd ../config
2526
for i in *.tmsg; do
26-
$MERGE -lang $1.UTF-8 < `basename $i .tmsg`.nls $i> `basename $i .tmsg`;
27+
$MERGE -lang fr_FR.UTF-8 < `basename $i .tmsg`.nls $i> `basename $i .tmsg`;
2728
done
2829

2930
# Finally, backdrops and palettes
3031
cd ../backdrops
31-
$MERGE -lang $1.UTF-8 <Backdrops.nls Backdrops.tmsg > desc.$1.UTF-8
32+
$MERGE -lang fr_FR.UTF-8 <Backdrops.nls Backdrops.tmsg > desc.fr_FR.UTF-8
3233
cd ../palettes
33-
$MERGE -lang $1.UTF-8 <Palettes.nls Palettes.tmsg > desc.$1.UTF-8
34+
$MERGE -lang fr_FR.UTF-8 <Palettes.nls Palettes.tmsg > desc.fr_FR.UTF-8
3435

3536
# We are done with the 'merge' command. We turn to the 'gencat' to create
3637
# a message catalog. We use the system gencat rather than the CDE gencat.

bin/genfiles.sh~

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/sh
2+
# generates .cat files from a set of .msg files
3+
# Change the CDEROOT definition as needed
4+
CDEROOT=$HOME/software/cdesktopenv/cde
5+
MERGE=$CDEROOT/programs/localized/util/merge
6+
echo $MERGE
7+
cd $1.UTF-8/types
8+
for i in *.dt.nls; do
9+
$MERGE -lang $1.UTF-8 <$i _common.dt.tmsg >`basename $i .nls`;
10+
# echo `basename $i .msg`.cat $i;
11+
done
12+
$MERGE -lang $1.UTF-8 <action.nls action.tmsg > action.dt
13+
$MERGE -lang $1.UTF-8 <dtwm.fp.nls dtwm.fp.tmsg > dtwm.fp
14+
15+
cd ../..

bin/install.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/ksh -f
2+
3+
cd $1.UTF-8/msg/
4+
mkdir /usr/dt/lib/nls/msg/$1.UTF-8
5+
cp *.cat /usr/dt/lib/nls/msg/$1.UTF-8
6+
cd ../app-defaults
7+
mkdir /usr/dt/app-defaults/$1.UTF-8
8+
cp Dt Dtbuilder Dtcalc Dtcm Dtcreate Dtfile Dthello Dthelpview /usr/dt/app-defaults/$1.UTF-8
9+
cp Dticon Dtimsstart Dtinfo Dtlogin Dtmail Dtpad Dtscreen /usr/dt/app-defaults/$1.UTF-8
10+
cp Dtsession Dtstyle Dtterm Dtudcfonted Dtwm /usr/dt/app-defaults/$1.UTF-8
11+
cd ../types
12+
mkdir /etc/dt/appconfig/types/$1.UTF-8
13+
cp *.dt /etc/dt/appconfig/types/$1.UTF-8
14+
cp dtwm.fp /etc/dt/appconfig/types/$1.UTF-8
15+
cd ../config
16+
mkdir /etc/dt/config/$1.UTF-8
17+
cp sys.* /etc/dt/config/$1.UTF-8
18+
cd ../palettes
19+
cp desc.$1.UTF-8 /etc/dt/palettes
20+
cd ../backdrops
21+
cp desc.$1.UTF-8 /etc/dt/backdrops

bin/package.sh

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/usr/bin/ksh -f
2+
3+
newlang=$1.UTF-8
4+
cd $newlang/msg/
5+
mkdirhier ../../usr/dt/lib/nls/msg/$newlang
6+
cp *.cat ../../usr/dt/lib/nls/msg/$newlang
7+
cd ../app-defaults
8+
mkdirhier ../../usr/dt/app-defaults/$newlang
9+
cp Dt Dtbuilder Dtcalc Dtcm Dtcreate Dtfile Dthello Dthelpview ../../usr/dt/app-defaults/$newlang
10+
cp Dticon Dtimsstart Dtinfo Dtlogin Dtmail Dtpad Dtscreen ../../usr/dt/app-defaults/$newlang
11+
cp Dtsession Dtstyle Dtterm Dtudcfonted Dtwm ../../usr/dt/app-defaults/$newlang
12+
cd ../types
13+
mkdirhier ../../etc/dt/appconfig/types/$newlang
14+
cp *.dt ../../etc/dt/appconfig/types/$newlang
15+
cp dtwm.fp ../../etc/dt/appconfig/types/$newlang
16+
cd ../config
17+
mkdirhier ../../etc/dt/config/$newlang
18+
cp sys.* ../../etc/dt/config/$newlang
19+
cd ../palettes
20+
cp desc.$newlang ../../etc/dt/palettes
21+
cd ../backdrops
22+
cp desc.$newlang ../../etc/dt/backdrops
23+
24+
cd ../../
25+
tar czvf $newlang.tar.gz usr/ etc/
26+

bin/package.sh~

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/ksh -f
2+
3+
cd $1.UTF-8/msg/
4+
mkdir /usr/dt/lib/nls/msg/$1.UTF-8
5+
cp *.cat /usr/dt/lib/nls/msg/$1.UTF-8
6+
cd ../app-defaults
7+
mkdir /usr/dt/app-defaults/$1.UTF-8
8+
cp Dt Dtbuilder Dtcalc Dtcm Dtcreate Dtfile Dthello Dthelpview /usr/dt/app-defaults/$1.UTF-8
9+
cp Dticon Dtimsstart Dtinfo Dtlogin Dtmail Dtpad Dtscreen /usr/dt/app-defaults/$1.UTF-8
10+
cp Dtsession Dtstyle Dtterm Dtudcfonted Dtwm /usr/dt/app-defaults/$1.UTF-8
11+
cd ../types
12+
mkdir /etc/dt/appconfig/types/$1.UTF-8
13+
cp *.dt /etc/dt/appconfig/types/$1.UTF-8
14+
cp dtwm.fp /etc/dt/appconfig/types/$1.UTF-8
15+
cd ../config
16+
mkdir /etc/dt/config/$1.UTF-8
17+
cp sys.* /etc/dt/config/$1.UTF-8
18+
cd ../palettes
19+
cp desc.$1.UTF-8 /etc/dt/palettes
20+
cd ../backdrops
21+
cp desc.$1.UTF-8 /etc/dt/backdrops
File renamed without changes.

bin/typegen.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
# generates .cat files from a set of .msg files
3+
for i in *.dt.nls; do
4+
~/bin/merge -lang fr_FR.UTF-8 <$i _common.dt.tmsg >`basename $i .nls`;
5+
# echo `basename $i .msg`.cat $i;
6+
done
7+
~/bin/merge -lang fr_FR.UTF-8 <action.nls action.tmsg > action.dt
8+
~/bin/merge -lang fr_FR.UTF-8 <dtwm.fp.nls dtwm.fp.tmsg > dtwm.fp
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)