aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-09-20 19:42:52 +0000
committerXin LI <delphij@FreeBSD.org>2010-09-20 19:42:52 +0000
commitf7482a2568356861a25041e00e429324ab466af5 (patch)
tree700c4a5953a605a9bac819abe6355ccbe97e2b2d /usr.bin
parent81059816c0c29084fcbce434901c18a989ed5c63 (diff)
downloadsrc-f7482a2568356861a25041e00e429324ab466af5.tar.gz
src-f7482a2568356861a25041e00e429324ab466af5.zip
Add Simplified Chinese messages for BSD grep.
Notes
Notes: svn path=/head/; revision=212927
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/grep/nls/Makefile.inc1
-rw-r--r--usr.bin/grep/nls/zh_CN.UTF-8.msg13
2 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/grep/nls/Makefile.inc b/usr.bin/grep/nls/Makefile.inc
index bb6b95778c38..0433f67f31f0 100644
--- a/usr.bin/grep/nls/Makefile.inc
+++ b/usr.bin/grep/nls/Makefile.inc
@@ -10,6 +10,7 @@ NLS+= ja_JP.UTF-8
NLS+= pt_BR.ISO8859-1
NLS+= ru_RU.KOI8-R
NLS+= uk_UA.UTF-8
+NLS+= zh_CN.UTF-8
NLSSRCDIR= ${.CURDIR}/nls
.for lang in ${NLS}
diff --git a/usr.bin/grep/nls/zh_CN.UTF-8.msg b/usr.bin/grep/nls/zh_CN.UTF-8.msg
new file mode 100644
index 000000000000..d5cd0c2ef665
--- /dev/null
+++ b/usr.bin/grep/nls/zh_CN.UTF-8.msg
@@ -0,0 +1,13 @@
+$ $FreeBSD$
+$
+$set 1
+$quote "
+1 "(标准输入)"
+2 "读取 bzip2 压缩文件时出错"
+3 "选项 %s 无法识别"
+4 "用法: %s [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A 行数] [-B 行数] [-C[行数]]\n"
+5 "\t[-e 模式] [-f 文件] [--binary-files=值] [--color=何时]\n"
+6 "\t[--context[=行数]] [--directories=动作] [--label] [--line-buffered]\n"
+7 "\t[--null] [模式] [文件名 ...]\n"
+8 "二进制文件 %s 包含模式\n"
+9 "%s (BSD grep) %s\n"