author | sundar |
Mon, 01 Jul 2013 23:36:40 +0530 | |
changeset 18629 | 6b0b6aab4280 |
parent 18330 | 0d7d60a0eec6 |
child 18632 | 93017277615e |
permissions | -rw-r--r-- |
16147 | 1 |
# |
16151 | 2 |
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
16147 | 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 |
lexer.error.edit.string.missing.brace=Edit string expression missing closing brace |
|
26 |
lexer.error.here.missing.end.marker=Here string missing end marker "{0}" |
|
27 |
lexer.error.missing.close.quote=Missing close quote |
|
18330
0d7d60a0eec6
8016522: Numeric literal must not be followed by IdentifierStart
hannesw
parents:
18318
diff
changeset
|
28 |
lexer.error.missing.space.after.number=Missing space after numeric literal |
16147 | 29 |
lexer.error.invalid.hex=Invalid hex digit |
30 |
lexer.error.strict.no.octal=cannot use octal escapes in strict mode |
|
18317
2f5434c9c9fd
8015346: JSON parsing issues with escaped strings, octal, decimal numbers
sundar
parents:
17765
diff
changeset
|
31 |
lexer.error.json.invalid.number=Invalid JSON number format |
2f5434c9c9fd
8015346: JSON parsing issues with escaped strings, octal, decimal numbers
sundar
parents:
17765
diff
changeset
|
32 |
lexer.error.invalid.escape.char=Invalid escape character |
16147 | 33 |
lexer.error.illegal.identifier.character=Illegal character in identifier |
34 |
||
35 |
parser.error.illegal.continue.stmt=Illegal continue statement |
|
36 |
parser.error.illegal.break.stmt=Illegal break statement |
|
37 |
parser.error.invalid.lvalue=Invalid left hand side for assignment |
|
38 |
parser.error.undefined.label=Undefined Label "{0}" |
|
39 |
parser.error.duplicate.label=Duplicate Label "{0}" |
|
40 |
parser.error.duplicate.default.in.switch=Switch already has default case |
|
41 |
parser.error.expected.literal=Expected a literal but found {0} |
|
42 |
parser.error.expected.operand=Expected an operand but found {0} |
|
43 |
parser.error.expected.stmt=Expected statement but found {0} |
|
44 |
parser.error.expected.comma=Expected comma but found {0} |
|
18629
6b0b6aab4280
8019508: Comma handling in object literal parsing is wrong
sundar
parents:
18330
diff
changeset
|
45 |
parser.error.expected.property.id=Expected property id but found {0} |
16147 | 46 |
parser.error.expected=Expected {0} but found {1} |
47 |
parser.error.invalid.return=Invalid return statement |
|
16530
201d682e75f4
8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
attila
parents:
16211
diff
changeset
|
48 |
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. |
201d682e75f4
8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
attila
parents:
16211
diff
changeset
|
49 |
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. |
16147 | 50 |
parser.error.property.redefinition=Property "{0}" already defined |
51 |
parser.error.unexpected.token=Unexpected token: {0} |
|
52 |
parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop |
|
53 |
parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop |
|
54 |
parser.error.missing.catch.or.finally=Missing catch or finally after try |
|
55 |
parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0} |
|
56 |
parser.error.regex.repeated.flag=Repeated RegExp flag: {0} |
|
57 |
parser.error.regex.syntax={0} |
|
58 |
||
59 |
# strict mode error messages |
|
60 |
parser.error.strict.no.with="with" statement cannot be used in strict mode |
|
61 |
parser.error.strict.name="{0}" cannot be used as {1} in strict mode |
|
62 |
parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode |
|
63 |
parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}" |
|
64 |
parser.error.strict.no.octal=cannot use octal value in strict mode |
|
16530
201d682e75f4
8010652: Eliminate non-child references in Block/FunctionNode, and make few node types immutable
attila
parents:
16211
diff
changeset
|
65 |
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. |
16147 | 66 |
type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object |
67 |
||
68 |
# not the expected type in a given context |
|
69 |
type.error.not.an.object={0} is not an Object |
|
70 |
type.error.not.a.boolean={0} is not a Boolean |
|
71 |
type.error.not.a.date={0} is not a Date |
|
72 |
type.error.not.a.number={0} is not a Number |
|
73 |
type.error.not.a.regexp={0} is not a RegExp |
|
74 |
type.error.not.a.string={0} is not a String |
|
75 |
type.error.not.a.function={0} is not a function |
|
76 |
type.error.not.a.constructor={0} is not a constructor function |
|
77 |
type.error.not.a.file={0} is not a File |
|
78 |
||
79 |
# operations not permitted on undefined |
|
80 |
type.error.cant.call.undefined=Cannot call undefined |
|
81 |
type.error.cant.read.property.of.undefined=Cannot read property "{0}" from undefined |
|
82 |
type.error.cant.set.property.of.undefined=Cannot set property "{0}" of undefined |
|
83 |
type.error.cant.delete.property.of.undefined=Cannot delete property "{0}" of undefined |
|
84 |
||
85 |
# other wrong usages of property |
|
86 |
type.error.property.has.no.setter=Cannot set property "{0}" of {1} that has only a getter |
|
87 |
type.error.cant.set.proto.to.non.object=Cannot set Object {0}'s __proto__ to be a non-object like {1} |
|
88 |
type.error.no.such.function={1} has no such function "{0}" |
|
89 |
type.error.cant.get.property=Cannot get property "{0}" of {1} |
|
90 |
type.error.cant.set.property=Cannot set property "{0}" of {1} |
|
91 |
type.error.cant.delete.property=Cannot delete property "{0}" of {1} |
|
92 |
type.error.cant.redefine.property=Cannot redefine property "{0}" of {1} |
|
93 |
type.error.property.not.writable="{0}" is not a writable property of {1} |
|
94 |
type.error.object.non.extensible=Cannot add new property "{0}" to non-extensible {1} |
|
95 |
||
96 |
# miscellaneous |
|
97 |
type.error.regex.cant.supply.flags=Cannot supply flags when constructing one RegExp from another |
|
98 |
type.error.inconsistent.property.descriptor=inconsistent property descriptor |
|
99 |
type.error.bad.default.value=bad default value: {0} |
|
100 |
type.error.function.apply.expects.array=Function.prototype.apply expects an Array for second argument |
|
101 |
type.error.instanceof.on.non.object=instanceof cannot be used on objects without [[HasInstance]] |
|
102 |
type.error.cannot.convert.to.interface=object {0} cannot be converted to {1} due to "{2}" |
|
103 |
type.error.array.reduce.invalid.init=invalid initialValue for Array.prototype.reduce |
|
104 |
type.error.array.reduceright.invalid.init=invalid initialValue for Array.prototype.reduceRight |
|
105 |
type.error.cannot.get.default.string=Cannot get default string value |
|
106 |
type.error.cannot.get.default.number=Cannot get default number value |
|
107 |
type.error.cant.apply.with.to.null=Cannot apply "with" to null |
|
108 |
type.error.cant.apply.with.to.undefined=Cannot apply "with" to undefined |
|
109 |
type.error.in.with.non.object=Right hand side of "in" cannot be non-Object, found {0} |
|
110 |
type.error.prototype.not.an.object="prototype" of {0} is not an Object, it is {1} |
|
111 |
type.error.cant.load.script=Cannot load script from {0} |
|
112 |
type.error.JSON.stringify.cyclic=JSON.stringify got a cyclic data structure |
|
113 |
type.error.cant.convert.string.to.char=Cannot convert string to character; its length must be exactly 1 |
|
114 |
type.error.cant.convert.number.to.char=Cannot convert number to character; it's out of 0-65535 range |
|
115 |
type.error.cant.convert.to.java.string=Cannot convert object of type {0} to a Java argument of string type |
|
116 |
type.error.cant.convert.to.java.number=Cannot convert object of type {0} to a Java argument of number type |
|
117 |
type.error.cant.convert.to.javascript.array=Can only convert Java arrays and lists to JavaScript arrays. Can't convert object of type {0}. |
|
16171
90dcd4fc42f0
8006168: ability to generate multi-type Java adapters
attila
parents:
16151
diff
changeset
|
118 |
type.error.extend.expects.at.least.one.argument=Java.extend needs at least one argument. |
16777
207a993adb9a
8011544: Allow subclassing Java classes from script without creating instances
attila
parents:
16530
diff
changeset
|
119 |
type.error.extend.expects.at.least.one.type.argument=Java.extend needs at least one type argument. |
16171
90dcd4fc42f0
8006168: ability to generate multi-type Java adapters
attila
parents:
16151
diff
changeset
|
120 |
type.error.extend.expects.java.types=Java.extend needs Java types as its arguments. |
90dcd4fc42f0
8006168: ability to generate multi-type Java adapters
attila
parents:
16151
diff
changeset
|
121 |
type.error.extend.ambiguous.defining.class=There is no class loader that can see all of {0} at once. |
16147 | 122 |
type.error.extend.ERROR_FINAL_CLASS=Can not extend final class {0}. |
123 |
type.error.extend.ERROR_NON_PUBLIC_CLASS=Can not extend/implement non-public class/interface {0}. |
|
124 |
type.error.extend.ERROR_NO_ACCESSIBLE_CONSTRUCTOR=Can not extend class {0} as it has no public or protected constructors. |
|
16171
90dcd4fc42f0
8006168: ability to generate multi-type Java adapters
attila
parents:
16151
diff
changeset
|
125 |
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. |
90dcd4fc42f0
8006168: ability to generate multi-type Java adapters
attila
parents:
16151
diff
changeset
|
126 |
type.error.extend.ERROR_NO_COMMON_LOADER=Can not find a common class loader for ScriptObject and {0}. |
16147 | 127 |
type.error.no.constructor.matches.args=Can not construct {0} with the passed arguments; they do not match any of its constructor signatures. |
128 |
type.error.no.method.matches.args=Can not invoke method {0} with the passed arguments; they do not match any of its method signatures. |
|
129 |
type.error.method.not.constructor=Java method {0} can't be used as a constructor. |
|
16211 | 130 |
type.error.env.not.object=$ENV must be an Object. |
17765
6b45f57bebc4
8015267: Allow conversion of JS arrays to Java List/Deque
attila
parents:
17758
diff
changeset
|
131 |
type.error.unsupported.java.to.type=Unsupported Java.to target type {0}. |
16147 | 132 |
range.error.inappropriate.array.length=inappropriate array length: {0} |
18318
5e4244619d79
8012291: NativeArray is inconsistent in using long for length and index in some places and int for the same in other places
hannesw
parents:
18317
diff
changeset
|
133 |
range.error.inappropriate.array.buffer.length=inappropriate array buffer length: {0} |
16147 | 134 |
range.error.invalid.fraction.digits=fractionDigits argument to {0} must be in [0, 20] |
135 |
range.error.invalid.precision=precision argument toPrecision() must be in [1, 21] |
|
136 |
range.error.invalid.radix=radix argument must be in [2, 36] |
|
137 |
range.error.invalid.date=Invalid Date |
|
138 |
range.error.too.many.errors=Script contains too many errors: {0} errors |
|
139 |
||
140 |
reference.error.not.defined="{0}" is not defined |
|
141 |
reference.error.cant.be.used.as.lhs="{0}" can not be used as the left-hand side of assignment |
|
142 |
||
143 |
syntax.error.invalid.json=Invalid JSON: {0} |
|
144 |
syntax.error.strict.cant.delete=cannot delete "{0}" in strict mode |
|
145 |
||
146 |
io.error.cant.write=cannot write "{0}" |
|
147 |
config.error.no.dest=no destination directory supplied |
|
148 |
||
149 |
uri.error.bad.uri=Bad URI "{0}" near offset {1} |
|
150 |