1 /*
   2  * Copyright (c) 2000, 2011, Oracle and/or its affiliates. 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.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * 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", "無效空值輸入: {0}"},
  44         {"NTDomainPrincipal.name", "NTDomainPrincipal: {0}"},
  45         {"NTNumericCredential.name", "NTNumericCredential: {0}"},
  46         {"Invalid.NTSid.value", "無效 NTSid 值"},
  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 [主群組]: {0}"},
  57         {"UnixNumericGroupPrincipal.Supplementary.Group.name",
  58                 "UnixNumericGroupPrincipal [附加群組]: {0}"},
  59         {"UnixNumericUserPrincipal.name", "UnixNumericUserPrincipal: {0}"},
  60         {"UnixPrincipal.name", "UnixPrincipal: {0}"},
  61 
  62         // com.sun.security.auth.login.ConfigFile
  63         {"Unable.to.properly.expand.config", "無法適當地擴充 {0}"},
  64         {"extra.config.No.such.file.or.directory.",
  65                 "{0} (沒有此檔案或目錄)"},
  66         {"Configuration.Error.No.such.file.or.directory",
  67                 "組態錯誤:\n\t無此檔案或目錄"},
  68         {"Configuration.Error.Invalid.control.flag.flag",
  69                 "組態錯誤:\n\t無效的控制旗標,{0}"},
  70         {"Configuration.Error.Can.not.specify.multiple.entries.for.appName",
  71             "組態錯誤: \n\t無法指定多重項目 {0}"},
  72         {"Configuration.Error.expected.expect.read.end.of.file.",
  73                 "組態錯誤: \n\t預期的 [{0}], 讀取 [end of file]"},
  74         {"Configuration.Error.Line.line.expected.expect.found.value.",
  75             "組態錯誤: \n\t行 {0}: 預期的 [{1}], 發現 [{2}]"},
  76         {"Configuration.Error.Line.line.expected.expect.",
  77             "組態錯誤: \n\t行 {0}: 預期的 [{1}]"},
  78         {"Configuration.Error.Line.line.system.property.value.expanded.to.empty.value",
  79             "組態錯誤: \n\t行 {0}: 系統屬性 [{1}] 擴充至空值"},
  80 
  81         // com.sun.security.auth.module.JndiLoginModule
  82         {"username.","使用者名稱: "},
  83         {"password.","密碼: "},
  84 
  85         // com.sun.security.auth.module.KeyStoreLoginModule
  86         {"Please.enter.keystore.information",
  87                 "請輸入金鑰儲存庫資訊"},
  88         {"Keystore.alias.","金鑰儲存庫別名: "},
  89         {"Keystore.password.","金鑰儲存庫密碼: "},
  90         {"Private.key.password.optional.",
  91             "私人金鑰密碼 (選擇性的): "},
  92 
  93         // com.sun.security.auth.module.Krb5LoginModule
  94         {"Kerberos.username.defUsername.",
  95                 "Kerberos 使用者名稱 [{0}]: "},
  96         {"Kerberos.password.for.username.",
  97                 "Kerberos 密碼 {0}: "},
  98 
  99         /***    EVERYTHING BELOW IS DEPRECATED  ***/
 100 
 101         // com.sun.security.auth.PolicyFile
 102         {".error.parsing.", ": 剖析錯誤 "},
 103         {"COLON", ": "},
 104         {".error.adding.Permission.", ": 新增權限錯誤 "},
 105         {"SPACE", " "},
 106         {".error.adding.Entry.", ": 新增輸入錯誤 "},
 107         {"LPARAM", "("},
 108         {"RPARAM", ")"},
 109         {"attempt.to.add.a.Permission.to.a.readonly.PermissionCollection",
 110             "試著新增權限至唯讀的 PermissionCollection"},
 111 
 112         // com.sun.security.auth.PolicyParser
 113         {"expected.keystore.type", "預期的金鑰儲存庫類型"},
 114         {"can.not.specify.Principal.with.a.wildcard.class.without.a.wildcard.name",
 115                 "沒有萬用字元名稱,無法指定含有萬用字元類別的 Principal"},
 116         {"expected.codeBase.or.SignedBy", "預期的 codeBase 或 SignedBy"},
 117         {"only.Principal.based.grant.entries.permitted",
 118                 "只允許以 Principal 為基礎的授權項目"},
 119         {"expected.permission.entry", "預期的權限項目"},
 120         {"number.", "號碼 "},
 121         {"expected.expect.read.end.of.file.",
 122                 "預期為 {0}, 讀取檔案結尾"},
 123         {"expected.read.end.of.file", "預期的 ';',讀取檔案結尾"},
 124         {"line.", "行 "},
 125         {".expected.", ": 預期 '"},
 126         {".found.", "',發現 '"},
 127         {"QUOTE", "'"},
 128 
 129         // SolarisPrincipals
 130         {"SolarisNumericGroupPrincipal.Primary.Group.",
 131                 "SolarisNumericGroupPrincipal [主群組]: "},
 132         {"SolarisNumericGroupPrincipal.Supplementary.Group.",
 133                 "SolarisNumericGroupPrincipal [附加群組]: "},
 134         {"SolarisNumericUserPrincipal.",
 135                 "SolarisNumericUserPrincipal: "},
 136         {"SolarisPrincipal.", "SolarisPrincipal: "},
 137         // provided.null.name is the NullPointerException message when a
 138         // developer incorrectly passes a null name to the constructor of
 139         // subclasses of java.security.Principal
 140         {"provided.null.name", "提供空值名稱"}
 141 
 142     };
 143 
 144     /**
 145      * Returns the contents of this <code>ResourceBundle</code>.
 146      *
 147      * <p>
 148      *
 149      * @return the contents of this <code>ResourceBundle</code>.
 150      */
 151     public Object[][] getContents() {
 152         return contents;
 153     }
 154 }