Thu, 24 May 2018 16:39:31 +0800
Merge
aoqi@0 | 1 | # |
mhaupt@1518 | 2 | # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. |
aoqi@0 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
aoqi@0 | 4 | # |
aoqi@0 | 5 | # This code is free software; you can redistribute it and/or modify it |
aoqi@0 | 6 | # under the terms of the GNU General Public License version 2 only, as |
aoqi@0 | 7 | # published by the Free Software Foundation. Oracle designates this |
aoqi@0 | 8 | # particular file as subject to the "Classpath" exception as provided |
aoqi@0 | 9 | # by Oracle in the LICENSE file that accompanied this code. |
aoqi@0 | 10 | # |
aoqi@0 | 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
aoqi@0 | 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
aoqi@0 | 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
aoqi@0 | 14 | # version 2 for more details (a copy is included in the LICENSE file that |
aoqi@0 | 15 | # accompanied this code). |
aoqi@0 | 16 | # |
aoqi@0 | 17 | # You should have received a copy of the GNU General Public License version |
aoqi@0 | 18 | # 2 along with this work; if not, write to the Free Software Foundation, |
aoqi@0 | 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
aoqi@0 | 20 | # |
aoqi@0 | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
aoqi@0 | 22 | # or visit www.oracle.com if you need additional information or have any |
aoqi@0 | 23 | # questions. |
aoqi@0 | 24 | # |
aoqi@0 | 25 | lexer.error.edit.string.missing.brace=Edit string expression missing closing brace |
aoqi@0 | 26 | lexer.error.here.missing.end.marker=Here string missing end marker "{0}" |
aoqi@0 | 27 | lexer.error.missing.close.quote=Missing close quote |
aoqi@0 | 28 | lexer.error.missing.space.after.number=Missing space after numeric literal |
aoqi@0 | 29 | lexer.error.invalid.hex=Invalid hex digit |
aoqi@0 | 30 | lexer.error.strict.no.octal=cannot use octal escapes in strict mode |
aoqi@0 | 31 | lexer.error.json.invalid.number=Invalid JSON number format |
aoqi@0 | 32 | lexer.error.invalid.escape.char=Invalid escape character |
aoqi@0 | 33 | lexer.error.illegal.identifier.character=Illegal character in identifier |
mhaupt@1518 | 34 | lexer.error.here.non.matching.delimiter=Quoted here string end marker must have matching delimiters |
aoqi@0 | 35 | |
aoqi@0 | 36 | parser.error.illegal.continue.stmt=Illegal continue statement |
aoqi@0 | 37 | parser.error.illegal.break.stmt=Illegal break statement |
aoqi@0 | 38 | parser.error.invalid.lvalue=Invalid left hand side for assignment |
aoqi@0 | 39 | parser.error.undefined.label=Undefined Label "{0}" |
aoqi@0 | 40 | parser.error.duplicate.label=Duplicate Label "{0}" |
aoqi@0 | 41 | parser.error.duplicate.default.in.switch=Switch already has default case |
aoqi@0 | 42 | parser.error.expected.literal=Expected a literal but found {0} |
aoqi@0 | 43 | parser.error.expected.operand=Expected an operand but found {0} |
aoqi@0 | 44 | parser.error.expected.stmt=Expected statement but found {0} |
aoqi@0 | 45 | parser.error.expected.comma=Expected comma but found {0} |
aoqi@0 | 46 | parser.error.expected.property.id=Expected property id but found {0} |
aoqi@0 | 47 | parser.error.expected.lvalue=Expected l-value but found {0} |
aoqi@0 | 48 | parser.error.expected=Expected {0} but found {1} |
aoqi@0 | 49 | parser.error.invalid.return=Invalid return statement |
aoqi@0 | 50 | parser.error.no.func.decl.here=Function declarations can only occur at program or function body level. You should use a function expression here instead. |
aoqi@0 | 51 | parser.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. |
aoqi@0 | 52 | parser.error.property.redefinition=Property "{0}" already defined |
aoqi@0 | 53 | parser.error.unexpected.token=Unexpected token: {0} |
aoqi@0 | 54 | parser.error.for.each.without.in=for each can only be used with for..in |
aoqi@0 | 55 | parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop |
aoqi@0 | 56 | parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop |
aoqi@0 | 57 | parser.error.missing.catch.or.finally=Missing catch or finally after try |
aoqi@0 | 58 | parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0} |
aoqi@0 | 59 | parser.error.regex.repeated.flag=Repeated RegExp flag: {0} |
aoqi@0 | 60 | parser.error.regex.syntax={0} |
aoqi@0 | 61 | parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON |
hannesw@991 | 62 | parser.error.missing.const.assignment=Missing assignment to constant "{0}" |
aoqi@0 | 63 | |
aoqi@0 | 64 | # strict mode error messages |
aoqi@0 | 65 | parser.error.strict.no.with="with" statement cannot be used in strict mode |
aoqi@0 | 66 | parser.error.strict.name="{0}" cannot be used as {1} in strict mode |
aoqi@0 | 67 | parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode |
aoqi@0 | 68 | parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}" |
aoqi@0 | 69 | parser.error.strict.no.octal=cannot use octal value in strict mode |
aoqi@0 | 70 | parser.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. |
aoqi@0 | 71 | type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object |
aoqi@0 | 72 | |
aoqi@0 | 73 | # not the expected type in a given context |
aoqi@0 | 74 | type.error.not.an.object={0} is not an Object |
aoqi@0 | 75 | type.error.not.a.boolean={0} is not a Boolean |
aoqi@0 | 76 | type.error.not.a.date={0} is not a Date |
sundar@1051 | 77 | type.error.not.a.java.importer={0} is not a JavaImporter object |
aoqi@0 | 78 | type.error.not.a.number={0} is not a Number |
aoqi@0 | 79 | type.error.not.a.regexp={0} is not a RegExp |
aoqi@0 | 80 | type.error.not.a.string={0} is not a String |
aoqi@0 | 81 | type.error.not.a.function={0} is not a function |
sundar@1515 | 82 | type.error.not.a.function.value={0}, which has value {1}, is not a function |
aoqi@0 | 83 | type.error.not.a.constructor={0} is not a constructor function |
aoqi@0 | 84 | type.error.not.a.file={0} is not a File |
attila@963 | 85 | type.error.not.a.numeric.array={0} is not a numeric array |
aoqi@0 | 86 | type.error.not.a.bytebuffer={0} is not a java.nio.ByteBuffer |
lagergren@1111 | 87 | type.error.not.an.arraybuffer.in.dataview=First argument to DataView constructor must be an ArrayBuffer |
sundar@964 | 88 | type.error.no.reflection.with.classfilter=Java reflection not supported when class filter is present |
aoqi@0 | 89 | |
aoqi@0 | 90 | # operations not permitted on undefined |
aoqi@0 | 91 | type.error.cant.call.undefined=Cannot call undefined |
aoqi@0 | 92 | type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined |
aoqi@0 | 93 | type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined |
aoqi@0 | 94 | type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined |
aoqi@0 | 95 | |
aoqi@0 | 96 | # other wrong usages of property |
aoqi@0 | 97 | type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter |
hannesw@1011 | 98 | type.error.cant.set.proto.to.non.object=Cannot set Object {0}''s __proto__ to be a non-object like {1} |
aoqi@0 | 99 | type.error.no.such.function={1} has no such function "{0}" |
attila@963 | 100 | type.error.no.such.java.class=No such Java class: {0} |
attila@963 | 101 | type.error.no.such.java.constructor=No such Java constructor: {0} |
attila@963 | 102 | type.error.improper.constructor.signature=Java constructor signature invalid: {0} |
aoqi@0 | 103 | type.error.cant.get.property=Cannot get property "{0}" of {1} |
aoqi@0 | 104 | type.error.cant.set.property=Cannot set property "{0}" of {1} |
aoqi@0 | 105 | type.error.cant.delete.property=Cannot delete property "{0}" of {1} |
aoqi@0 | 106 | type.error.cant.redefine.property=Cannot redefine property "{0}" of {1} |
aoqi@0 | 107 | type.error.property.not.writable="{0}" is not a writable property of {1} |
aoqi@0 | 108 | type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1} |
aoqi@0 | 109 | type.error.__proto__.set.non.extensible=Cannot set __proto__ of non-extensible {0} |
aoqi@0 | 110 | type.error.circular.__proto__.set=Cannot create__proto__ cycle for {0} |
aoqi@0 | 111 | |
aoqi@0 | 112 | # miscellaneous |
aoqi@0 | 113 | type.error.regex.cant.supply.flags=Cannot supply flags when constructing one RegExp from another |
aoqi@0 | 114 | type.error.inconsistent.property.descriptor=inconsistent property descriptor |
aoqi@0 | 115 | type.error.bad.default.value=bad default value: {0} |
aoqi@0 | 116 | type.error.function.apply.expects.array=Function.prototype.apply expects an Array for second argument |
aoqi@0 | 117 | type.error.instanceof.on.non.object=instanceof must be called with a javascript or java object as the right-hand argument |
aoqi@0 | 118 | type.error.cannot.convert.to.interface=object {0} cannot be converted to {1} due to "{2}" |
aoqi@0 | 119 | type.error.array.reduce.invalid.init=invalid initialValue for Array.prototype.reduce |
aoqi@0 | 120 | type.error.array.reduceright.invalid.init=invalid initialValue for Array.prototype.reduceRight |
hannesw@1109 | 121 | type.error.assign.constant=Assignment to constant "{0}" |
aoqi@0 | 122 | type.error.cannot.get.default.string=Cannot get default string value |
aoqi@0 | 123 | type.error.cannot.get.default.number=Cannot get default number value |
aoqi@0 | 124 | type.error.cant.apply.with.to.null=Cannot apply "with" to null |
aoqi@0 | 125 | type.error.cant.apply.with.to.undefined=Cannot apply "with" to undefined |
attila@1363 | 126 | type.error.cant.apply.with.to.non.scriptobject=Cannot apply "with" to non script object. Consider using "with(Object.bindProperties('{'}, nonScriptObject))". |
aoqi@0 | 127 | type.error.in.with.non.object=Right hand side of "in" cannot be non-Object, found {0} |
aoqi@0 | 128 | type.error.prototype.not.an.object="prototype" of {0} is not an Object, it is {1} |
aoqi@0 | 129 | type.error.cant.load.script=Cannot load script from {0} |
aoqi@0 | 130 | type.error.JSON.stringify.cyclic=JSON.stringify got a cyclic data structure |
aoqi@0 | 131 | type.error.cant.convert.string.to.char=Cannot convert string to character; its length must be exactly 1 |
hannesw@1011 | 132 | type.error.cant.convert.number.to.char=Cannot convert number to character; it is out of 0-65535 range |
aoqi@0 | 133 | type.error.cant.convert.to.java.string=Cannot convert object of type {0} to a Java argument of string type |
aoqi@0 | 134 | type.error.cant.convert.to.java.number=Cannot convert object of type {0} to a Java argument of number type |
hannesw@1011 | 135 | type.error.cant.convert.to.javascript.array=Can only convert Java arrays and lists to JavaScript arrays. Cannot convert object of type {0}. |
aoqi@0 | 136 | type.error.extend.expects.at.least.one.argument=Java.extend needs at least one argument. |
aoqi@0 | 137 | type.error.extend.expects.at.least.one.type.argument=Java.extend needs at least one type argument. |
aoqi@0 | 138 | type.error.extend.expects.java.types=Java.extend needs Java types as its arguments. |
aoqi@0 | 139 | type.error.extend.ambiguous.defining.class=There is no class loader that can see all of {0} at once. |
aoqi@0 | 140 | type.error.extend.ERROR_FINAL_CLASS=Can not extend final class {0}. |
aoqi@0 | 141 | type.error.extend.ERROR_NON_PUBLIC_CLASS=Can not extend/implement non-public class/interface {0}. |
aoqi@0 | 142 | type.error.extend.ERROR_NO_ACCESSIBLE_CONSTRUCTOR=Can not extend class {0} as it has no public or protected constructors. |
aoqi@0 | 143 | type.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. |
aoqi@0 | 144 | type.error.extend.ERROR_NO_COMMON_LOADER=Can not find a common class loader for ScriptObject and {0}. |
aoqi@0 | 145 | type.error.extend.ERROR_FINAL_FINALIZER=Can not extend class because {0} has a final finalize method. |
attila@1214 | 146 | type.error.extend.ERROR_OTHER=Can not extend/implement {0} because of {1} |
aoqi@0 | 147 | type.error.no.constructor.matches.args=Can not construct {0} with the passed arguments; they do not match any of its constructor signatures. |
aoqi@0 | 148 | type.error.no.method.matches.args=Can not invoke method {0} with the passed arguments; they do not match any of its method signatures. |
sundar@1347 | 149 | type.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. |
hannesw@1011 | 150 | type.error.method.not.constructor=Java method {0} cannot be used as a constructor. |
aoqi@0 | 151 | type.error.env.not.object=$ENV must be an Object. |
aoqi@0 | 152 | type.error.unsupported.java.to.type=Unsupported Java.to target type {0}. |
sundar@1533 | 153 | type.error.java.array.conversion.failed=Java.to conversion to array type {0} failed |
hannesw@1011 | 154 | type.error.constructor.requires.new=Constructor {0} requires "new". |
aoqi@0 | 155 | type.error.new.on.nonpublic.javatype=new cannot be used with non-public java type {0}. |
aoqi@0 | 156 | |
aoqi@0 | 157 | range.error.dataview.constructor.offset=Wrong offset or length in DataView constructor |
aoqi@0 | 158 | range.error.dataview.offset=Offset is outside the bounds of the DataView |
aoqi@0 | 159 | range.error.inappropriate.array.length=inappropriate array length: {0} |
aoqi@0 | 160 | range.error.inappropriate.array.buffer.length=inappropriate array buffer length: {0} |
aoqi@0 | 161 | range.error.invalid.fraction.digits=fractionDigits argument to {0} must be in [0, 20] |
aoqi@0 | 162 | range.error.invalid.precision=precision argument toPrecision() must be in [1, 21] |
aoqi@0 | 163 | range.error.invalid.radix=radix argument must be in [2, 36] |
aoqi@0 | 164 | range.error.invalid.date=Invalid Date |
aoqi@0 | 165 | range.error.too.many.errors=Script contains too many errors: {0} errors |
attila@963 | 166 | range.error.concat.string.too.big=Concatenated String is too big |
sundar@1525 | 167 | range.error.exec.returned.non.zero=$EXEC returned non-zero exit code: {0} |
aoqi@0 | 168 | |
aoqi@0 | 169 | reference.error.not.defined="{0}" is not defined |
aoqi@0 | 170 | reference.error.cant.be.used.as.lhs="{0}" can not be used as the left-hand side of assignment |
aoqi@0 | 171 | |
aoqi@0 | 172 | syntax.error.invalid.json=Invalid JSON: {0} |
aoqi@0 | 173 | syntax.error.strict.cant.delete=cannot delete "{0}" in strict mode |
hannesw@991 | 174 | syntax.error.redeclare.variable=Variable "{0}" has already been declared |
hannesw@1109 | 175 | syntax.error.unprotected.switch.declaration=Unsupported {0} declaration in unprotected switch statement |
aoqi@0 | 176 | |
aoqi@0 | 177 | io.error.cant.write=cannot write "{0}" |
attila@1535 | 178 | |
aoqi@0 | 179 | config.error.no.dest=no destination directory supplied |
attila@1535 | 180 | config.error.eagerCompilationConflictsWithOptimisticTypes={0}=false (eager compilation) is not compatible with {1}=true. |
aoqi@0 | 181 | |
aoqi@0 | 182 | uri.error.bad.uri=Bad URI "{0}" near offset {1} |
attila@1384 | 183 | list.adapter.null.global=Attempted to create the adapter from outside a JavaScript execution context. |