summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2010-09-20 19:42:52 +0000
committerdelphij <delphij@FreeBSD.org>2010-09-20 19:42:52 +0000
commitc9c94044903bde727609dd939a17c3a3a850db99 (patch)
tree700c4a5953a605a9bac819abe6355ccbe97e2b2d /usr.bin/grep
parente9f1044ef225cc22f81c6fad1a68fb812e3328c8 (diff)
downloadFreeBSD-src-c9c94044903bde727609dd939a17c3a3a850db99.zip
FreeBSD-src-c9c94044903bde727609dd939a17c3a3a850db99.tar.gz
Add Simplified Chinese messages for BSD grep.
Diffstat (limited to 'usr.bin/grep')
-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 bb6b957..0433f67 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 0000000..d5cd0c2
--- /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"
OpenPOWER on IntegriCloud