added translations for zh_TW

This commit is contained in:
markt 2007-11-22 05:58:24 +00:00
parent cdfafcaa4e
commit 3705d46b64
6 changed files with 581 additions and 1 deletions

View file

@ -1,6 +1,7 @@
(Format: Year/Month/Day)
Changes for 1.0.1:
*07/11/22:
* Added translations for zh_TW (thanks Wei-Lun Chao)
* Fix division by 0 error when resize increments are set to 0 by an
application, bug #1836182
WinClient.cc

View file

@ -688,4 +688,5 @@ nls/tr_TR/Makefile
nls/uk_UA/Makefile
nls/vi_VN/Makefile
nls/zh_CN/Makefile
nls/zh_TW/Makefile
)

View file

@ -6,7 +6,7 @@ SUBDIRS = C cs_CZ da_DK es_AR es_ES et_EE fr_FR pt_BR ru_RU \
sv_SE tr_TR it_IT pt_PT bg_BG ja_JP ko_KR \
lv_LV de_DE nl_NL no_NO sl_SI pl_PL vi_VN be_BY \
uk_UA el_GR nb_NO zh_CN fi_FI en_US en_GB de_CH \
de_AT fr_CH sk_SK
de_AT fr_CH sk_SK zh_TW
MAINTAINERCLEANFILES = Makefile.in fluxbox-nls.hh
EXTRA_DIST=fluxbox-nls.hh nlsinfo

46
nls/zh_TW/Makefile.am Normal file
View file

@ -0,0 +1,46 @@
# nls/zh_TW/Makefile.am for Fluxbox - www.fluxbox.org
THE_LANG = zh_TW
SRC_CODESET = UTF-8
DEST_CODESETS = UTF-8
LOCALE_PATH = @LOCALE_PATH@
NLSTEST = @NLS@
MFILES = Translation.m
GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
# We distribute the generated files so that users don't need iconv
EXTRA_DIST= $(MFILES) $(GENERATED_MFILES)
CLEANFILES = $(CATFILES)
all-local: $(CATFILES)
install-data-local: $(CATFILES)
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
echo "Installing catalog in $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}"; \
$(mkinstalldirs) $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
$(INSTALL_DATA) fluxbox-$${codeset}.cat $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
done; \
fi
# not part of the normal build process
translations: $(GENERATED_MFILES)
generated-%.m: Translation.m
iconv -f $(SRC_CODESET) -t $* Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
uninstall-local:
@if test x$(NLSTEST) = "x-DNLS"; then \
for codeset in $(DEST_CODESETS); do \
rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
done; \
fi
fluxbox-%.cat: generated-%.m Translation.m
@if test x$(NLSTEST) = "x-DNLS"; then \
echo "Creating catfile for $*"; \
$(gencat_cmd) fluxbox-$*.cat generated-$*.m; \
fi

266
nls/zh_TW/Translation.m Normal file
View file

@ -0,0 +1,266 @@
$ codeset=UTF-8
$set 1 #Align
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$set 2 #BaseDisplay
1 \n
2 \n
3 %s %d\n
$set 3 #Common
1 (Alpha)
2
3
4
5
6
7 init
8 keys
9 nls
10 menu
11 style
12
13
14
15 Fluxbox
16
17 SVN
18
19 \n FAQ
$set 4 #Configmenu
1
2
3
4
5
6
7
8
9
10
11
12
14
15
16
17
18
19
20
21
22
23
24
25
$set 5 #Ewmh
1 EWMH
$set 6 #FbTkError
1 >3200, =3200
2 >3200, =3200
3
4
5
6 XImage
7
8
9
10
11 (%d)
12
13
14
15
16
17
18
$set 7 #Fluxbox
1 rc
2 groupfile
3 database
4
5
6 %s
7 \n
8
9 fluxbox
10 X \n Fluxbox X
11 X
12
$set 8 #Gnome
1 GNOME
$set 9 #Keys
1
2 keytree
3
$set 10 #Menu
1
2 Fluxbox
3
4
5
6
7
8
9
10 []
$set 11 #Remember
1
2
3
4
5
6
7
8
9
10
11
12
$set 12 #Screen
1 BScreen::BScreen X \n
2 W: %4d x H: %4d
3 BScreen::BScreen %d 使 0x%lx %d\n
4 W: %04d x H: %04d
$set 13 #Slit
1
2
3
4
5
6
7
8
9
$set 14 #Toolbar
1
2
3
4
5
6
7
8
9
10
11
12
13 24
14 12
15
16
17
18
$set 15 #Window
1
$set 16 #Windowmenu
1
2
3
4
5
6
7
8
9
10
$set 17 #Workspace
1 %d
2
3
4
$set 18 #fbsetroot
1 -solid-mod-gradient\n
2
3 -display <string> \n\
-mod <x> <y> \n\
-foreground, -fg <color> \n\
-background, -bg <color> \n\n\
-gradient <texture> \n\
-from <color> \n\
-to <color> \n\n\
-solid <color> \n\n\
-help \n
$set 19 #main
1 -display
2
3
4
5
6
7
8 -log
9
10
11 -rc
12 -screen
13 Fluxbox %s(c) %s Henrik Kinnunen\n\
http://www.fluxbox.org/\n\n\
-display <string>\t\t使\n\
-screen <all|int,int,int>\t\n\
-rc <string>\t\t\t使\n\
-version\t\t\t\n\
-info\t\t\t\t\n\
-log <filename>\t\t\t\n\
-help\t\t\t\t\n\n
14 DISPLAY
$set 20 #layers
1
2
3
4
5
6

266
nls/zh_TW/generated-UTF-8.m Normal file
View file

@ -0,0 +1,266 @@
$ codeset=UTF-8
$set 1 #Align
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$set 2 #BaseDisplay
1 \n
2 \n
3 %s %d\n
$set 3 #Common
1 (Alpha)
2
3
4
5
6
7 init
8 keys
9 nls
10 menu
11 style
12
13
14
15 Fluxbox
16
17 SVN
18
19 \n FAQ
$set 4 #Configmenu
1
2
3
4
5
6
7
8
9
10
11
12
14
15
16
17
18
19
20
21
22
23
24
25
$set 5 #Ewmh
1 EWMH
$set 6 #FbTkError
1 >3200, =3200
2 >3200, =3200
3
4
5
6 XImage
7
8
9
10
11 (%d)
12
13
14
15
16
17
18
$set 7 #Fluxbox
1 rc
2 groupfile
3 database
4
5
6 %s
7 \n
8
9 fluxbox
10 X \n Fluxbox X
11 X
12
$set 8 #Gnome
1 GNOME
$set 9 #Keys
1
2 keytree
3
$set 10 #Menu
1
2 Fluxbox
3
4
5
6
7
8
9
10 []
$set 11 #Remember
1
2
3
4
5
6
7
8
9
10
11
12
$set 12 #Screen
1 BScreen::BScreen X \n
2 W: %4d x H: %4d
3 BScreen::BScreen %d 使 0x%lx %d\n
4 W: %04d x H: %04d
$set 13 #Slit
1
2
3
4
5
6
7
8
9
$set 14 #Toolbar
1
2
3
4
5
6
7
8
9
10
11
12
13 24
14 12
15
16
17
18
$set 15 #Window
1
$set 16 #Windowmenu
1
2
3
4
5
6
7
8
9
10
$set 17 #Workspace
1 %d
2
3
4
$set 18 #fbsetroot
1 -solid-mod-gradient\n
2
3 -display <string> \n\
-mod <x> <y> \n\
-foreground, -fg <color> \n\
-background, -bg <color> \n\n\
-gradient <texture> \n\
-from <color> \n\
-to <color> \n\n\
-solid <color> \n\n\
-help \n
$set 19 #main
1 -display
2
3
4
5
6
7
8 -log
9
10
11 -rc
12 -screen
13 Fluxbox %s(c) %s Henrik Kinnunen\n\
http://www.fluxbox.org/\n\n\
-display <string>\t\t使\n\
-screen <all|int,int,int>\t\n\
-rc <string>\t\t\t使\n\
-version\t\t\t\n\
-info\t\t\t\t\n\
-log <filename>\t\t\t\n\
-help\t\t\t\t\n\n
14 DISPLAY
$set 20 #layers
1
2
3
4
5
6