src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher_zh_CN.properties
author ljiang
Wed, 09 Jan 2019 00:25:41 -0800
changeset 53219 ef41d615b3f0
parent 51246 73f3487f271d
permissions -rw-r--r--
8215994: JDK 12 l10n resource file update - msg drop 10 Reviewed-by: billyh, ssadetsky, naoto
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
51246
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     1
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     2
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     4
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    10
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    15
# accompanied this code).
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    16
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    20
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    23
# questions.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    24
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    25
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    26
# Messages in this file which use "placeholders" for values (e.g. {0}, {1})
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    27
# are preceded by a stylized comment describing the type of the corresponding
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    28
# values.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    29
# The simple types currently in use are:
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    30
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    31
# annotation        annotation compound
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    32
# boolean           true or false
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    33
# diagnostic        a sub-message; see compiler.misc.*
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    34
# fragment          similar to 'message segment', but with more specific type
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    35
# modifier          a Java modifier; e.g. public, private, protected
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    36
# file              a file URL
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    37
# file object       a file URL - similar to 'file' but typically used for source/class files, hence more specific
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    38
# flag              a Flags.Flag instance
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    39
# name              a name, typically a Java identifier
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    40
# number            an integer
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    41
# option name       the name of a command line option
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    42
# source version    a source version number, such as 1.5, 1.6, 1.7
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    43
# string            a general string
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    44
# symbol            the name of a declared type
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    45
# symbol kind       the kind of a symbol (i.e. method, variable)
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    46
# kind name         an informative description of the kind of a declaration; see compiler.misc.kindname.*
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    47
# token             the name of a non-terminal in source code; see compiler.misc.token.*
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    48
# type              a Java type; e.g. int, X, X<T>
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    49
# object            a Java object (unspecified)
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    50
# unused            the value is not used in this message
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    51
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    52
# The following compound types are also used:
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    53
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    54
# collection of X   a comma-separated collection of items; e.g. collection of type
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    55
# list of X         a comma-separated list of items; e.g. list of type
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    56
# set of X          a comma-separated set of items; e.g. set of modifier
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    57
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    58
# These may be composed:
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    59
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    60
# list of type or message segment
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    61
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    62
# The following type aliases are supported:
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    63
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    64
# message segment --> diagnostic or fragment
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    65
# file name --> file, path or file object
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    66
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    67
# Custom comments are supported in parenthesis i.e.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    68
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    69
# number (classfile major version)
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    70
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    71
# These comments are used internally in order to generate an enum-like class declaration containing
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    72
# a method/field for each of the diagnostic keys listed here. Those methods/fields can then be used
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    73
# by javac code to build diagnostics in a type-safe fashion.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    74
#
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    75
# In addition, these comments are verified by the jtreg test test/tools/javac/diags/MessageInfo,
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    76
# using info derived from the collected set of examples in test/tools/javac/diags/examples.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    77
# MessageInfo can also be run as a standalone utility providing more facilities
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    78
# for manipulating this file. For more details, see MessageInfo.java.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    79
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    80
## All errors are preceded by this string.
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    81
launcher.error=\u9519\u8BEF: 
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    82
53219
ef41d615b3f0 8215994: JDK 12 l10n resource file update - msg drop 10
ljiang
parents: 51246
diff changeset
    83
launcher.err.no.args=\u65E0\u6E90\u6587\u4EF6\u7684\u8DEF\u5F84
51246
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    84
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    85
# 0: string
53219
ef41d615b3f0 8215994: JDK 12 l10n resource file update - msg drop 10
ljiang
parents: 51246
diff changeset
    86
launcher.err.invalid.filename=\u6E90\u6587\u4EF6\u7684\u8DEF\u5F84\u65E0\u6548\uFF1A{0}
51246
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    87
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    88
# 0: path
53219
ef41d615b3f0 8215994: JDK 12 l10n resource file update - msg drop 10
ljiang
parents: 51246
diff changeset
    89
launcher.err.file.not.found=\u627E\u4E0D\u5230\u6E90\u6587\u4EF6\uFF1A{0}
51246
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    90
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    91
launcher.err.compilation.failed=\u7F16\u8BD1\u5931\u8D25
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    92
53219
ef41d615b3f0 8215994: JDK 12 l10n resource file update - msg drop 10
ljiang
parents: 51246
diff changeset
    93
launcher.err.no.class=\u5728\u6E90\u6587\u4EF6\u4E2D\u672A\u58F0\u660E\u7C7B
51246
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    94
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    95
launcher.err.main.not.public.static=''main'' \u65B9\u6CD5\u672A\u58F0\u660E ''public static''
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    96
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    97
launcher.err.main.not.void=\u672A\u4F7F\u7528\u8FD4\u56DE\u7C7B\u578B ''void'' \u58F0\u660E ''main'' \u65B9\u6CD5
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    98
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
    99
# 0: string
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   100
launcher.err.cant.find.class=\u627E\u4E0D\u5230\u7C7B\uFF1A{0}
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   101
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   102
# 0: string
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   103
launcher.err.cant.find.main.method=\u5728\u7C7B {0} \u4E2D\u627E\u4E0D\u5230 main(String[]) \u65B9\u6CD5
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   104
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   105
# 0: string
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   106
launcher.err.cant.access.main.method=\u65E0\u6CD5\u8BBF\u95EE\u7C7B {0} \u4E2D\u7684 main \u65B9\u6CD5
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   107
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   108
# 0: path, 1: object
53219
ef41d615b3f0 8215994: JDK 12 l10n resource file update - msg drop 10
ljiang
parents: 51246
diff changeset
   109
launcher.err.cant.read.file=\u8BFB\u53D6\u6E90\u6587\u4EF6 {0} \u65F6\u51FA\u9519\uFF1A{1}
51246
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   110
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   111
# 0: string
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   112
launcher.err.no.value.for.option=\u6CA1\u6709\u4E3A\u9009\u9879 {0} \u6307\u5B9A\u503C
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   113
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   114
# 0: string
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   115
launcher.err.invalid.value.for.source=--source \u9009\u9879\u7684\u503C\u65E0\u6548\uFF1A{0}\n
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   116
73f3487f271d 8207948: JDK 11 L10n resource file update msg drop 10
ljiang
parents:
diff changeset
   117
launcher.err.enable.preview.requires.source=--enable-preview \u5FC5\u987B\u4E0E --source \u4E00\u8D77\u4F7F\u7528