J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2001-2005 Sun Microsystems, Inc. All Rights Reserved. |
| 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of the GNU General Public License version 2 only, as |
| 7 | * published by the Free Software Foundation. Sun designates this |
| 8 | * particular file as subject to the "Classpath" exception as provided |
| 9 | * by Sun in the LICENSE file that accompanied this code. |
| 10 | * |
| 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 14 | * version 2 for more details (a copy is included in the LICENSE file that |
| 15 | * accompanied this code). |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License version |
| 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
| 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | * |
| 21 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| 22 | * CA 95054 USA or visit www.sun.com if you need additional information or |
| 23 | * have any questions. |
| 24 | */ |
| 25 | |
| 26 | package sun.security.util; |
| 27 | |
| 28 | /** |
| 29 | * <p> This class represents the <code>ResourceBundle</code> |
| 30 | * for the following packages: |
| 31 | * |
| 32 | * <ol> |
| 33 | * <li> com.sun.security.auth |
| 34 | * <li> com.sun.security.auth.login |
| 35 | * </ol> |
| 36 | * |
| 37 | */ |
| 38 | public class AuthResources_zh_TW extends java.util.ListResourceBundle { |
| 39 | |
| 40 | private static final Object[][] contents = { |
| 41 | |
| 42 | // NT principals |
| 43 | {"invalid null input: value", "\u7121\u6548\u7a7a\u8f38\u5165\uff1a {0}"}, |
| 44 | {"NTDomainPrincipal: name", "NTDomainPrincipal: {0}"}, |
| 45 | {"NTNumericCredential: name", "NTNumericCredential: {0}"}, |
| 46 | {"Invalid NTSid value", "\u7121\u6548 NTSid \u503c"}, |
| 47 | {"NTSid: name", "NTSid: {0}"}, |
| 48 | {"NTSidDomainPrincipal: name", "NTSidDomainPrincipal: {0}"}, |
| 49 | {"NTSidGroupPrincipal: name", "NTSidGroupPrincipal: {0}"}, |
| 50 | {"NTSidPrimaryGroupPrincipal: name", "NTSidPrimaryGroupPrincipal: {0}"}, |
| 51 | {"NTSidUserPrincipal: name", "NTSidUserPrincipal: {0}"}, |
| 52 | {"NTUserPrincipal: name", "NTUserPrincipal: {0}"}, |
| 53 | |
| 54 | // UnixPrincipals |
| 55 | {"UnixNumericGroupPrincipal [Primary Group]: name", |
| 56 | "UnixNumericGroupPrincipal [\u4e3b\u7fa4\u7d44]\uff1a {0}"}, |
| 57 | {"UnixNumericGroupPrincipal [Supplementary Group]: name", |
| 58 | "UnixNumericGroupPrincipal [\u9644\u52a0\u7fa4\u7d44]\uff1a {0}"}, |
| 59 | {"UnixNumericUserPrincipal: name", "UnixNumericUserPrincipal: {0}"}, |
| 60 | {"UnixPrincipal: name", "UnixPrincipal\uff1a {0}"}, |
| 61 | |
| 62 | // com.sun.security.auth.login.ConfigFile |
| 63 | {"Unable to properly expand config", "\u7121\u6cd5\u5b8c\u5168\u64f4\u5145 {0}"}, |
| 64 | {"extra_config (No such file or directory)", |
| 65 | "{0} \uff08\u6c92\u6709\u6b64\u6a94\u6848\u6216\u76ee\u9304\uff09"}, |
| 66 | {"Unable to locate a login configuration", |
| 67 | "\u7121\u6cd5\u5b9a\u4f4d\u767b\u5165\u914d\u7f6e"}, |
| 68 | {"Configuration Error:\n\tInvalid control flag, flag", |
| 69 | "\u914d\u7f6e\u932f\u8aa4\uff1a\n\t\u7121\u6548\u7684\u63a7\u5236\u65d7\u865f\uff0c {0}"}, |
| 70 | {"Configuration Error:\n\tCan not specify multiple entries for appName", |
| 71 | "\u914d\u7f6e\u932f\u8aa4\uff1a\n\t\u7121\u6cd5\u6307\u5b9a\u591a\u91cd\u9805\u76ee {0}"}, |
| 72 | {"Configuration Error:\n\texpected [expect], read [end of file]", |
| 73 | "\u914d\u7f6e\u932f\u8aa4\uff1a\n\t\u9810\u671f\u7684 [{0}], \u8b80\u53d6 [\u6a94\u6848\u672b\u7aef]"}, |
| 74 | {"Configuration Error:\n\tLine line: expected [expect], found [value]", |
| 75 | "\u914d\u7f6e\u932f\u8aa4\uff1a\n\t\u884c {0}: \u9810\u671f\u7684 [{1}], \u767c\u73fe [{2}]"}, |
| 76 | {"Configuration Error:\n\tLine line: expected [expect]", |
| 77 | "\u914d\u7f6e\u932f\u8aa4\uff1a\n\t\u884c {0}: \u9810\u671f\u7684 [{1}]"}, |
| 78 | {"Configuration Error:\n\tLine line: system property [value] expanded to empty value", |
| 79 | "\u914d\u7f6e\u932f\u8aa4\uff1a\n\t\u884c {0}: \u7cfb\u7d71\u5c6c\u6027 [{1}] \u64f4\u5145\u81f3\u7a7a\u503c"}, |
| 80 | |
| 81 | // com.sun.security.auth.module.JndiLoginModule |
| 82 | {"username: ","\u4f7f\u7528\u8005\u540d\u7a31\uff1a "}, |
| 83 | {"password: ","\u5bc6\u78bc\uff1a "}, |
| 84 | |
| 85 | // com.sun.security.auth.module.KeyStoreLoginModule |
| 86 | {"Please enter keystore information", |
| 87 | "\u8acb\u8f38\u5165 keystore \u8cc7\u8a0a"}, |
| 88 | {"Keystore alias: ","Keystore \u5225\u540d\uff1a "}, |
| 89 | {"Keystore password: ","Keystore \u5bc6\u78bc\uff1a "}, |
| 90 | {"Private key password (optional): ", |
| 91 | "\u79c1\u4eba\u95dc\u9375\u5bc6\u78bc\uff08\u9078\u64c7\u6027\u7684\uff09\uff1a "}, |
| 92 | |
| 93 | // com.sun.security.auth.module.Krb5LoginModule |
| 94 | {"Kerberos username [[defUsername]]: ", |
| 95 | "Kerberos \u4f7f\u7528\u8005\u540d\u7a31 [{0}]: "}, |
| 96 | {"Kerberos password for [username]: ", |
| 97 | "Kerberos \u7684 {0} \u5bc6\u78bc\uff1a "}, |
| 98 | |
| 99 | /*** EVERYTHING BELOW IS DEPRECATED ***/ |
| 100 | |
| 101 | // com.sun.security.auth.PolicyFile |
| 102 | {": error parsing ", "\uff1a\u8a9e\u6cd5\u932f\u8aa4 "}, |
| 103 | {": ", ": "}, |
| 104 | {": error adding Permission ", "\uff1a\u65b0\u589e\u8a31\u53ef\u6b0a\u932f\u8aa4 "}, |
| 105 | {" ", " "}, |
| 106 | {": error adding Entry ", "\u65b0\u589e\u8f38\u5165\u932f\u8aa4 "}, |
| 107 | {"(", "("}, |
| 108 | {")", ")"}, |
| 109 | {"attempt to add a Permission to a readonly PermissionCollection", |
| 110 | "\u8a66\u8457\u65b0\u589e\u8a31\u53ef\u6b0a\u81f3\u552f\u8b80\u7684 PermissionCollection"}, |
| 111 | |
| 112 | // com.sun.security.auth.PolicyParser |
| 113 | {"expected keystore type", "\u9810\u671f\u7684 keystore \u985e\u578b"}, |
| 114 | {"can not specify Principal with a ", |
| 115 | "\u7121\u6cd5\u4ee5\u6b64\u4f86\u6307\u5b9a Principal "}, |
| 116 | {"wildcard class without a wildcard name", |
| 117 | "\u842c\u7528\u5b57\u5143\u985e\u5225\u672a\u9644\u842c\u7528\u5b57\u5143\u540d\u7a31"}, |
| 118 | {"expected codeBase or SignedBy", "\u9810\u671f\u7684 codeBase \u6216 SignedBy"}, |
| 119 | {"only Principal-based grant entries permitted", |
| 120 | "\u53ea\u5141\u8a31\u4ee5 Principal \u70ba\u57fa\u790e\u7684\u6388\u6b0a\u8f38\u5165"}, |
| 121 | {"expected permission entry", "\u9810\u671f\u8a31\u53ef\u8f38\u5165"}, |
| 122 | {"number ", "\u865f\u78bc "}, |
| 123 | {"expected ", "\u9810\u671f\u7684 "}, |
| 124 | {", read end of file", "\uff0c\u8b80\u53d6\u6a94\u6848\u672b\u7aef"}, |
| 125 | {"expected ';', read end of file", "\u9810\u671f\u7684 ';', \u8b80\u53d6\u6a94\u6848\u672b\u7aef"}, |
| 126 | {"line ", "\u884c "}, |
| 127 | {": expected '", ": \u9810\u671f '"}, |
| 128 | {"', found '", "', \u767c\u73fe '"}, |
| 129 | {"'", "'"}, |
| 130 | |
| 131 | // SolarisPrincipals |
| 132 | {"SolarisNumericGroupPrincipal [Primary Group]: ", |
| 133 | "SolarisNumericGroupPrincipal [\u4e3b\u7fa4\u7d44]\uff1a "}, |
| 134 | {"SolarisNumericGroupPrincipal [Supplementary Group]: ", |
| 135 | "SolarisNumericGroupPrincipal [\u9644\u52a0\u7fa4\u7d44]\uff1a "}, |
| 136 | {"SolarisNumericUserPrincipal: ", |
| 137 | "SolarisNumericUserPrincipal: "}, |
| 138 | {"SolarisPrincipal: ", "SolarisPrincipal: "}, |
| 139 | {"provided null name", "\u63d0\u4f9b\u7684\u7a7a\u540d\u7a31"} |
| 140 | |
| 141 | }; |
| 142 | |
| 143 | /** |
| 144 | * Returns the contents of this <code>ResourceBundle</code>. |
| 145 | * |
| 146 | * <p> |
| 147 | * |
| 148 | * @return the contents of this <code>ResourceBundle</code>. |
| 149 | */ |
| 150 | public Object[][] getContents() { |
| 151 | return contents; |
| 152 | } |
| 153 | } |