1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
#
# JavaScript tools 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 oqr
# 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):
#
# 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.
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 org.mozilla.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|140|150\n\
\ -opt [-1|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|140|150 \n\
\ -opt [1-9] \n\
\ -debug \n\
\ -nosource \n\
\ -o outfile.class \n\
\ -package packageName \n\
\ -extends extendsClassName \n\
\ -implements implementsClassName
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.
msg.idswitch.same_string =\
The string {0} is used second time in the switch code. \
Previous occurrence was at line {1}
msg.idswitch.file_end_in_switch =\
End of file inside tag {0}
msg.idswitch.bad_tag_order =\
String switch tag {0} is not allowed here
msg.idswitch.no_end_with_value =\
End for tag {0} can not contain value
msg.idswitch.no_value_allowed =\
Tag {0} can not contain value
msg.idswitch.no_end_usage =\
Tag {0} can not be used as end tag
msg.idswitch.no_file_argument =\
File argument should be given
msg.idswitch.too_many_arguments =\
Too many arguments are given
msg.idswitch.bad_option =\
Invalid option {0}
msg.idswitch.bad_option_char =\
Invalid option letter {0}
msg.idswitch.bad_invocation =\
StringIdMap: {0}\n\
For more information, try\n\
java org.mozilla.javascript.tools.idswitch.StringIdMap --help
msg.idswitch.io_error =\
StringIdMap: IO error, {0}
msg.idswitch.usage = \
Usage: java org.mozilla.javascript.tools.idswitch.StringIdMap [OPTIONS] JAVA_SOURCE_FILE\n\
Generates efficient string dispatch code in JAVA_SOURCE_FILE.\n\
The resulting Java source fragment replaces the old dispatch code.\n\
If JAVA_SOURCE_FILE is -, standard input is used for Java source and the\n\
result is sent to standard output.\n\
\n\
\ -h, --help display this help and exit\n\
\ --version display version information and exit\n\
\n\
Note: the original file will be overwritten without any backup actions\n\
\ and all code inside #generated# tag will be replaced by new one.
msg.idswitch.version = \
org.mozilla.javascript.tools.idswitch.StringIdMap version 0.2
|