src/jdk/nashorn/internal/runtime/resources/Messages.properties

changeset 144
4be452026847
parent 67
6f58c28c4faa
child 175
5eb1427b6a6d
equal deleted inserted replaced
143:606a1946e3e2 144:4be452026847
40 parser.error.expected.operand=Expected an operand but found {0} 40 parser.error.expected.operand=Expected an operand but found {0}
41 parser.error.expected.stmt=Expected statement but found {0} 41 parser.error.expected.stmt=Expected statement but found {0}
42 parser.error.expected.comma=Expected comma but found {0} 42 parser.error.expected.comma=Expected comma but found {0}
43 parser.error.expected=Expected {0} but found {1} 43 parser.error.expected=Expected {0} but found {1}
44 parser.error.invalid.return=Invalid return statement 44 parser.error.invalid.return=Invalid return statement
45 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.
46 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.
45 parser.error.property.redefinition=Property "{0}" already defined 47 parser.error.property.redefinition=Property "{0}" already defined
46 parser.error.unexpected.token=Unexpected token: {0} 48 parser.error.unexpected.token=Unexpected token: {0}
47 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop 49 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
48 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop 50 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop
49 parser.error.missing.catch.or.finally=Missing catch or finally after try 51 parser.error.missing.catch.or.finally=Missing catch or finally after try
55 parser.error.strict.no.with="with" statement cannot be used in strict mode 57 parser.error.strict.no.with="with" statement cannot be used in strict mode
56 parser.error.strict.name="{0}" cannot be used as {1} in strict mode 58 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
57 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode 59 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
58 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}" 60 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
59 parser.error.strict.no.octal=cannot use octal value in strict mode 61 parser.error.strict.no.octal=cannot use octal value in strict mode
60 parser.error.strict.no.func.here=In strict mode, functions can only be declared at top-level or immediately within a function 62 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.
61 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object 63 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
62 64
63 # not the expected type in a given context 65 # not the expected type in a given context
64 type.error.not.an.object={0} is not an Object 66 type.error.not.an.object={0} is not an Object
65 type.error.not.a.boolean={0} is not a Boolean 67 type.error.not.a.boolean={0} is not a Boolean

mercurial