xref: /freebsd/contrib/bc/locales/zh_CN.utf8.msg (revision f81cdf24ba5436367377f7c8e8f51f6df2a75ca7)
1$ $
2$ SPDX-License-Identifier: BSD-2-Clause
3$ $
4$ Copyright (c) 2018-2023 Gavin D. Howard and contributors.
5$ $
6$ Redistribution and use in source and binary forms, with or without
7$ modification, are permitted provided that the following conditions are met:
8$ $
9$ * Redistributions of source code must retain the above copyright notice, this
10$   list of conditions and the following disclaimer.
11$ $
12$ * Redistributions in binary form must reproduce the above copyright notice,
13$   this list of conditions and the following disclaimer in the documentation
14$   and/or other materials provided with the distribution.
15$ $
16$ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17$ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18$ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19$ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20$ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21$ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22$ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23$ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24$ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25$ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26$ POSSIBILITY OF SUCH DAMAGE.
27$ $
28
29$quote "
30
31$ 错误类型。
32$set 1
33
341 "数学错误:"
352 "解析错误:"
363 "运行时错误:"
374 "致命错误:"
385 "警告:"
39
40$ 数学错误。
41$set 2
42
431 "负数"
442 "非整数"
453 "溢出:数字不符合硬件号码"
464 "除以0"
47
48$ 解析错误。
49$set 3
50
511 "文件结束"
522 "无效字符'%c'"
533 "找不到字符串尾部"
544 "无法找到评论的结尾"
555 "无效令牌"
566 "无效表达"
577 “空表达”
588 "无效的打印或流语句"
599 "无效的功能定义"
6010 "无效分配:左侧必须是scale、ibase、obase、last、var或数组元素"
6111 "没有找到自动变量"
6212 "函数参数或自动参数 \"%s%s\" 已经存在"
6313 "找不到区块末端"
6414 "不能从void函数中返回一个值:%s()"
6515 "var不能作为参考:%s"
6616 "POSIX不允许名字超过1个字符:%s"
6717 "POSIX不允许'#'脚本注释"
6818 "POSIX不允许使用以下关键字:%s"
6919 "POSIX不允许用句号('.')作为最后结果的快捷方式"
7020 "POSIX要求在返回表达式周围加括号"
7121 "POSIX不允许以下操作符:%s"
7222 "POSIX不允许在if语句或循环之外的比较运算符"
7323 "POSIX要求每个条件的比较运算符为0或1个"
7424 "POSIX要求for循环的所有3个部分必须是非空的"
7525 "POSIX要求在分号和函数定义之间使用换行符"
7626 "POSIX不允许使用指数符号"
7727 "POSIX不允许数组引用作为函数参数"
7828 "POSIX不允许无效函数"
7929 "POSIX要求左边的括号和函数头在同一行上"
8030 "POSIX不允许将字符串分配给变量或数组"
81
82$ 运行时错误。
83$set 4
84
851 "无效的ibase: 必须是[%lu, %lu]"
862 "无效的obase:必须是[%lu,%lu]"
873 "无效的scale:必须是[%lu,%lu]"
884 "无效的read()表达式"
895 "递归读取()调用"
906 "变量或数组元素是错误的类型"
917 "堆栈的元素太少"
928 "寄存器 \"%s\" 的堆栈的元素太少"
939 "参数数量错误:需要%zu,有%zu"
9410 "未定义的函数:%s()"
9511 “不能在表达式中使用空值”
96
97$ 致命错误。
98$set 5
99
1001 "内存分配失败"
1012 "I/O错误"
1023 "无法打开文件:%s"
1034 "文件不是文本:%s"
1045 "路径是一个目录:%s"
1056 "无效的命令行选项:\"%s\""
1067 "选项需要一个参数:'%c'(\"%s\")"
1078 "选项不需要参数:'%c'(\"%s\")"
1089 "无效的命令行选项参数:\"%s\""
109