Messages.properties revision 1808:a7f21ee6ed30
1# 2# Copyright (c) 2010, 2015, 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# 25lexer.error.edit.string.missing.brace=Edit string expression missing closing brace 26lexer.error.here.missing.end.marker=Here string missing end marker "{0}" 27lexer.error.missing.close.quote=Missing close quote 28lexer.error.missing.space.after.number=Missing space after numeric literal 29lexer.error.invalid.hex=Invalid hex digit 30lexer.error.strict.no.octal=cannot use octal escapes in strict mode 31lexer.error.json.invalid.number=Invalid JSON number format 32lexer.error.invalid.escape.char=Invalid escape character 33lexer.error.illegal.identifier.character=Illegal character in identifier 34lexer.error.here.non.matching.delimiter=Quoted here string end marker must have matching delimiters 35 36parser.error.illegal.continue.stmt=Illegal continue statement 37parser.error.illegal.break.stmt=Illegal break statement 38parser.error.invalid.lvalue=Invalid left hand side for assignment 39parser.error.undefined.label=Undefined Label "{0}" 40parser.error.duplicate.label=Duplicate Label "{0}" 41parser.error.duplicate.default.in.switch=Switch already has default case 42parser.error.expected.literal=Expected a literal but found {0} 43parser.error.expected.operand=Expected an operand but found {0} 44parser.error.expected.stmt=Expected statement but found {0} 45parser.error.expected.comma=Expected comma but found {0} 46parser.error.expected.property.id=Expected property id but found {0} 47parser.error.expected.lvalue=Expected l-value but found {0} 48parser.error.expected=Expected {0} but found {1} 49parser.error.invalid.return=Invalid return statement 50parser.error.no.func.decl.here=Function declarations can only occur at program or function body level. You should use a function expression here instead. 51parser.error.no.func.decl.here.warn=Function declarations should only occur at program or function body level. Function declaration in nested block was converted to a function expression. 52parser.error.property.redefinition=Property "{0}" already defined 53parser.error.unexpected.token=Unexpected token: {0} 54parser.error.for.each.without.in=for each can only be used with for..in 55parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..{0} loop 56parser.error.not.lvalue.for.in.loop=Invalid left side value of for..{0} loop 57parser.error.for.in.loop.initializer=for..{0] loop declaration must not have an initializer 58parser.error.missing.catch.or.finally=Missing catch or finally after try 59parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0} 60parser.error.regex.repeated.flag=Repeated RegExp flag: {0} 61parser.error.regex.syntax={0} 62parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON 63parser.error.missing.const.assignment=Missing assignment to constant "{0}" 64parser.error.unterminated.template.expression=Expected } after expression in template literal 65 66# ES6 mode error messages 67parser.error.multiple.constructors=Class contains more than one constructor 68parser.error.generator.constructor=Class constructor must not be a generator 69parser.error.accessor.constructor=Class constructor must not be an accessor 70parser.error.static.prototype.method=Static class method must not be named 'prototype' 71parser.error.missing.destructuring.assignment=Missing assignment in destructuring declaration 72parser.error.let.binding.for='let' is not a valid binding name in a for loop 73parser.error.invalid.export=invalid export declaration 74parser.error.expected.binding=expected BindingIdentifier or BindingPattern 75parser.error.multiple.proto.key=property name __proto__ appears more than once in object literal 76parser.error.new.target.in.function=new.target expression is only allowed in functions 77parser.error.expected.target=expected 'target' 78parser.error.invalid.super=invalid use of keyword super 79parser.error.expected.arrow.parameter=expected arrow function parameter list 80parser.error.invalid.arrow.parameter=invalid arrow function parameter 81parser.error.expected.named.import=expected NameSpaceImport or NamedImports 82parser.error.expected.import=expected ImportClause or ModuleSpecifier 83parser.error.expected.as=expected 'as' 84parser.error.expected.binding.identifier=expected BindingIdentifier 85parser.error.expected.from=expected 'from' 86 87# strict mode error messages 88parser.error.strict.no.with="with" statement cannot be used in strict mode 89parser.error.strict.name="{0}" cannot be used as {1} in strict mode 90parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode 91parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}" 92parser.error.strict.no.octal=cannot use octal value in strict mode 93parser.error.strict.no.func.decl.here=In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead. 94type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object 95 96# not the expected type in a given context 97type.error.not.an.object={0} is not an Object 98type.error.not.a.boolean={0} is not a Boolean 99type.error.not.a.date={0} is not a Date 100type.error.not.a.java.importer={0} is not a JavaImporter object 101type.error.not.a.number={0} is not a Number 102type.error.not.a.regexp={0} is not a RegExp 103type.error.not.a.string={0} is not a String 104type.error.not.a.function={0} is not a function 105type.error.not.a.function.value={0}, which has value {1}, is not a function 106type.error.not.a.constructor={0} is not a constructor function 107type.error.not.a.map={0} is not a Map object 108type.error.not.a.set={0} is not a Set object 109type.error.not.a.weak.map={0} is not a WeakMap object 110type.error.not.a.weak.set={0} is not a WeakSet object 111type.error.not.a.map.iterator={0} is not a Map iterator 112type.error.not.a.set.iterator={0} is not a Set iterator 113type.error.not.a.array.iterator={0} is not an Array iterator 114type.error.not.a.string.iterator={0} is not a String iterator 115type.error.not.a.file={0} is not a File 116type.error.not.a.numeric.array={0} is not a numeric array 117type.error.not.a.bytebuffer={0} is not a java.nio.ByteBuffer 118type.error.not.an.arraybuffer.in.dataview=First argument to DataView constructor must be an ArrayBuffer 119type.error.no.reflection.with.classfilter=Java reflection not supported when class filter is present 120 121# operations not permitted on undefined 122type.error.cant.call.undefined=Cannot call undefined 123type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined 124type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined 125type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined 126 127# other wrong usages of property 128type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter 129type.error.cant.set.proto.to.non.object=Cannot set Object {0}''s __proto__ to be a non-object like {1} 130type.error.no.such.function={1} has no such function "{0}" 131type.error.no.such.java.class=No such Java class: {0} 132type.error.no.such.java.constructor=No such Java constructor: {0} 133type.error.improper.constructor.signature=Java constructor signature invalid: {0} 134type.error.cant.get.property=Cannot get property "{0}" of {1} 135type.error.cant.set.property=Cannot set property "{0}" of {1} 136type.error.cant.delete.property=Cannot delete property "{0}" of {1} 137type.error.cant.redefine.property=Cannot redefine property "{0}" of {1} 138type.error.property.not.writable="{0}" is not a writable property of {1} 139type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1} 140type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0} 141type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0} 142 143# miscellaneous 144type.error.regex.cant.supply.flags=Cannot supply flags when constructing one RegExp from another 145type.error.inconsistent.property.descriptor=inconsistent property descriptor 146type.error.bad.default.value=bad default value: {0} 147type.error.function.apply.expects.array=Function.prototype.apply expects an Array for second argument 148type.error.instanceof.on.non.object=instanceof must be called with a javascript or java object as the right-hand argument 149type.error.cannot.convert.to.interface=object {0} cannot be converted to {1} due to "{2}" 150type.error.array.reduce.invalid.init=invalid initialValue for Array.prototype.reduce 151type.error.array.reduceright.invalid.init=invalid initialValue for Array.prototype.reduceRight 152type.error.assign.constant=Assignment to constant "{0}" 153type.error.cannot.get.default.string=Cannot get default string value 154type.error.cannot.get.default.number=Cannot get default number value 155type.error.cannot.get.iterator=Cannot get iterator from {1} 156type.error.cant.apply.with.to.null=Cannot apply "with" to null 157type.error.cant.apply.with.to.undefined=Cannot apply "with" to undefined 158type.error.cant.apply.with.to.non.scriptobject=Cannot apply "with" to non script object. Consider using "with(Object.bindProperties('{'}, nonScriptObject))". 159type.error.in.with.non.object=Right hand side of "in" cannot be non-Object, found {0} 160type.error.prototype.not.an.object="prototype" of {0} is not an Object, it is {1} 161type.error.cant.load.script=Cannot load script from {0} 162type.error.JSON.stringify.cyclic=JSON.stringify got a cyclic data structure 163type.error.cant.convert.string.to.char=Cannot convert string to character; its length must be exactly 1 164type.error.cant.convert.number.to.char=Cannot convert number to character; it is out of 0-65535 range 165type.error.cant.convert.to.java.string=Cannot convert object of type {0} to a Java argument of string type 166type.error.cant.convert.to.java.number=Cannot convert object of type {0} to a Java argument of number type 167type.error.cant.convert.to.javascript.array=Can only convert Java arrays and lists to JavaScript arrays. Cannot convert object of type {0}. 168type.error.extend.expects.at.least.one.argument=Java.extend needs at least one argument. 169type.error.extend.expects.at.least.one.type.argument=Java.extend needs at least one type argument. 170type.error.extend.expects.java.types=Java.extend needs Java types as its arguments. 171type.error.extend.ambiguous.defining.class=There is no class loader that can see all of {0} at once. 172type.error.extend.ERROR_FINAL_CLASS=Can not extend final class {0}. 173type.error.extend.ERROR_NON_PUBLIC_CLASS=Can not extend/implement non-public class/interface {0}. 174type.error.extend.ERROR_NO_ACCESSIBLE_CONSTRUCTOR=Can not extend class {0} as it has no public or protected constructors. 175type.error.extend.ERROR_MULTIPLE_SUPERCLASSES=Can not extend multiple classes {0}. At most one of the specified types can be a class, the rest must all be interfaces. 176type.error.extend.ERROR_NO_COMMON_LOADER=Can not find a common class loader for ScriptObject and {0}. 177type.error.extend.ERROR_FINAL_FINALIZER=Can not extend class because {0} has a final finalize method. 178type.error.extend.ERROR_OTHER=Can not extend/implement {0} because of {1} 179type.error.no.constructor.matches.args=Can not construct {0} with the passed arguments; they do not match any of its constructor signatures. 180type.error.no.method.matches.args=Can not invoke method {0} with the passed arguments; they do not match any of its method signatures. 181type.error.no.constructor.matches.args=Can not create new object with constructor {0} with the passed arguments; they do not match any of its method signatures. 182type.error.method.not.constructor=Java method {0} cannot be used as a constructor. 183type.error.env.not.object=$ENV must be an Object. 184type.error.unsupported.java.to.type=Unsupported Java.to target type {0}. 185type.error.java.array.conversion.failed=Java.to conversion to array type {0} failed 186type.error.constructor.requires.new=Constructor {0} requires "new". 187type.error.new.on.nonpublic.javatype=new cannot be used with non-public java type {0}. 188type.error.invalid.weak.key=primitive value {0} used as weak key. 189type.error.symbol.to.string=Can not convert Symbol value to string. 190type.error.symbol.to.number=Can not convert Symbol value to number. 191type.error.not.a.symbol={0} is not a symbol. 192type.error.symbol.as.constructor=Symbol is not a constructor. 193 194range.error.dataview.constructor.offset=Wrong offset or length in DataView constructor 195range.error.dataview.offset=Offset is outside the bounds of the DataView 196range.error.inappropriate.array.length=inappropriate array length: {0} 197range.error.inappropriate.array.buffer.length=inappropriate array buffer length: {0} 198range.error.invalid.fraction.digits=fractionDigits argument to {0} must be in [0, 20] 199range.error.invalid.precision=precision argument toPrecision() must be in [1, 21] 200range.error.invalid.radix=radix argument must be in [2, 36] 201range.error.invalid.date=Invalid Date 202range.error.too.many.errors=Script contains too many errors: {0} errors 203range.error.concat.string.too.big=Concatenated String is too big 204range.error.exec.file.not.exist=$EXEC File or directory does not exist : {0} 205range.error.exec.not.directory=$EXEC Not a directory : {0} 206range.error.exec.returned.non.zero=$EXEC returned non-zero exit code: {0} 207range.error.exec.timeout=$EXEC Command timeout : {0} 208range.error.exec.unknown.command=$EXEC Unknown command : {0} 209 210reference.error.not.defined="{0}" is not defined 211reference.error.cant.be.used.as.lhs="{0}" can not be used as the left-hand side of assignment 212 213syntax.error.invalid.json=Invalid JSON: {0} 214syntax.error.strict.cant.delete=cannot delete "{0}" in strict mode 215syntax.error.redeclare.variable=Variable "{0}" has already been declared 216syntax.error.unprotected.switch.declaration=Unsupported {0} declaration in unprotected switch statement 217syntax.error.duplicate.parameter=Duplicate parameter name "{0}" 218 219io.error.cant.write=cannot write "{0}" 220 221config.error.no.dest=no destination directory supplied 222config.error.eagerCompilationConflictsWithOptimisticTypes={0}=false (eager compilation) is not compatible with {1}=true. 223 224uri.error.bad.uri=Bad URI "{0}" near offset {1} 225list.adapter.null.global=Attempted to create the adapter from outside a JavaScript execution context. 226 227unimplemented.es6.module=ES6 modules are not yet implemented 228unimplemented.es6.rest.param=ES6 function rest parameter declaration is not yet implemented 229unimplemented.es6.yield=ES6 yield and yield* are not yet implemented 230unimplemented.es6.spread=ES6 spread operator is not yet implemented 231unimplemented.es6.class=ES6 class declarations and expressions are not yet implemented 232unimplemented.es6.destructuring=ES6 destructuring is not yet implemented 233unimplemented.es6.generator=ES6 generator is not yet implemented 234unimplemented.es6.super=ES6 super keyword is not yet implemented 235