📄 messages.properties
字号:
## Default JavaScript messages file.## The contents of this file are subject to the Netscape Public# License Version 1.1 (the "License"); you may not use this file# except in compliance with the License. You may obtain a copy of# the License at http://www.mozilla.org/NPL/## Software distributed under the License is distributed on an "AS# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or# implied. See the License for the specific language governing# rights and limitations under the License.## The Original Code is Rhino code, released# May 6, 1999.## The Initial Developer of the Original Code is Netscape# Communications Corporation. Portions created by Netscape are# Copyright (C) 1997-1999 Netscape Communications Corporation. All# Rights Reserved.## Contributor(s):# Norris Boyd## Alternatively, the contents of this file may be used under the# terms of the GNU Public License (the "GPL"), in which case the# provisions of the GPL are applicable instead of those above.# If you wish to allow use of your version of this file only# under the terms of the GPL and not to allow others to use your# version of this file under the NPL, indicate your decision by# deleting the provisions above and replace them with the notice# and other provisions required by the GPL. If you do not delete# the provisions above, a recipient may use your version of this# file under either the NPL or the GPL.# This is replaced during jar assembly from property string# and should not be translatedimplementation.version = @IMPLEMENTATION.VERSION@## To add JavaScript error messages for a particular locale, create a# new Messages_[locale].properties file, where [locale] is the Java# string abbreviation for that locale. For example, JavaScript# messages for the Polish locale should be located in# Messages_pl.properties, and messages for the Italian Swiss locale# should be located in Messages_it_CH.properties. Message properties# files should be accessible through the classpath under# org.mozilla.javascript.resources## See:# java.util.ResourceBundle# java.text.MessageFormat## SomeJavaClassWhereUsed# Codegenmsg.dup.parms =\ Duplicate parameter name "{0}".msg.too.big.jump =\ Program too complex: too big jump offset.msg.too.big.index =\ Program too complex: internal index exceeds 64K limit.# Contextmsg.ctor.not.found =\ Constructor for "{0}" not found.msg.not.ctor =\ "{0}" is not a constructor.# FunctionObjectmsg.varargs.ctor =\ Method or constructor "{0}" must be static with the signature \ "(Context cx, Object[] args, Function ctorObj, boolean inNewExpr)" \ to define a variable arguments constructor.msg.varargs.fun =\ Method "{0}" must be static with the signature \ "(Context cx, Scriptable thisObj, Object[] args, Function funObj)" \ to define a variable arguments function.msg.incompat.call =\ Method "{0}" called on incompatible object.msg.bad.parms =\ Unsupported parameter type "{0}" in method "{1}".msg.bad.method.return =\ Unsupported return type "{0}" in method "{1}".msg.bad.ctor.return =\ Construction of objects of type "{0}" is not supported.msg.no.overload =\ Method "{0}" occurs multiple times in class "{1}".msg.method.not.found =\ Method "{0}" not found in "{1}".# IRFactorymsg.bad.for.in.lhs =\ Invalid left-hand side of for..in loop.msg.mult.index =\ Only one variable allowed in for..in loop.msg.cant.convert =\ Can''t convert to type "{0}".msg.bad.assign.left =\ Invalid assignment left-hand side.msg.bad.decr =\ Invalid decerement operand.msg.bad.incr =\ Invalid increment operand.# NativeGlobalmsg.cant.call.indirect =\ Function "{0}" must be called directly, and not by way of a \ function of another name.msg.eval.nonstring =\ Calling eval() with anything other than a primitive string value will \ simply return the value. Is this what you intended?msg.eval.nonstring.strict =\ Calling eval() with anything other than a primitive string value is not \ allowed in the strict mode.# NativeCallmsg.only.from.new =\ "{0}" may only be invoked from a "new" expression.msg.deprec.ctor =\ The "{0}" constructor is deprecated.# NativeFunctionmsg.no.function.ref.found =\ no source found to decompile function reference {0}msg.arg.isnt.array =\ second argument to Function.prototype.apply must be an array# NativeGlobalmsg.bad.esc.mask =\ invalid string escape mask# NativeJavaClassmsg.cant.instantiate =\ error instantiating ({0}): class {1} is interface or abstractmsg.bad.ctor.sig =\ Found constructor with wrong signature: \ {0} calling {1} with signature {2}msg.not.java.obj =\ Expected argument to getClass() to be a Java object.msg.no.java.ctor =\ Java constructor for "{0}" with arguments "{1}" not found.# NativeJavaMethodmsg.method.ambiguous =\ The choice of Java method {0}.{1} matching JavaScript argument types ({2}) is ambiguous; \ candidate methods are: {3}msg.constructor.ambiguous =\ The choice of Java constructor {0} matching JavaScript argument types ({1}) is ambiguous; \ candidate constructors are: {2}# NativeJavaObjectmsg.conversion.not.allowed =\ Cannot convert {0} to {1}msg.no.empty.interface.conversion =\ Cannot convert {0} to interface {1} with no methodsmsg.no.function.interface.conversion =\ Cannot convert function {0} to interface since it contains methods with \ different signatures# NativeJavaPackagemsg.not.classloader =\ Constructor for "Packages" expects argument of type java.lang.Classloader# NativeRegExpmsg.bad.quant =\ Invalid quantifier {0}msg.overlarge.backref =\ Overly large back reference {0}msg.overlarge.min =\ Overly large minimum {0}msg.overlarge.max =\ Overly large maximum {0}msg.zero.quant =\ Zero quantifier {0}msg.max.lt.min =\ Maximum {0} less than minimummsg.unterm.quant =\ Unterminated quantifier {0}msg.unterm.paren =\ Unterminated parenthetical {0}msg.unterm.class =\ Unterminated character class {0}msg.bad.range =\ Invalid range in character class.msg.trail.backslash =\ Trailing \\ in regular expression.msg.re.unmatched.right.paren =\ unmatched ) in regular expression.msg.no.regexp =\ Regular expressions are not available.msg.bad.backref =\ back-reference exceeds number of capturing parentheses.msg.bad.regexp.compile =\ Only one argument may be specified if the first argument to \ RegExp.prototype.compile is a RegExp object.# Parsermsg.got.syntax.errors = \ Compilation produced {0} syntax errors.# NodeTransformermsg.dup.label =\ duplicatet labelmsg.undef.label =\ undefined labemsg.bad.break =\ unlabelled break must be inside loop or switchmsg.continue.outside =\ continue must be inside loopmsg.continue.nonloop =\ continue can only use labeles of iteration statementsmsg.fn.redecl =\ function "{0}" redeclared; prior definition will be ignoredmsg.bad.throw.eol =\ Line terminator is not allowed between the throw keyword and throw \ expression.msg.no.paren.parms =\ missing ( before function parameters.msg.no.parm =\ missing formal parametermsg.no.paren.after.parms =\ missing ) after formal parametersmsg.no.brace.body =\ missing '{' before function bodymsg.no.brace.after.body =\ missing } after function bodymsg.no.paren.cond =\ missing ( before conditionmsg.no.paren.after.cond =\ missing ) after conditionmsg.no.semi.stmt =\ missing ; before statementmsg.no.name.after.dot =\ missing name after . operatormsg.no.name.after.coloncolon =\ missing name after :: operatormsg.no.name.after.dotdot =\ missing name after .. operatormsg.no.name.after.xmlAttr =\ missing name after .@msg.no.bracket.index =\ missing ] in index expressionmsg.no.paren.switch =\ missing ( before switch expressionmsg.no.paren.after.switch =\ missing ) after switch expressionmsg.no.brace.switch =\ missing '{' before switch bodymsg.bad.switch =\ invalid switch statementmsg.no.colon.case =\ missing : after case expressionmsg.double.switch.default =\ double default label in the switch statementmsg.no.while.do =\ missing while after do-loop body
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -