idl.prp revision 608:7e06bf1dcb09
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 67Compile.parsing=Parsing %0 68Compile.parseDone=done - %0 69Compile.generating=Generating %0 70Compile.genDone=done - %0 71Deprecated.keyword=WARNING: Keyword `%0' is deprecated. 72EvaluationException.1=Operands of %0 operator are inconsistent: %1 and %2. 73EvaluationException.2=Operand of %0 operator must be a number, not a %1. 74EvaluationException.or=bitwise or 75EvaluationException.xor=bitwise xor 76EvaluationException.and=bitwise and 77EvaluationException.plus=addition 78EvaluationException.minus=subtraction 79EvaluationException.left=left shift 80EvaluationException.right=right shift 81EvaluationException.times=multiplication 82EvaluationException.divide=division 83EvaluationException.mod=modulo 84EvaluationException.pos=unary positive 85EvaluationException.neg=unary negation 86EvaluationException.not=bitwise not 87EvaluationException.booleanNot=boolean not 88EvaluationException.booleanAnd=boolean and 89EvaluationException.booleanOr=boolean or 90EvaluationException.equal=equal 91EvaluationException.notEqual=not equal 92EvaluationException.greaterThan=greater than 93EvaluationException.lessThan=less than 94EvaluationException.greaterEqual=greater than or equal 95EvaluationException.lessEqual=less than or equal 96GenFileStream.1=%0 could not be generated: %1 97InvalidArgument.1=Invalid argument: %0. 98InvalidArgument.2=No IDL file was specified. 99InvalidCharacter.1=%0 (line %1): invalid character: %2 (ASCII %3).\n%4\n%5 100Migration.futureKeyword=WARNING: Identifier `%0' collides with a keyword; use an escaped identifier to ensure future compatibility. 101Migration.keywordCollision=WARNING: Identifier `%0' collides with a keyword; use an escaped identifier to ensure future compatibility. 102ParseException.abstractValueBox=%0 (line %1): A value box cannot be declared abstract.\n%2\n%3 103ParseException.alreadyDeclared=%0 (line %1): %2 has already been declared.\n%3\n%4 104ParseException.declNotInSameFile=%0 (line %1): %2 was declared previously in a forward declaration in file %3.\n%4\n%5 105ParseException.alreadyDerived=%0 (line %1): %2 has already been declared as a parent of %3.\n%4\n%5 106ParseException.alreadyDefaulted=%0 (line %1): The default branch has already been encountered.\n%2\n%3 107ParseException.alreadyRaised=%0 (line %1): %2 already specified in raises clause.\n%3\n%4 108ParseException.attributeNotType=%0 (line %1): %2 is an attribute. It cannot be used as a type.\n%3\n%4 109ParseException.badAbstract=%0 (line %1): The forward and actual declaration of %2 is inconsistent. One is abstract and the other is not.\n%3\n%4 110ParseException.badCustom=%0 (line %1): A forward value declaration cannot be declared custom.\n%2\n%3 111ParseException.badRepIDAlreadyAssigned=%0 (line %1): Type %2 has already been assigned a Repository ID in a previous ID pragma directive.\n%3\n%4 112ParseException.badRepIDForm=%0 (line %1): Repository ID '%2' should have form '<format>:<string>'.\n%3\n%4 113ParseException.badRepIDPrefix=%0 (line %1): Interface %2 should have Repository ID prefix `%3', not '%4'.\n%5\n%6 114ParseException.badState=%0 (line %1): %2 cannot be a stateful interface; it has more than one stateful parent.\n%3\n%4 115ParseException.branchLabel=%0 (line %1): case %2 has already been declared.\n%3\n%4 116ParseException.branchName=%0 (line %1): A branch named %2 has already been declared.\n%3\n%4 117ParseException.duplicateInit=%0 (line %1): An initializer has the same signature as a previous initializer.\n%2\n%3 118ParseException.duplicateState=%0 (line %1): The data member %2 has the same name as a previous data member.\n%3\n%4 119ParseException.elseNoIf=%0 (line %1): #else encountered without a matching #if.\n%2\n%3 120ParseException.endNoIf=%0 (line %1): #endif encountered without a matching #if.\n%2\n%3 121ParseException.evaluation=%0 (line %1): %2\n%3\n%4 122ParseException.forwardEntry=%0 (line %1): There is a forward reference to %2, but it is not defined.\n%3\n%4 123ParseException.forwardedValueBox=%0 (line %1): %2 has a forward declaration. A value box cannot be forward declared.\n%3\n%4 124ParseException.forwardInheritance=%0 (line %1): It is illegal for %2 to inherit from the incomplete forward declaration of %3.\n%4\n%5 125ParseException.generic=%0 (line %1): %2\n%3\n%4 126ParseException.illegalArray=%0 (line %1): An array is not a legal type in a %2.\n%3\n%4 127ParseException.illegalException=%0 (line %1): Exceptions cannot appear within %2s.\n%3\n%4 128ParseException.invalidConst1=%0 (line %1): Constant expression must be of type %2, not %3.\n%4\n%5 129ParseException.invalidConst2=%0 (line %1): Identifiers in constant expressions must be constants, not %2.\n%3\n%4 130ParseException.keywordCollision=%0 (line %1): Identifier `%2' collides with keyword; use escaped identifier if necessary.\n%3\n%4 131ParseException.methodClash=%0 (line %1): Method name clash in interface %2: %3.\n%4\n%5 132ParseException.moduleNotType=%0 (line %1): %2 is a module. It cannot be used as a type.\n%3\n%4 133ParseException.nestedValueBox=%0 (line %1): Value boxes cannot be nested.\n%2\n%3 134ParseException.noDefault=%0 (line %1): A default branch is not allowed when all possible cases are fully covered.\n%2\n%3 135ParseException.nonAbstractParent=%0 (line %1): The abstract interface %2 cannot inherit from the non-abstract interface %3.\n%4\n%5 136ParseException.nonAbstractParent2=%0 (line %1): The abstract value %2 cannot inherit from the non-abstract value %3.\n%4\n%5 137ParseException.nonAbstractParent3=%0 (line %1): The value %2 cannot inherit from the non-abstract value %3 as specified.\n%4\n%5 138ParseException.notANumber=%0 (line %1): A number was expected. %2 is not a valid number.\n%3\n%4 139ParseException.nothing=%0 is empty. There is nothing to compile. 140ParseException.notPosInt=%0 (line %1): Expected a positive integer constant, not %2.\n%3\n%4 141ParseException.oneway=%0 (line %1): %2 is declared to be oneway. Oneway methods must: return void; have only in parameters; raise no exceptions.\n%3\n%4 142ParseException.operationNotType=%0 (line %1): %2 is an operation. It cannot be used as a type.\n%3\n%4 143ParseException.outOfRange=%0 (line %1): The value of the constant expression, %2, is out of range for type %3.\n%4\n%5 144ParseException.recursive=%0 (line %1): The only legal recursive definition is: sequence<%2> %3.\n%4\n%5 145ParseException.selfInherit=%0 (line %1): %2 cannot inherit from itself.\n%3\n%4 146ParseException.stringTooLong=%0 (line %1): "%2" cannot be more than %3 characters long.\n%4\n%5 147ParseException.syntax1=%0 (line %1): Expected `%2'; encountered `%3'.\n%4\n%5 148ParseException.syntax2=%0 (line %1): Expected one of%2; encountered `%3'.\n%4\n%5 149ParseException.unclosed=%0: Unexpected end of file encountered in comment. 150ParseException.undeclaredType=%0 (line %1): %2 is an undeclared type.\n%3\n%4 151ParseException.warning=%0 (line %1): %2\n%3\n%4 152ParseException.constExprType=%0 (line %1): The type of the constant expression is %2, but it should be %3.\n%4\n%5 153ParseException.wrongType=%0 (line %1): The type of %2 is %3, but it should be %4.\n%5\n%6 154ParseException.illegalIncompleteTypeReference=%0 (line %1): Illegal reference to incomplete forward declaration of type %2.\n%3\n%4 155Preprocessor.unknown=Unknown preprocessor directive, `%0'. Line ignored. 156Preprocessor.unknownPragma=Unknown pragma `%0'. Line ignored. 157Preprocessor.undefinedName=Undefined type name for pragma %0: %1. Line ignored. 158Token.boolLit=<boolean literal> 159Token.charLit=<character literal> 160Token.intLit=<integer literal> 161Token.floatLit=<floating point literal> 162Token.stringLit=<string literal> 163Token.literal=<literal> 164Token.identifier=<identifier> 165Token.endOfFile=EOF 166Token.unknown=? 167Util.cantCreatePkg=Cannot create the package %0. 168Version.product=IDL Parser Framework, version "%0" 169Version.number=3.2 170default=Error! A message was requested which does not exist. The messages file does not contain the key: %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 176usage=Compiler Usage:\n\ 177\ java com.sun.tools.corba.se.idl.Compile [options] <idl file>\n\ 178where <idl file> is the name of a file containing IDL definitions, and\n\ 179[options] is any combination of the options listed below. The options\n\ 180are optional and may appear in any order; <idl file> is required and\n\ 181must appear last.\n\ 182\ \n\ 183Options:\n\ 184 -d <symbol> This is equivalent to the following line in an\n\ 185\ IDL file: #define <symbol>\n\ 186 -emitAll Emit all types, including those found in #included\n\ 187\ files.\n\ 188 -i <include path> By default, the current directory is scanned for\n\ 189\ included files. This option adds another directory.\n\ 190 -keep If a file to be generated already exists, do not\n\ 191\ overwrite it. By default it is overwritten.\n\ 192 -noWarn Suppress warnings.\n\ 193 -v, -verbose Verbose mode.\n\ 194 -version Display the version number.\n 195 196