зеркало из https://github.com/mozilla/gecko-dev.git
Move files to rhino/toolsrc
This commit is contained in:
Родитель
823e33c1e7
Коммит
1944203c68
|
@ -1,127 +0,0 @@
|
|||
#
|
||||
# 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.
|
|
@ -1,127 +0,0 @@
|
|||
#
|
||||
# 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.
|
Загрузка…
Ссылка в новой задаче