#
# Copyright (c) Members of the EGEE Collaboration. 2006-2009.
# See http://www.eu-egee.org/partners/ for details on the copyright holders.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Authors:
# 	Andrea Ceccanti (INFN)
#
# -- standard errors --
errors.header=<div class="errorMessages">
errors.prefix=<div class="errorMessage">
errors.suffix=</div>
errors.footer=</div>

#--- applications errors --

error.not_found= <div class="message">Database object not found!</div><div class="detailedMessage">{0}</div>
error.configuration.undefined = Error instantiating VOMSConfiguration.

error.authorization_failed = <div class="message">Authorization error!</div><div class="detailedMessage">{0}</div>

error.database = <div class="message">Database error!</div><div class="detailedMessage">{0}</div>

error.user.already_registered = <div class="message">User already exists!</div><div class="detailedMessage">Current user is already registered!</div>
error.user.already_exists = <div class="message">User already exists!</div><div class="detailedMessage">User already exists: {0}</div>

error.user.not_found = <div class="message">User not found!</div><div class="detailedMessage">{0}</div>

error.user.email_address_already_bound = <div class="message">Email address already assigned to another user!</div><div class="detailedMessage">{0}</div>

error.illegal_argument= <div class="message">Illegal argument!</div><div class="detailedMessage">{0}</div> 

error.unknown= <div class="message">Unknown error!</div><div class="detailedMessage">{0}</div>

error.ca.not_found = <div class="message">Unknown CA!</div><div class="detailedMessage">{0}</div>

error.attribute.not_found = <div class="message">Unknown attribute!</div> <div class="detailedMessage">{0}</div>

error.attribute.already_exists = <div class="message">Attribute already exists!</div> <div class="detailedMessage">{0}</div>
error.attribute.constraint_violation = <div class="message">Constraint violation exception!</div> <div class="detailedMessage">Remove attribute values for user/groups/roles before removing the attribute class!</div>

error.group.not_found = <div class="message">Unknown group!</div> <div class="detailedMessage">{0}</div>
error.group.already_exists = <div class="message">Group already exists!</div> <div class="detailedMessage">{0}</div>

error.role.not_found  = <div class="message">Unknown role!</div> <div class="detailedMessage">{0}</div>
error.role.already_exists = <div class="message">Role already exists!</div> <div class="detailedMessage">{0}</div>

error.mapping.not_found = <div class="message">Mapping not found in database!</div> <div class="detailedMessage">{0}</div>
error.mapping.already_exists = <div class="message">Mapping already exists in database!</div> <div class="detailedMessage">{0}</div>

error.servlet = <div class="message">Internal server error! Please see logs for debugging information.</div><div class="detailedMessage">{0}</div>

error.syntax = <div class="message">VOMS syntax error!</div><div class="detailedMessage">{0}</div>

error.null_argument = <div class="message">Null argument error!</div><div class="detailedMessage">{0}</div>
error.generic = <div class="message">Error!</div><div class="detailedMessage">{0}</div>

error.request.already_confirmed = <div class="message">Request already confirmed!</div><div class="detailedMessage">Cannot confirm an already confirmed request!</div>
error.request.cancel_already_confirmed = <div class="message">Request already confirmed!</div><div class="detailedMessage">Cannot cancel an already confirmed request!</div>

error.request.not_found = <div class="message">Request not found!</div><div class="detailedMessage">Request not found! "{0}"</div>
error.request.confirmation_error = <div class="message">Request confirmation error!</div><div class="detailedMessage">{0}</div>

# Struts Validator Error Messages
errors.required={0} is required.
errors.minlength={0} can not be less than {1} characters.
errors.maxlength={0} can not be greater than {1} characters.
errors.invalid={0} is invalid.

errors.byte={0} must be a byte.
errors.short={0} must be a short.
errors.integer={0} must be an integer.
errors.long={0} must be a long.
errors.float={0} must be a float.
errors.double={0} must be a double.

errors.date={0} is not a date.
errors.range={0} is not in the range {1} through {2}.
errors.creditcard={0} is an invalid credit card number.
errors.email={0} is an invalid e-mail address.

errors.invalid_input=You have entered invalid characters for the '{0}' field.

errors.invalid_acl_entry_type=Please choose an acl entry type!

errors.aup_accepted=You must agree to the VO's usage rules in order to submit a membership request!
# Labels
label.attribute.name=Attribute name
label.attribute.value=Attribute value
label.attribute.description=Attribute description
label.emailAddress=Email address
label.dn=DN
label.cn=CN
label.search_string=Search string
label.group=Group name
label.role=Role name
label.phone_number=Phone number
label.comments=Comments 
label.institute=Institute
label.panelId=PanelId

# Confirm messages
confirm.user.update=User information updated!
confirm.user.deletion= User deleted.
confirm.user.deletion.cancelled= User not deleted on user's request.

confirm.user.add_to_group=User "{0}" added to group "{1}".
confirm.user.remove_from_group= User "{0}" removed from group "{1}".
confirm.user.assign_role= Assigned role "{1}" to user "{0}" in group "{2}".
confirm.user.dismiss_role= Dismissed role "{1}" from user "{0}" in group "{2}".

confirm.group.creation=Group "{0}" created.
confirm.group.deletion=Group "{0}" deleted.

confirm.role.creation=Role "{0}" created.
confirm.role.deletion=Role "{0}" deleted.


confirm.acl.creation=ACL for context "{0}" created.
confirm.acl.deletion=ACL for context "{0}" deleted.

confirm.acl.entry.creation=New entry for ACL "{0}" created.
confirm.acl.entry.save=Entry for ACL "{0}" saved.

confirm.default.acl.entry.creation=New entry for default ACL "{0}" created.
confirm.default.acl.entry.save=Entry for default ACL "{0}" saved.

confirm.aup.creation= Group "{0}" created.

