| # | |
| # Message properties for tools | |
| # | |
| msg.expected.string.arg =\ | |
| Expected a string argument. | |
| msg.class.not.found =\ | |
| Class "{0}" not found. | |
| msg.couldnt.open =\ | |
| Couldn''t open file "{0}". | |
| msg.no-opt =\ | |
| Must have the com.netscape.javascript.optimizer package available \ | |
| to compile to class files. | |
| msg.shell.usage =\ | |
| Didn''t understand "{0}". \n\ | |
| Valid arguments are:\n\ | |
| \ -w\n\ | |
| \ -version 100|110|120|130\n\ | |
| \ -opt [-1|0-9]\n\ | |
| \ -debug [0-9]\n\ | |
| \ -debugQ [0-9]\n\ | |
| \ -f script-filename\n\ | |
| \ -e script-source | |
| msg.help =\ | |
| \n\ | |
| Command Description \n\ | |
| ======= =========== \n\ | |
| help() Display usage and help messages. \n\ | |
| defineClass(className) Define an extension using the Java class \n\ | |
| \ named with the string argument. \n\ | |
| \ Uses ScriptableObject.defineClass(). \n\ | |
| load(["foo.js", ...]) Load JavaScript source files named by \n\ | |
| \ string arguments. \n\ | |
| loadClass(className) Load a class named by a string argument. \n\ | |
| \ The class must be a script compiled to a \n\ | |
| \ class file. \n\ | |
| print([expr ...]) Evaluate and print expressions. \n\ | |
| quit() Quit the shell. \n\ | |
| version([number]) Get or set the JavaScript version number. \n\ | |
| msg.warning =\ | |
| warning: {0} | |
| msg.format1 =\ | |
| {0} | |
| msg.format2 =\ | |
| line {0}: {1} | |
| msg.format3 =\ | |
| "{0}", line {1}: {2} | |
| msg.uncaughtJSException =\ | |
| uncaught JavaScript exception: {0} | |
| msg.jsc.usage =\ | |
| Didn''t understand "{0}". \n\ | |
| Valid arguments are: \n\ | |
| \ -version 100|110|120|130 \n\ | |
| \ -opt [1-9] \n\ | |
| \ -debug \n\ | |
| \ -debuglevel [0-9]\n\ | |
| \ -nosource \n\ | |
| \ -o outfile.class | |
| msg.no.file =\ | |
| A file name must be specified to compile. | |
| msg.invalid.classfile.name =\ | |
| File "{0}" is not a valid class file name. | |
| msg.extension.not.js =\ | |
| File "{0}" is not a valid js file name. | |
| msg.jsfile.not.found=\ | |
| File "{0}" not found. | |
| msg.multiple.js.to.file =\ | |
| Cannot compile multiple js files to "{0}". | |
| msg.package.name =\ | |
| "{0}" is not a valid package name. | |
| msg.spawn.args =\ | |
| Argument to spawn() must be a function or script. | |
| msg.must.implement.Script =\ | |
| Argument to loadClass() must be the name of a class that implements \ | |
| the Script interface. Class files generated by compiling scripts \ | |
| will implement Script. |