Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ EXTRA_DIST = config-h.bc Makefile.bc edlin.htm edlin.tgt edlin.wpj \
msgs-da.h msgs-de.h msgs-en.h msgs-eo.h msgs-es.h msgs-eu.h \
msgs-fi.h msgs-fr.h msgs-is.h msgs-it.h msgs-la.h \
msgs-nl.h msgs-no.h msgs-pl.h msgs-pt.h msgs-sv.h msgs-de2.h \
msgs-ja.h msgs-tr.h edlin-ja.htm edlin-ja.txt \
msgs-ja.h msgs-tr.h msgs-zh_hans.h edlin-ja.htm edlin-ja.txt \
catgets.c kitten.c kitten.h nl_types.h \
malloc.c realloc.c kitten msgscats.h config-h.ow \
kit2msgs.c ow.bat
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ EXTRA_DIST = config-h.bc Makefile.bc edlin.htm edlin.tgt edlin.wpj \
msgs-da.h msgs-de.h msgs-en.h msgs-eo.h msgs-es.h msgs-eu.h \
msgs-fi.h msgs-fr.h msgs-is.h msgs-it.h msgs-la.h \
msgs-nl.h msgs-no.h msgs-pl.h msgs-pt.h msgs-sv.h msgs-de2.h \
msgs-ja.h msgs-tr.h edlin-ja.htm edlin-ja.txt \
msgs-ja.h msgs-tr.h msgs-zh_hans.h edlin-ja.htm edlin-ja.txt \
catgets.c kitten.c kitten.h nl_types.h \
malloc.c realloc.c kitten msgscats.h config-h.ow \
kit2msgs.c ow.bat
Expand Down
56 changes: 56 additions & 0 deletions kitten/edlin.zh_hans
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# edlin.zh_hans - Simplified Chinese-language messages file
# edlin.zh_hans - 简体中文语言消息文件
#
# Author: 方而静
#
# DESCRIPTION:
#
# This file contains #defines for all the message strings in edlin.
# For internationalization fun, just translate the messages in this
# file.
#
# 说明:
#
# 本文将包含 Edlin 宏定义的全部消息字符串。
# 支持 i18n 只需翻译本文中的消息。

1.0:Yy
1.1:\040:\040
1.2:确认?\040
1.3:输入错误
1.4:%s:已读取 %lu 行\n
1.5:%s:已读取 %lu 行\n
1.6:%s:已写入 %lu 行\n
1.7:%s:已写入 %lu 行\n
1.8:%lu:%c%s\n
1.9:请按下 [回车键] 以继续
1.10:%lu:\040
1.11:未找到
1.12:%lu: %s\n
1.13:\nEdlin 可使用如下指令:\n
1.14:# 修改某一行 [#],[#],#m 移动
1.15:a 追加一行 [#][,#]p 显示一页
1.16:[#],[#],#,[#]c 复制 q 退出
1.17:[#][,#]d 删除 [#][,#][?]r$,$ 替换
1.18:e<> 结束(写入并退出) [#][,#][?]s$ 查找
1.19:[#]i 插入 [#]t<> 移动
1.20:[#][,#]l 显示 [#]w<> 写入\n
1.21:其中上面的 $ 代表一个字符串,<> 代表一个文件名,
1.22:# 代表一个行号(可为 . 表示当前行,$ 表示下一行,
1.23:或一个数 + 或 - 另一个数)。
1.24:, 版权所有 (c) 2003 Gregory Pietsch
1.25:本程序不附带任何保证。
1.26:Edlin 是自由软件,你可以重新分发它,
1.27:但是你要遵守 GNU 通用公共许可 2.0
1.28:或其后续版本中的条款。
1.29:------------------------------------------------------------\n
1.30:内存不足
1.31:字符串长度错误
1.32:字符串位置错误
1.33:无效的指令,输入 ? 查看帮助信息。
1.34:缺少文件名
1.35:缓冲区过长
1.36:非法的缓冲区位置
1.37:错误:%s\n

# END OF FILE
62 changes: 62 additions & 0 deletions msgs-zh_hans.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/* edlin.zh_hans - Simplified Chinese-language messages file */
/* edlin.zh_hans - 简体中文语言消息文件 */
/* */
/* Author: 方而静 */
/* */
/* DESCRIPTION: */
/* */
/* This file contains #defines for all the message strings in edlin. */
/* For internationalization fun, just translate the messages in this */
/* file. */
/* */
/* 说明: */
/* */
/* 本文将包含 Edlin 宏定义的全部消息字符串。 */
/* 支持 i18n 只需翻译本文中的消息。 */

#ifndef MSGS_H
#define MSGS_H

#define YES "Yy"
#define G00001 "\040:\040"
#define G00002 "\347\241\256\350\256\244\357\274\237\040"
#define G00003 "\350\276\223\345\205\245\351\224\231\350\257\257"
#define G00004 "%s\357\274\232\345\267\262\350\257\273\345\217\226 %lu \350\241\214\n"
#define G00005 "%s\357\274\232\345\267\262\350\257\273\345\217\226 %lu \350\241\214\n"
#define G00006 "%s\357\274\232\345\267\262\345\206\231\345\205\245 %lu \350\241\214\n"
#define G00007 "%s\357\274\232\345\267\262\345\206\231\345\205\245 %lu \350\241\214\n"
#define G00008 "%lu:%c%s\n"
#define G00009 "\350\257\267\346\214\211\344\270\213 [\345\233\236\350\275\246\351\224\256] \344\273\245\347\273\247\347\273\255"
#define G00010 "%lu:\040"
#define G00011 "\346\234\252\346\211\276\345\210\260"
#define G00012 "%lu: %s\n"
#define G00013 "\nEdlin \345\217\257\344\275\277\347\224\250\345\246\202\344\270\213\346\214\207\344\273\244\357\274\232\n"
#define G00014 "# \344\277\256\346\224\271\346\237\220\344\270\200\350\241\214 [#],[#],#m \347\247\273\345\212\250"
#define G00015 "a \350\277\275\345\212\240\344\270\200\350\241\214 [#][,#]p \346\230\276\347\244\272\344\270\200\351\241\265"
#define G00016 "[#],[#],#,[#]c \345\244\215\345\210\266 q \351\200\200\345\207\272"
#define G00017 "[#][,#]d \345\210\240\351\231\244 [#][,#][?]r$,$ \346\233\277\346\215\242"
#define G00018 "e<> \347\273\223\346\235\237\357\274\210\345\206\231\345\205\245\345\271\266\351\200\200\345\207\272\357\274\211 [#][,#][?]s$ \346\237\245\346\211\276"
#define G00019 "[#]i \346\217\222\345\205\245 [#]t<> \347\247\273\345\212\250"
#define G00020 "[#][,#]l \346\230\276\347\244\272 [#]w<> \345\206\231\345\205\245\n"
#define G00021 "\345\205\266\344\270\255\344\270\212\351\235\242\347\232\204 $ \344\273\243\350\241\250\344\270\200\344\270\252\345\255\227\347\254\246\344\270\262\357\274\214<> \344\273\243\350\241\250\344\270\200\344\270\252\346\226\207\344\273\266\345\220\215\357\274\214"
#define G00022 "# \344\273\243\350\241\250\344\270\200\344\270\252\350\241\214\345\217\267\357\274\210\345\217\257\344\270\272 . \350\241\250\347\244\272\345\275\223\345\211\215\350\241\214\357\274\214$ \350\241\250\347\244\272\344\270\213\344\270\200\350\241\214\357\274\214"
#define G00023 "\346\210\226\344\270\200\344\270\252\346\225\260 + \346\210\226 - \345\217\246\344\270\200\344\270\252\346\225\260\357\274\211\343\200\202"
#define G00024 ", \347\211\210\346\235\203\346\211\200\346\234\211 (c) 2003 Gregory Pietsch"
#define G00025 "\346\234\254\347\250\213\345\272\217\344\270\215\351\231\204\345\270\246\344\273\273\344\275\225\344\277\235\350\257\201\343\200\202"
#define G00026 "Edlin \346\230\257\350\207\252\347\224\261\350\275\257\344\273\266\357\274\214\344\275\240\345\217\257\344\273\245\351\207\215\346\226\260\345\210\206\345\217\221\345\256\203\357\274\214"
#define G00027 "\344\275\206\346\230\257\344\275\240\350\246\201\351\201\265\345\256\210 GNU \351\200\232\347\224\250\345\205\254\345\205\261\350\256\270\345\217\257 2.0"
#define G00028 "\346\210\226\345\205\266\345\220\216\347\273\255\347\211\210\346\234\254\344\270\255\347\232\204\346\235\241\346\254\276\343\200\202"
#define G00029 "------------------------------------------------------------\n"
#define G00030 "\345\206\205\345\255\230\344\270\215\350\266\263"
#define G00031 "\345\255\227\347\254\246\344\270\262\351\225\277\345\272\246\351\224\231\350\257\257"
#define G00032 "\345\255\227\347\254\246\344\270\262\344\275\215\347\275\256\351\224\231\350\257\257"
#define G00033 "\346\227\240\346\225\210\347\232\204\346\214\207\344\273\244\357\274\214\350\276\223\345\205\245 ? \346\237\245\347\234\213\345\270\256\345\212\251\344\277\241\346\201\257\343\200\202"
#define G00034 "\347\274\272\345\260\221\346\226\207\344\273\266\345\220\215"
#define G00035 "\347\274\223\345\206\262\345\214\272\350\277\207\351\225\277"
#define G00036 "\351\235\236\346\263\225\347\232\204\347\274\223\345\206\262\345\214\272\344\275\215\347\275\256"
#define G00037 "\351\224\231\350\257\257\357\274\232%s\n"


#endif

/* END OF FILE */