1 /*
   2  * Copyright (c) 2000, 2006, 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_sv extends java.util.ListResourceBundle {
  39 
  40     private static final Object[][] contents = {
  41 
  42         // NT principals
  43         {"invalid null input: value", "ogiltiga null-indata: {0}"},
  44         {"NTDomainPrincipal: name", "NTDomainPrincipal: {0}"},
  45         {"NTNumericCredential: name", "NTNumericCredential: {0}"},
  46         {"Invalid NTSid value", "Ogiltigt NTSid-v\u00e4rde"},
  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 [prim\u00e4r grupp]: {0}"},
  57         {"UnixNumericGroupPrincipal [Supplementary Group]: name",
  58                 "UnixNumericGroupPrincipal [till\u00e4ggsgrupp]: {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", "Det g\u00e5r inte att utvidga korrekt {0}"},
  64         {"extra_config (No such file or directory)",
  65                 "{0} (Det finns ingen s\u00e5dan fil eller katalog.)"},
  66         {"Configuration Error:\n\tNo such file or directory",
  67                 "Konfigurationsfel:\n\tDet finns ingen s\u00e5dan fil eller katalog."},
  68         {"Configuration Error:\n\tInvalid control flag, flag",
  69                 "Konfigurationsfel:\n\tOgiltig kontrollflagga, {0}"},
  70         {"Configuration Error:\n\tCan not specify multiple entries for appName",
  71             "Konfigurationsfel:\n\tDet g\u00e5r inte att ange flera poster f\u00f6r {0}"},
  72         {"Configuration Error:\n\texpected [expect], read [end of file]",
  73                 "Konfigurationsfel:\n\tf\u00f6rv\u00e4ntade [{0}], l\u00e4ste [end of file]"},
  74         {"Configuration Error:\n\tLine line: expected [expect], found [value]",
  75             "Konfigurationsfel:\n\tLine {0}: f\u00f6rv\u00e4ntade [{1}], hittade [{2}]"},
  76         {"Configuration Error:\n\tLine line: expected [expect]",
  77             "Konfigurationsfel:\n\tLine {0}: f\u00f6rv\u00e4ntade [{1}]"},
  78         {"Configuration Error:\n\tLine line: system property [value] expanded to empty value",
  79             "Konfigurationsfel:\n\tLine {0}: systemegenskapen [{1}] utvidgad till tomt v\u00e4rde"},
  80 
  81         // com.sun.security.auth.module.JndiLoginModule
  82         {"username: ","anv\u00e4ndarnamn: "},
  83         {"password: ","l\u00f6senord: "},
  84 
  85         // com.sun.security.auth.module.KeyStoreLoginModule
  86         {"Please enter keystore information",
  87                 "Ange keystore-information"},
  88         {"Keystore alias: ","Keystore-alias: "},
  89         {"Keystore password: ","Keystore-l\u00f6senord: "},
  90         {"Private key password (optional): ",
  91             "L\u00f6senord f\u00f6r personlig nyckel (valfritt): "},
  92 
  93         // com.sun.security.auth.module.Krb5LoginModule
  94         {"Kerberos username [[defUsername]]: ",
  95                 "Kerberos-anv\u00e4ndarnamn [{0}]: "},
  96         {"Kerberos password for [username]: ",
  97                 "Kerberos-l\u00f6senord f\u00f6r {0}: "},
  98 
  99         /***    EVERYTHING BELOW IS DEPRECATED  ***/
 100 
 101         // com.sun.security.auth.PolicyFile
 102         {": error parsing ", ": analysfel "},
 103         {": ", ": "},
 104         {": error adding Permission ", ": fel vid till\u00e4gg av beh\u00f6righet "},
 105         {" ", " "},
 106         {": error adding Entry ", ": fel vid till\u00e4gg av post "},
 107         {"(", "("},
 108         {")", ")"},
 109         {"attempt to add a Permission to a readonly PermissionCollection",
 110             "f\u00f6rs\u00f6k att l\u00e4gga till beh\u00f6righet till skrivskyddad PermissionCollection"},
 111 
 112         // com.sun.security.auth.PolicyParser
 113         {"expected keystore type", "f\u00f6rv\u00e4ntad keystore-typ"},
 114         {"can not specify Principal with a ",
 115                 "det g\u00e5r inte att specificera n\u00e5gon principal med "},
 116         {"wildcard class without a wildcard name",
 117                 "jokertecken f\u00f6r klass men inte f\u00f6r namn"},
 118         {"expected codeBase or SignedBy", "f\u00f6rv\u00e4ntade codeBase eller SignedBy"},
 119         {"only Principal-based grant entries permitted",
 120                 "enbart Principal-baserade poster till\u00e5tna"},
 121         {"expected permission entry", "f\u00f6rv\u00e4ntade beh\u00f6righetspost"},
 122         {"number ", "antal "},
 123         {"expected ", "f\u00f6rv\u00e4ntade "},
 124         {", read end of file", ", l\u00e4ste filslut"},
 125         {"expected ';', read end of file", "f\u00f6rv\u00e4ntade ';', l\u00e4ste filslut"},
 126         {"line ", "rad "},
 127         {": expected '", ": f\u00f6rv\u00e4ntade '"},
 128         {"', found '", "', hittade '"},
 129         {"'", "'"},
 130 
 131         // SolarisPrincipals
 132         {"SolarisNumericGroupPrincipal [Primary Group]: ",
 133                 "SolarisNumericGroupPrincipal [prim\u00e4r grupp]: "},
 134         {"SolarisNumericGroupPrincipal [Supplementary Group]: ",
 135                 "SolarisNumericGroupPrincipal [till\u00e4ggsgrupp]: "},
 136         {"SolarisNumericUserPrincipal: ",
 137                 "SolarisNumericUserPrincipal: "},
 138         {"SolarisPrincipal: ", "SolarisPrincipal: "},
 139         {"provided null name", "gav null-namn"}
 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 }