jdk/src/share/classes/sun/security/util/AuthResources_zh_CN.java
author ohair
Tue, 28 Dec 2010 15:53:50 -0800
changeset 7668 d4a77089c587
parent 5506 202f599c92aa
child 8203 e5debcae2183
permissions -rw-r--r--
6962318: Update copyright year Reviewed-by: xdono
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
7668
d4a77089c587 6962318: Update copyright year
ohair
parents: 5506
diff changeset
     2
 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5307
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package sun.security.util;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * <p> This class represents the <code>ResourceBundle</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * for the following packages:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * <ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * <li> com.sun.security.auth
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * <li> com.sun.security.auth.login
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * </ol>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
public class AuthResources_zh_CN extends java.util.ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    private static final Object[][] contents = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
        // NT principals
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
        {"invalid null input: value", "\u65e0\u6548\u7684\u7a7a\u8f93\u5165\uff1a {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
        {"NTDomainPrincipal: name", "NTDomainPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
        {"NTNumericCredential: name", "NTNumericCredential: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
        {"Invalid NTSid value", "\u65e0\u6548\u7684 NTSid \u503c"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
        {"NTSid: name", "NTSid: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
        {"NTSidDomainPrincipal: name", "NTSidDomainPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
        {"NTSidGroupPrincipal: name", "NTSidGroupPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
        {"NTSidPrimaryGroupPrincipal: name", "NTSidPrimaryGroupPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
        {"NTSidUserPrincipal: name", "NTSidUserPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
        {"NTUserPrincipal: name", "NTUserPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        // UnixPrincipals
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
        {"UnixNumericGroupPrincipal [Primary Group]: name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                "UnixNumericGroupPrincipal [\u4e3b\u7fa4\u7ec4]\uff1a {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
        {"UnixNumericGroupPrincipal [Supplementary Group]: name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
                "UnixNumericGroupPrincipal [\u9644\u52a0\u7fa4\u7ec4]\uff1a {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        {"UnixNumericUserPrincipal: name", "UnixNumericUserPrincipal: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        {"UnixPrincipal: name", "UnixPrincipal\uff1a {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        // com.sun.security.auth.login.ConfigFile
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
        {"Unable to properly expand config", "\u65e0\u6cd5\u5b8c\u5168\u6269\u5145 {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        {"extra_config (No such file or directory)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                "{0} \uff08\u6ca1\u6709\u6b64\u6587\u4ef6\u6216\u76ee\u5f55\uff09"},
5307
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    66
        {"Configuration Error:\n\tNo such file or directory",
7865cb8f2f54 6875904: Java 7 message synchronization 1
yhuang
parents: 2
diff changeset
    67
                "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u6ca1\u6709\u6b64\u6587\u4ef6\u6216\u76ee\u5f55"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
        {"Configuration Error:\n\tInvalid control flag, flag",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
                "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u65e0\u6548\u7684\u63a7\u5236\u6807\u8bb0\uff0c {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
        {"Configuration Error:\n\tCan not specify multiple entries for appName",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
            "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u65e0\u6cd5\u6307\u5b9a\u591a\u4e2a\u9879\u76ee {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
        {"Configuration Error:\n\texpected [expect], read [end of file]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
                "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u9884\u671f\u7684 [{0}], \u8bfb\u53d6 [\u6587\u4ef6\u672b\u7aef]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
        {"Configuration Error:\n\tLine line: expected [expect], found [value]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
            "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u884c {0}: \u9884\u671f\u7684 [{1}], \u627e\u5230 [{2}]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
        {"Configuration Error:\n\tLine line: expected [expect]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
            "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u884c {0}: \u9884\u671f\u7684 [{1}]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        {"Configuration Error:\n\tLine line: system property [value] expanded to empty value",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
            "\u914d\u7f6e\u9519\u8bef\uff1a\n\t\u884c {0}: \u7cfb\u7edf\u5c5e\u6027 [{1}] \u6269\u5145\u81f3\u7a7a\u503c"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        // com.sun.security.auth.module.JndiLoginModule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        {"username: ","\u7528\u6237\u540d\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        {"password: ","\u5bc6\u7801\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        // com.sun.security.auth.module.KeyStoreLoginModule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        {"Please enter keystore information",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                "\u8bf7\u8f93\u5165 keystore \u4fe1\u606f"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        {"Keystore alias: ","Keystore \u522b\u540d\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        {"Keystore password: ","Keystore \u5bc6\u7801\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        {"Private key password (optional): ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
            "\u79c1\u4eba\u5173\u952e\u5bc6\u7801\uff08\u53ef\u9009\u7684\uff09\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        // com.sun.security.auth.module.Krb5LoginModule
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
        {"Kerberos username [[defUsername]]: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                "Kerberos \u7528\u6237\u540d [{0}]: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
        {"Kerberos password for [username]: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
                " {0} \u7684 Kerberos \u5bc6\u7801: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
        /***    EVERYTHING BELOW IS DEPRECATED  ***/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        // com.sun.security.auth.PolicyFile
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        {": error parsing ", "\uff1a\u8bed\u6cd5\u89e3\u6790\u9519\u8bef "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        {": ", ": "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
        {": error adding Permission ", "\uff1a\u6dfb\u52a0\u6743\u9650\u9519\u8bef "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        {" ", " "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
        {": error adding Entry ", "\u6dfb\u52a0\u9879\u76ee\u9519\u8bef "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
        {"(", "("},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        {")", ")"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
        {"attempt to add a Permission to a readonly PermissionCollection",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
            "\u8bd5\u56fe\u5c06\u6743\u9650\u6dfb\u52a0\u81f3\u53ea\u8bfb\u7684 PermissionCollection"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        // com.sun.security.auth.PolicyParser
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        {"expected keystore type", "\u9884\u671f\u7684 keystore \u7c7b\u578b"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        {"can not specify Principal with a ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
                "\u65e0\u6cd5\u4ee5\u6b64\u6765\u6307\u5b9a Principal "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        {"wildcard class without a wildcard name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
                "\u65e0\u901a\u914d\u5b57\u7b26\u540d\u79f0\u7684\u901a\u914d\u5b57\u7b26\u7c7b"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
        {"expected codeBase or SignedBy", "\u9884\u671f\u7684 codeBase \u6216 SignedBy"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
        {"only Principal-based grant entries permitted",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
                "\u53ea\u5141\u8bb8\u57fa\u4e8e Principal \u7684\u6388\u6743\u9879\u76ee"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        {"expected permission entry", "\u9884\u671f\u7684\u6743\u9650\u9879\u76ee"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        {"number ", "\u53f7\u7801 "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        {"expected ", "\u9884\u671f\u7684 "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
        {", read end of file", "\uff0c\u8bfb\u53d6\u6587\u4ef6\u672b\u7aef"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        {"expected ';', read end of file", "\u9884\u671f\u7684 ';', \u8bfb\u53d6\u6587\u4ef6\u672b\u7aef"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
        {"line ", "\u884c "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        {": expected '", ": \u9884\u671f\u7684 '"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        {"', found '", "', \u627e\u5230 '"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
        {"'", "'"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
        // SolarisPrincipals
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
        {"SolarisNumericGroupPrincipal [Primary Group]: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
                "SolarisNumericGroupPrincipal [\u4e3b\u7fa4\u7ec4]\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
        {"SolarisNumericGroupPrincipal [Supplementary Group]: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
                "SolarisNumericGroupPrincipal [\u9644\u52a0\u7fa4\u7ec4]\uff1a "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        {"SolarisNumericUserPrincipal: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
                "SolarisNumericUserPrincipal: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
        {"SolarisPrincipal: ", "SolarisPrincipal: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        {"provided null name", "\u5df2\u63d0\u4f9b\u7684\u7a7a\u540d\u79f0"}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
     * Returns the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
     * @return the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
    public Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
        return contents;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
}