Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/sun/security/tools/policytool/Resources.java
38832 views
/*1* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package sun.security.tools.policytool;2627/**28* <p> This class represents the <code>ResourceBundle</code>29* for the policytool.30*31*/32public class Resources extends java.util.ListResourceBundle {3334private static final Object[][] contents = {35{"NEWLINE", "\n"},36{"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",37"Warning: A public key for alias {0} does not exist. Make sure a KeyStore is properly configured."},38{"Warning.Class.not.found.class", "Warning: Class not found: {0}"},39{"Warning.Invalid.argument.s.for.constructor.arg",40"Warning: Invalid argument(s) for constructor: {0}"},41{"Illegal.Principal.Type.type", "Illegal Principal Type: {0}"},42{"Illegal.option.option", "Illegal option: {0}"},43{"Usage.policytool.options.", "Usage: policytool [options]"},44{".file.file.policy.file.location",45" [-file <file>] policy file location"},46{"New", "&New"},47{"Open", "&Open..."},48{"Save", "&Save"},49{"Save.As", "Save &As..."},50{"View.Warning.Log", "View &Warning Log"},51{"Exit", "E&xit"},52{"Add.Policy.Entry", "&Add Policy Entry"},53{"Edit.Policy.Entry", "&Edit Policy Entry"},54{"Remove.Policy.Entry", "&Remove Policy Entry"},55{"Edit", "&Edit"},56{"Retain", "Retain"},5758{"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",59"Warning: File name may include escaped backslash characters. " +60"It is not necessary to escape backslash characters " +61"(the tool escapes characters as necessary when writing " +62"the policy contents to the persistent store).\n\n" +63"Click on Retain to retain the entered name, or click on " +64"Edit to edit the name."},6566{"Add.Public.Key.Alias", "Add Public Key Alias"},67{"Remove.Public.Key.Alias", "Remove Public Key Alias"},68{"File", "&File"},69{"KeyStore", "&KeyStore"},70{"Policy.File.", "Policy File:"},71{"Could.not.open.policy.file.policyFile.e.toString.",72"Could not open policy file: {0}: {1}"},73{"Policy.Tool", "Policy Tool"},74{"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",75"Errors have occurred while opening the policy configuration. View the Warning Log for more information."},76{"Error", "Error"},77{"OK", "OK"},78{"Status", "Status"},79{"Warning", "Warning"},80{"Permission.",81"Permission: "},82{"Principal.Type.", "Principal Type:"},83{"Principal.Name.", "Principal Name:"},84{"Target.Name.",85"Target Name: "},86{"Actions.",87"Actions: "},88{"OK.to.overwrite.existing.file.filename.",89"OK to overwrite existing file {0}?"},90{"Cancel", "Cancel"},91{"CodeBase.", "&CodeBase:"},92{"SignedBy.", "&SignedBy:"},93{"Add.Principal", "&Add Principal"},94{"Edit.Principal", "&Edit Principal"},95{"Remove.Principal", "&Remove Principal"},96{"Principals.", "&Principals:"},97{".Add.Permission", " A&dd Permission"},98{".Edit.Permission", " Ed&it Permission"},99{"Remove.Permission", "Re&move Permission"},100{"Done", "Done"},101{"KeyStore.URL.", "KeyStore &URL:"},102{"KeyStore.Type.", "KeyStore &Type:"},103{"KeyStore.Provider.", "KeyStore &Provider:"},104{"KeyStore.Password.URL.", "KeyStore Pass&word URL:"},105{"Principals", "Principals"},106{".Edit.Principal.", " Edit Principal:"},107{".Add.New.Principal.", " Add New Principal:"},108{"Permissions", "Permissions"},109{".Edit.Permission.", " Edit Permission:"},110{".Add.New.Permission.", " Add New Permission:"},111{"Signed.By.", "Signed By:"},112{"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",113"Cannot Specify Principal with a Wildcard Class without a Wildcard Name"},114{"Cannot.Specify.Principal.without.a.Name",115"Cannot Specify Principal without a Name"},116{"Permission.and.Target.Name.must.have.a.value",117"Permission and Target Name must have a value"},118{"Remove.this.Policy.Entry.", "Remove this Policy Entry?"},119{"Overwrite.File", "Overwrite File"},120{"Policy.successfully.written.to.filename",121"Policy successfully written to {0}"},122{"null.filename", "null filename"},123{"Save.changes.", "Save changes?"},124{"Yes", "&Yes"},125{"No", "&No"},126{"Policy.Entry", "Policy Entry"},127{"Save.Changes", "Save Changes"},128{"No.Policy.Entry.selected", "No Policy Entry selected"},129{"Unable.to.open.KeyStore.ex.toString.",130"Unable to open KeyStore: {0}"},131{"No.principal.selected", "No principal selected"},132{"No.permission.selected", "No permission selected"},133{"name", "name"},134{"configuration.type", "configuration type"},135{"environment.variable.name", "environment variable name"},136{"library.name", "library name"},137{"package.name", "package name"},138{"policy.type", "policy type"},139{"property.name", "property name"},140{"provider.name", "provider name"},141{"url", "url"},142{"method.list", "method list"},143{"request.headers.list", "request headers list"},144{"Principal.List", "Principal List"},145{"Permission.List", "Permission List"},146{"Code.Base", "Code Base"},147{"KeyStore.U.R.L.", "KeyStore U R L:"},148{"KeyStore.Password.U.R.L.", "KeyStore Password U R L:"}149};150151152/**153* Returns the contents of this <code>ResourceBundle</code>.154*155* <p>156*157* @return the contents of this <code>ResourceBundle</code>.158*/159@Override160public Object[][] getContents() {161return contents;162}163}164165166