aboutsummaryrefslogtreecommitdiff
path: root/nls/zh_CN
diff options
context:
space:
mode:
authorsimonb <simonb>2006-05-20 15:08:14 (GMT)
committersimonb <simonb>2006-05-20 15:08:14 (GMT)
commit0861f3a9073ccd016302af26ff992fa19331a02d (patch)
treef1a2276449a5fc9b27f2d1afa5ffff4410141345 /nls/zh_CN
parent5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff)
downloadfluxbox_pavel-0861f3a9073ccd016302af26ff992fa19331a02d.zip
fluxbox_pavel-0861f3a9073ccd016302af26ff992fa19331a02d.tar.bz2
improve native language handling, move messages and menu labels to
FbTk::FbString
Diffstat (limited to 'nls/zh_CN')
-rw-r--r--nls/zh_CN/Makefile.am42
-rw-r--r--nls/zh_CN/generated-ISO-8859-1.m260
-rw-r--r--nls/zh_CN/generated-UTF-8.m260
3 files changed, 549 insertions, 13 deletions
diff --git a/nls/zh_CN/Makefile.am b/nls/zh_CN/Makefile.am
index 8e95858..510be09 100644
--- a/nls/zh_CN/Makefile.am
+++ b/nls/zh_CN/Makefile.am
@@ -1,30 +1,46 @@
1# nls/zh_CN/Makefile.am for Fluxbox - www.fluxbox.org 1# nls/zh_CN/Makefile.am for Fluxbox - www.fluxbox.org
2 2
3THE_LANG = zh_CN 3THE_LANG = zh_CN
4SRC_CODESET = ISO-8859-1
5DEST_CODESETS = ISO-8859-1 UTF-8
4 6
5LOCALE_PATH = @LOCALE_PATH@ 7LOCALE_PATH = @LOCALE_PATH@
6NLSTEST = @NLS@ 8NLSTEST = @NLS@
7CLEANFILES = fluxbox.cat
8MAINTAINERCLEANFILES = Makefile.in
9MFILES = Translation.m 9MFILES = Translation.m
10EXTRA_DIST= $(MFILES) 10GENERATED_MFILES = $(patsubst %,generated-%.m,$(DEST_CODESETS))
11MAINTAINERCLEANFILES = Makefile.in $(GENERATED_MFILES)
12CATFILES = $(patsubst %,fluxbox-%.cat,$(DEST_CODESETS))
11 13
12all-local: fluxbox.cat 14# We distribute the generated files so that users don't need iconv
13install-data-local: fluxbox.cat 15EXTRA_DIST= $(MFILES) $(GENERATED_MFILES)
16CLEANFILES = $(CATFILES)
17
18all-local: $(CATFILES)
19install-data-local: $(CATFILES)
14 @if test x$(NLSTEST) = "x-DNLS"; then \ 20 @if test x$(NLSTEST) = "x-DNLS"; then \
15 echo "Installing catalog in $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG)"; \ 21 for codeset in $(DEST_CODESETS); do \
16 $(mkinstalldirs) $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG); \ 22 echo "Installing catalog in $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}"; \
17 $(INSTALL_DATA) fluxbox.cat $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG); \ 23 $(mkinstalldirs) $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
24 $(INSTALL_DATA) fluxbox-$${codeset}.cat $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
25 done; \
18 fi 26 fi
19 27
28# not part of the normal build process
29translations: $(GENERATED_MFILES)
30
31generated-%.m: Translation.m
32 iconv -f $(SRC_CODESET) -t $* Translation.m | sed s/$(SRC_CODESET)/$*/ > $@
33
20uninstall-local: 34uninstall-local:
21 @if test x$(NLSTEST) = "x-DNLS"; then \ 35 @if test x$(NLSTEST) = "x-DNLS"; then \
22 rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG)/fluxbox.cat; \ 36 for codeset in $(DEST_CODESETS); do \
23 rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG); \ 37 rm -f $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}/fluxbox.cat; \
38 rmdir $(DESTDIR)$(LOCALE_PATH)/$(THE_LANG).$${codeset}; \
39 done; \
24 fi 40 fi
25 41
26fluxbox.cat: Translation.m 42fluxbox-%.cat: generated-%.m Translation.m
27 @if test x$(NLSTEST) = "x-DNLS"; then \ 43 @if test x$(NLSTEST) = "x-DNLS"; then \
28 $(gencat_cmd) fluxbox.cat Translation.m; \ 44 echo "Creating catfile for $*"; \
45 $(gencat_cmd) fluxbox-$*.cat generated-$*.m; \
29 fi 46 fi
30
diff --git a/nls/zh_CN/generated-ISO-8859-1.m b/nls/zh_CN/generated-ISO-8859-1.m
new file mode 100644
index 0000000..3851aa9
--- /dev/null
+++ b/nls/zh_CN/generated-ISO-8859-1.m
@@ -0,0 +1,260 @@
1$ codeset=ISO-8859-1
2
3$set 1 #Align
4
51 下方居中
62 左下方
73 右下方
84 水平
95 靠左
106 左下方
117 左侧居中
128 左上方
139 附着
1410 右
1511 右下方
1612 右侧居中
1713 右上方
1814 上方居中
1915 左上方
2016 左上方
2117 垂直
22
23$set 2 #BaseDisplay
24
251 退出... 存储崩溃文件\n
262 关闭\n
273 %s: 捕获信号 %d\n
28
29$set 3 #Common
30
311 Alpha
322 自动隐藏
333 编译
344 编译选项
355 编译器
366 编译器版本
377 初始化
388 键绑订
399 国际化字体
4010 菜单
4111 样式
4212 默认
4313 禁用
4414 错误
4515 Fluxbox版本
4616 Maximize Over
4717 SVN发行号
4818 可见
49
50$set 4 #Configmenu
51
521 反锯齿
532 自动缩放
543 Click Raises
554 Click to Focus
565 Decorate Transient Windows
576 鼠标滑轮更换桌面
587 Focus Window on Workspace Change
598 Focus Model
609 Focus New Windows
6110 Full Maximization
6211 Image Dithering
6312 Opaque Window Moving
6414 Mouse Focus
6515 Workspace Warping
6616 Force Pseudo-Transparency
6717 Menu Alpha
6818 透明
6919 Focused Window Alpha
7020 Unfocused Window Alpha
71
72$set 5 #Ewmh
73
741 错误: 内存不足,不能分配内存给EWMH client list
75
76$set 6 #FbTkError
77
781 警告Warning! Height > 3200 setting Height = 3200
792 警告Warning! Width > 3200 setting Width = 3200
803 警告: 不能加载备用字体
814 分配出错
825 Error creating pixmap
836 Cant create XImage
847 Failed to read
858 Warning: Failed to find valid format for alpha.
869 Warning: Failed to create alpha picture.
8710 Warning: Failed to create alpha pixmap.
8811 Failed to find format for screen(%d)
8912 Out of memory
9013 Out of memory while allocating blue buffer.
9114 Out of memory while allocating green buffer.
9215 Out of memory while allocating red buffer.
9316 Failed to read theme item
9417 unsupported visual
9518 Setting default value
96
97$set 7 #Fluxbox
98
991 rc文件无效!
1002 Failed to load groupfile
1013 Failed to load database
1024 Retrying with
1035 Warning! Could not find screen to map window on!
1046 Can't create %s directory
1057 Couldn't find screens to manage.\nMake sure you don't have another window manager running.
1068 Error parsing regular expression
1079 Fatal! There can only one instance of fluxbox class.
10810 Can not connect to X server.\nMake sure you started X before you start Fluxbox.
10911 Warning: X server does not support locale
11012 Warning: cannot set locale modifiers
111
112$set 8 #Gnome
113
1141 错误: 内存不足, 无法为GNOME client list分配内存
115
116$set 9 #Keys
117
1181 Keys: Error on line
1192 Keys: Failed to merge keytree!
1203 Keys: Invalid key/modifier on line
121
122$set 10 #Menu
123
1241 配置
1252 Fluxbox默认菜单
1263 退出
1274 图标
1285 层次...
1296 On Head...
1307 替换
1318 重新加载配置文件
1329 重启动
133
134$set 11 #Remember
135
1361 Decorations
1372 Dimensions
1383 Jump to workspace
1394 层
1405 Remember...
1416 Position
1427 Save on close
1438 Shaded
1449 Sticky
14510 未知按键
14611 Workspace
14712 Head
148
149$set 12 #Screen
150
1511 BScreen::BScreen: querying the X server时发生错误.\n 另外一个窗口管理器正运行,display为
1522 W: %4d x H: %4d
1533 BScreen::BScreen: managing screen %d using visual 0x%lx, depth %d\n
154
155$set 13 #Slit
156
1571 Clients
1582 Cycle Down
1593 Cycle Up
1604 Slit Direction
1615 Slit Layer
1626 Slit on Head
1637 Slit Placement
1648 Slit
1659 Save SlitList
166
167$set 14 #Toolbar
168
1691 Edit current workspace name
1702 Iconbar Mode
1713 All Windows
1724 Icons
1735 None
1746 工作区Workspace
1757 工作区所有任务并显示图标
1768 Toolbar Layer
1779 Toolbar on Head
17810 Toolbar Placement
17911 工具栏
18012 工具栏宽度
18113 时钟采用24小时格式
18214 时钟采用12小时格式
18315 修改时间显示格式
18416 显示图片
18517 不显示图标
18618 工作区所有任务无图标
187
188$set 15 #Window
189
1901 Unnamed
191
192$set 16 #Windowmenu
193
1941 关闭
1952 最小化
1963 Layer
1974 Lower
1985 最大化
1996 Raise
2007 发送到...
2018 Shade
2029 卷起
20310 杀掉
204
205$set 17 #Workspace
206
2071 工作区 %d
2082 工作区
2093 新建工作区
2104 移出最后工作区
211
212$set 18 #fbsetroot
213
2141 错误: 必须指定:: -solid, -mod, -gradient其中的一个.\n
2152 Couldn't create pixmap atoms, giving up!
2163 -display <string> display connection\n\
217-mod <x> <y> modula pattern\n\
218-foreground, -fg <color> modula foreground color\n\
219-background, -bg <color> modula background color\n\n\
220-gradient <texture> gradient texture\n\
221-from <color> gradient start color\n\
222-to <color> gradient end color\n\n\
223-solid <color> solid color\n\n\
224-help 显示帮助信息\n
225
226$set 19 #main
227
2281 错误: '-display'需要一个参数
2292 Bad Alloc
2303 Bad cast
2314 超出显示范围
2325 运行时错误
2336 Standard Exception
2347 未知错误
2358 错误: '-log'需要一个参数
2369 日志文件
23710 记录日志到
23811 错误: '-rc'需要一个参数
23912 错误: '-screen'需要一个参数
24013 Fluxbox %s: (c) %s Henrik Kinnunen\n\
241主页: http://www.fluxbox.org/\n\n\
242-display <string>\t\t指定display连接.\n\
243-screen <all|int,int,int>\t在特定的screens上显示.\n\
244-rc <string>\t\t\t使用指定的资源文件.\n\
245-version\t\t\t显示版本号.\n\
246-info\t\t\t\t显示fluxbox相关信息.\n\
247-log <filename>\t\t\t将输出记录到文件中.\n\
248-help\t\t\t\t显示帮助信息.\n\n
24914 警告: 不能读取环境变量'DISPLAY'
250
251$set 20
252
2531 Above Dock
2542 下方
2553 桌面
2564 Dock
2575 普通模式
2586 上方
259
260
diff --git a/nls/zh_CN/generated-UTF-8.m b/nls/zh_CN/generated-UTF-8.m
new file mode 100644
index 0000000..8981622
--- /dev/null
+++ b/nls/zh_CN/generated-UTF-8.m
@@ -0,0 +1,260 @@
1$ codeset=UTF-8
2
3$set 1 #Align
4
51 下方居中
62 左下方
73 右下方
84 æ°´å¹³
95 靠左
106 左下方
117 左侧居中
128 左上方
139 附着
1410 右
1511 右下方
1612 右侧居中
1713 右上方
1814 上方居中
1915 左上方
2016 左上方
2117 垂直
22
23$set 2 #BaseDisplay
24
251 退出... 存储崩溃文件\n
262 关闭\n
273 %s: 捕获信号 %d\n
28
29$set 3 #Common
30
311 Alpha
322 自动隐藏
333 编译
344 编译选项
355 编译器
366 编译器版本
377 初始化
388 键绑订
399 国际化字体
4010 菜单
4111 样式
4212 默认
4313 禁用
4414 错误
4515 Fluxbox版本
4616 Maximize Over
4717 SVN发行号
4818 可见
49
50$set 4 #Configmenu
51
521 反锯齿
532 自动缩放
543 Click Raises
554 Click to Focus
565 Decorate Transient Windows
576 鼠标滑轮更换桌面
587 Focus Window on Workspace Change
598 Focus Model
609 Focus New Windows
6110 Full Maximization
6211 Image Dithering
6312 Opaque Window Moving
6414 Mouse Focus
6515 Workspace Warping
6616 Force Pseudo-Transparency
6717 Menu Alpha
6818 透明
6919 Focused Window Alpha
7020 Unfocused Window Alpha
71
72$set 5 #Ewmh
73
741 错误: 内存不足,不能分配内存给EWMH client list
75
76$set 6 #FbTkError
77
781 警告Warning! Height > 3200 setting Height = 3200
792 警告Warning! Width > 3200 setting Width = 3200
803 警告: 不能加载备用字体
814 分配出错
825 Error creating pixmap
836 Cant create XImage
847 Failed to read
858 Warning: Failed to find valid format for alpha.
869 Warning: Failed to create alpha picture.
8710 Warning: Failed to create alpha pixmap.
8811 Failed to find format for screen(%d)
8912 Out of memory
9013 Out of memory while allocating blue buffer.
9114 Out of memory while allocating green buffer.
9215 Out of memory while allocating red buffer.
9316 Failed to read theme item
9417 unsupported visual
9518 Setting default value
96
97$set 7 #Fluxbox
98
991 rc文件无效!
1002 Failed to load groupfile
1013 Failed to load database
1024 Retrying with
1035 Warning! Could not find screen to map window on!
1046 Can't create %s directory
1057 Couldn't find screens to manage.\nMake sure you don't have another window manager running.
1068 Error parsing regular expression
1079 Fatal! There can only one instance of fluxbox class.
10810 Can not connect to X server.\nMake sure you started X before you start Fluxbox.
10911 Warning: X server does not support locale
11012 Warning: cannot set locale modifiers
111
112$set 8 #Gnome
113
1141 错误: 内存不足, 无法为GNOME client list分配内存
115
116$set 9 #Keys
117
1181 Keys: Error on line
1192 Keys: Failed to merge keytree!
1203 Keys: Invalid key/modifier on line
121
122$set 10 #Menu
123
1241 配置
1252 Fluxbox默认菜单
1263 退出
1274 图标
1285 层次...
1296 On Head...
1307 替换
1318 重新加载配置文件
1329 重启动
133
134$set 11 #Remember
135
1361 Decorations
1372 Dimensions
1383 Jump to workspace
1394 层
1405 Remember...
1416 Position
1427 Save on close
1438 Shaded
1449 Sticky
14510 未知按键
14611 Workspace
14712 Head
148
149$set 12 #Screen
150
1511 BScreen::BScreen: querying the X server时发生错误.\n 另外一个窗口管理器正运行,display为
1522 W: %4d x H: %4d
1533 BScreen::BScreen: managing screen %d using visual 0x%lx, depth %d\n
154
155$set 13 #Slit
156
1571 Clients
1582 Cycle Down
1593 Cycle Up
1604 Slit Direction
1615 Slit Layer
1626 Slit on Head
1637 Slit Placement
1648 Slit
1659 Save SlitList
166
167$set 14 #Toolbar
168
1691 Edit current workspace name
1702 Iconbar Mode
1713 All Windows
1724 Icons
1735 None
1746 工作区Workspace
1757 工作区所有任务并显示图标
1768 Toolbar Layer
1779 Toolbar on Head
17810 Toolbar Placement
17911 工具栏
18012 工具栏宽度
18113 时钟采用24小时格式
18214 时钟采用12小时格式
18315 修改时间显示格式
18416 显示图片
18517 不显示图标
18618 工作区所有任务无图标
187
188$set 15 #Window
189
1901 Unnamed
191
192$set 16 #Windowmenu
193
1941 关闭
1952 最小化
1963 Layer
1974 Lower
1985 最大化
1996 Raise
2007 发送到...
2018 Shade
2029 卷起
20310 杀掉
204
205$set 17 #Workspace
206
2071 工作区 %d
2082 工作区
2093 新建工作区
2104 移出最后工作区
211
212$set 18 #fbsetroot
213
2141 错误: 必须指定:: -solid, -mod, -gradient其中的一个.\n
2152 Couldn't create pixmap atoms, giving up!
2163 -display <string> display connection\n\
217-mod <x> <y> modula pattern\n\
218-foreground, -fg <color> modula foreground color\n\
219-background, -bg <color> modula background color\n\n\
220-gradient <texture> gradient texture\n\
221-from <color> gradient start color\n\
222-to <color> gradient end color\n\n\
223-solid <color> solid color\n\n\
224-help 显示帮助信息\n
225
226$set 19 #main
227
2281 错误: '-display'需要一个参数
2292 Bad Alloc
2303 Bad cast
2314 超出显示范围
2325 运行时错误
2336 Standard Exception
2347 未知错误
2358 错误: '-log'需要一个参数
2369 日志文件
23710 记录日志到
23811 错误: '-rc'需要一个参数
23912 错误: '-screen'需要一个参数
24013 Fluxbox %s: (c) %s Henrik Kinnunen\n\
241主页: http://www.fluxbox.org/\n\n\
242-display <string>\t\t指定display连接.\n\
243-screen <all|int,int,int>\t在特定的screens上显示.\n\
244-rc <string>\t\t\t使用指定的资源文件.\n\
245-version\t\t\t显示版本号.\n\
246-info\t\t\t\t显示fluxbox相关信息.\n\
247-log <filename>\t\t\t将输出记录到文件中.\n\
248-help\t\t\t\t显示帮助信息.\n\n
24914 警告: 不能读取环境变量'DISPLAY'
250
251$set 20
252
2531 Above Dock
2542 下方
2553 桌面
2564 Dock
2575 普通模式
2586 上方
259
260