1 #
   2 # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #
  27 # COMPONENT_NAME:  idl.parser
  28 #
  29 # ORIGINS: 27
  30 #
  31 # Licensed Materials - Property of IBM
  32 # 5639-D57 (C) COPYRIGHT International Business Machines Corp., 1997, 1999
  33 # RMI-IIOP v1.0
  34 #
  35 
  36 # Translator:  Each line below is of the form "<key>=<message>".
  37 #              The keys are NOT to be translated.
  38 #              The messages ARE to be translated.
  39 #
  40 #              DO NOT translate the following:
  41 #               ASCII
  42 #               #else
  43 #               #endif
  44 #               IDL
  45 #
  46 #              %0, %1, etc. are postional parameters to the message.  Do not
  47 #              translate these.  The number order is the order they are given to
  48 #              the message writer.  It is OK to change their order in the message
  49 #              if the language grammar so dictates.
  50 #
  51 #              Lines of the form "%0 (line %1):  <some message>\n%x\n%y" are error
  52 #              messages:  %0 is a filename; %1 is a line number; %x is line %1 from
  53 #              %0; %y is the error marker.  So the message comes out looking like:
  54 #                  <filename> (line xxx): <some message>
  55 #                  Line xxx from <filename> where the carat points to the error
  56 #                                                     ^
  57 #              So the first two and the last two parameters of these messages must
  58 #              remain in their positions.
  59 #
  60 #              A backslash (\) at the end of a line is a line continuation
  61 #              character.  A backslash at the beginning of a line means don't
  62 #              ignore leading blanks (they normally are).  These backslashes
  63 #              should remain in the message.
  64 #
  65 # Translator:  Start Translating
  66 
  67 Compile.parsing=正在对 %0 进行语法分析
  68 Compile.parseDone=完成  - %0
  69 Compile.generating=正在生成 %0
  70 Compile.genDone=完成   -   %0
  71 Deprecated.keyword=警告: 关键字 `%0' 已过时。
  72 EvaluationException.1=%0 运算符的操作数不一致: %1 和 %2。
  73 EvaluationException.2=%0 运算符的操作数必须是数字, 而不是 %1。
  74 EvaluationException.or=按位或
  75 EvaluationException.xor=按位异或
  76 EvaluationException.and=按位与
  77 EvaluationException.plus=添加
  78 EvaluationException.minus=减法
  79 EvaluationException.left=向左移位
  80 EvaluationException.right=向右移位
  81 EvaluationException.times=乘法
  82 EvaluationException.divide=除法
  83 EvaluationException.mod=取模
  84 EvaluationException.pos=一元正数
  85 EvaluationException.neg=一元负数
  86 EvaluationException.not=按位非
  87 EvaluationException.booleanNot=布尔非
  88 EvaluationException.booleanAnd=布尔与
  89 EvaluationException.booleanOr=布尔或
  90 EvaluationException.equal=等于
  91 EvaluationException.notEqual=不等于
  92 EvaluationException.greaterThan=大于
  93 EvaluationException.lessThan=小于
  94 EvaluationException.greaterEqual=大于等于
  95 EvaluationException.lessEqual=小于等于
  96 GenFileStream.1=无法生成%0:  %1
  97 InvalidArgument.1=参数无效:  %0。
  98 InvalidArgument.2=未指定 IDL 文件。
  99 InvalidCharacter.1=%0 (行 %1):  字符无效:  %2 (ASCII %3)。\n%4\n%5
 100 Migration.futureKeyword=警告: 标识符 `%0' 与关键字冲突; 请使用转义标识符以确保将来兼容。
 101 Migration.keywordCollision=警告: 标识符 `%0' 与关键字冲突; 请使用转义标识符以确保将来兼容。
 102 ParseException.abstractValueBox=%0 (行 %1):  不能将值框声明为抽象。\n%2\n%3
 103 ParseException.alreadyDeclared=%0 (行 %1):  %2已声明。\n%3\n%4
 104 ParseException.declNotInSameFile=%0 (行 %1): %2以前曾在文件%3的前向声明中声明。\n%4\n%5
 105 ParseException.alreadyDerived=%0 (行 %1):  %2已声明为%3的父级。\n%4\n%5
 106 ParseException.alreadyDefaulted=%0 (行 %1):  已遇到默认分支。\n%2\n%3
 107 ParseException.alreadyRaised=%0 (行 %1):  %2已在 raise 子句中指定。\n%3\n%4
 108 ParseException.attributeNotType=%0 (行 %1):  %2 是属性。不能将其用作类型。\n%3\n%4
 109 ParseException.badAbstract=%0 (行 %1): %2的前向声明和实际声明不一致。一个是抽象的, 而另一个不是抽象的。\n%3\n%4
 110 ParseException.badCustom=%0 (行 %1):  无法将前向值声明声明为定制。\n%2\n%3
 111 ParseException.badRepIDAlreadyAssigned=%0 (行 %1):  已在上一个 ID 编译指示指令中为类型%2分配了资料档案库 ID。\n%3\n%4
 112 ParseException.badRepIDForm=%0 (行 %1): 资料档案库 ID '%2' 的格式应为 '<format>:<string>'。\n%3\n%4
 113 ParseException.badRepIDPrefix=%0 (行 %1):  接口 %2 的资料档案库 ID 前缀应为 `%3', 而非 '%4'。\n%5\n%6
 114 ParseException.badState=%0 (行 %1): %2 不能是有状态接口; 它包含多个有状态父级。\n%3\n%4
 115 ParseException.branchLabel=%0 (行 %1):  case %2已声明。\n%3\n%4
 116 ParseException.branchName=%0 (行 %1):  名为%2的分支已声明。\n%3\n%4
 117 ParseException.duplicateInit=%0 (行 %1):  某个初始化程序与上一个初始化程序具有相同的签名。\n%2\n%3
 118 ParseException.duplicateState=%0 (行 %1):  数据成员 %2 与上一个数据成员具有相同的名称。\n%3\n%4
 119 ParseException.elseNoIf=%0 (行 %1):  遇到了 #else, 但没有匹配的 #if。\n%2\n%3
 120 ParseException.endNoIf=%0 (行 %1):  遇到了 #endif, 但没有匹配的 #if。\n%2\n%3
 121 ParseException.evaluation=%0 (行 %1):  %2\n%3\n%4
 122 ParseException.forwardEntry=%0 (行 %1):  存在针对%2的前向引用, 但它尚未定义。\n%3\n%4
 123 ParseException.forwardedValueBox=%0 (行 %1):  %2 具有前向声明。不能对值框进行前向声明。\n%3\n%4
 124 ParseException.forwardInheritance=%0 (行 %1):  对于%2, 从%3的不完整前向声明进行继承是非法的。\n%4\n%5
 125 ParseException.generic=%0 (行 %1):  %2\n%3\n%4
 126 ParseException.illegalArray=%0 (行 %1):  %2中某个数组的类型非法。\n%3\n%4
 127 ParseException.illegalException=%0 (行 %1):  %2s 中不能出现异常错误。\n%3\n%4
 128 ParseException.invalidConst1=%0 (行 %1):  常量表达式的类型必须是%2, 而不能是%3。\n%4\n%5
 129 ParseException.invalidConst2=%0 (行 %1):  常量表达式中的标识符必须是常量, 而不能是%2。\n%3\n%4
 130 ParseException.keywordCollision=%0 (行 %1):  标识符 `%2' 与关键字冲突; 如有必要, 请使用转义标识符。\n%3\n%4
 131 ParseException.methodClash=%0 (行 %1):  接口 %2 中的方法名冲突:  %3。\n%4\n%5
 132 ParseException.moduleNotType=%0 (行 %1):  %2 是模块。不能将其用作类型。\n%3\n%4
 133 ParseException.nestedValueBox=%0 (行 %1):  值框不能嵌套。\n%2\n%3
 134 ParseException.noDefault=%0 (行 %1):  当完全涉及所有可能的 case 时, 不允许使用默认分支。\n%2\n%3
 135 ParseException.nonAbstractParent=%0 (行 %1):  抽象接口 %2 不能从非抽象接口 %3 继承。\n%4\n%5
 136 ParseException.nonAbstractParent2=%0 (行 %1):  抽象值 %2 不能从非抽象值 %3 继承。\n%4\n%5
 137 ParseException.nonAbstractParent3=%0 (行 %1):  值 %2 不能根据指定从非抽象值 %3 继承。\n%4\n%5
 138 ParseException.notANumber=%0 (行 %1):  应为数字。%2不是有效的数字。\n%3\n%4
 139 ParseException.nothing=%0为空。没有要编译的对象。
 140 ParseException.notPosInt=%0 (行 %1):  应为正整数常量, 而非%2。\n%3\n%4
 141 ParseException.oneway=%0 (行 %1):  %2已声明为单向。单向方法必须: 返回空值; 只有 in 参数; 不引发异常错误。\n%3\n%4
 142 ParseException.operationNotType=%0 (行 %1): %2是运算。不能将其用作类型。\n%3\n%4
 143 ParseException.outOfRange=%0 (行 %1):  常量表达式 %2 的值超出了类型%3的范围。\n%4\n%5
 144 ParseException.recursive=%0 (行 %1):  唯一的合法递归定义是:  sequence<%2> %3。\n%4\n%5
 145 ParseException.selfInherit=%0 (行 %1):  %2 不能从自身继承。\n%3\n%4
 146 ParseException.stringTooLong=%0 (行 %1):  "%2" 的长度不能超过 %3 个字符。\n%4\n%5
 147 ParseException.syntax1=%0 (行 %1):  应为 `%2'; 但遇到 `%3'。\n%4\n%5
 148 ParseException.syntax2=%0 (行 %1):  应为 %2 之一; 但遇到 `%3'。\n%4\n%5
 149 ParseException.unclosed=%0:  在注释中遇到意外的文件结尾。
 150 ParseException.undeclaredType=%0 (行 %1):  %2 是未声明的类型。\n%3\n%4
 151 ParseException.warning=%0 (行 %1):  %2\n%3\n%4
 152 ParseException.constExprType=%0 (行 %1):  常量表达式的类型为 %2, 但应为 %3。\n%4\n%5
 153 ParseException.wrongType=%0 (行 %1):  %2的类型为%3, 但应为%4。\n%5\n%6
 154 ParseException.illegalIncompleteTypeReference=%0 (行 %1): 对类型%2的不完整前向声明的引用非法。\n%3\n%4
 155 Preprocessor.unknown=未知的预处理程序指令 `%0'。已忽略行。
 156 Preprocessor.unknownPragma=未知的编译指示指令 `%0'。已忽略行。
 157 Preprocessor.undefinedName=编译指示 %0 的未定义类型名:  %1。已忽略行。
 158 Token.boolLit=<布尔文字>
 159 Token.charLit=<字符文字>
 160 Token.intLit=<整型文字>
 161 Token.floatLit=<浮点文字>
 162 Token.stringLit=<字符串文字>
 163 Token.literal=<文字>
 164 Token.identifier=<标识符>
 165 Token.endOfFile=EOF
 166 Token.unknown=?
 167 Util.cantCreatePkg=无法创建程序包%0。
 168 Version.product=IDL 语法分析器框架, 版本 "%0"
 169 Version.number=3.2
 170 default=错误! 请求了不存在的消息。消息文件未包含关键字: %0。
 171 
 172 # Translator: In the list of options below, do not translate:
 173 #             -i, -d, -keep, -emitAll, -noWarn, -v, -verbose, -version, #define
 174 #             Do not translate the string "java com.sun.tools.corba.se.idl.Compile"
 175 
 176 usage=编译器用法:\n java com.sun.tools.corba.se.idl.Compile [选项] <idl 文件>\n其中, <idl 文件> 是包含 IDL 定义的文件的名称, 而\n[选项] 是下列选项的任意组合。这些选项\n是可选的, 并且显示顺序并不固定; <idl 文件> 是必需的\n并且必须显示在最后。\n \n选项:\n-d <符号>          这等同于 IDL 文件中的\n                     下面一行:  #define <符号>\n-emitAll             发出所有类型, 包括在 #included\n                     文件中找到的类型。\n-i <包含路径>    默认情况下, 将在当前目录中扫描\n                     包含的文件。此选项将添加另一个目录。\n-keep                如果要生成的文件已存在, 请不要\n                     覆盖它。默认情况下会覆盖它。\n-noWarn              隐藏警告。\n-v, -verbose         详细模式。\n-version             显示版本号。\n
 177