#
# Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2021 Red Hat Inc. All rights reserved.
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# The contents of this file are subject to the terms of either the Universal Permissive License
# v 1.0 as shown at http://oss.oracle.com/licenses/upl
#
# or the following license:
#
# Redistribution and use in source and binary forms, with or without modification, are permitted
# provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions
# and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of
# conditions and the following disclaimer in the documentation and/or other materials provided with
# the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to
# endorse or promote products derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
# WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
AgentEditorOpener_JOB_NAME=Connecting to RJMX service
AgentEditorOpener_MESSAGE_COULD_NOT_CONNECT=Could not connect
AgentEditorOpener_MESSAGE_STARTING_AGENT_ON_REMOTE_JVM_NOT_SUPPORTED=Starting an agent on remote JVM is not supported
AgentEditorOpener_MESSAGE_START_AGENT_MANUALLY=Start the agent manually and try again
AgentEditorOpener_MESSAGE_FAILED_TO_OPEN_AGENT_EDITOR=Failed to open the JMC Agent Editor

AgentEditor_CONNECTION_LOST=Connection Lost
AgentEditor_AGENT_EDITOR_TITLE=Agent Live Config

AgentEditorAction_MESSAGE_REFRESH=Refresh
AgentEditorAction_MESSAGE_LOAD_PRESET=Load a preset...
AgentEditorAction_MESSAGE_SAVE_AS_PRESET=Save as a preset...

AgentEditorUI_MESSAGE_FAILED_TO_LOAD_PRESET=Failed to load preset
AgentEditorUI_MESSAGE_EMPTY_PRESET=There is no currently active instrumentation in the target. Preset will not be saved.
AgentEditorUI_MESSAGE_EMPTY_PRESET_TITLE=Unable to save preset

CapturedValue_ERROR_RELATION_KEY_HAS_INCORRECT_SYNTAX=Relation key has incorrect syntax.
CapturedValue_ERROR_CONVERTER_HAS_INCORRECT_SYNTAX=Converter has incorrect syntax.

Event_ERROR_ID_CANNOT_BE_EMPTY_OR_NULL=ID cannot be empty or null.
Event_ERROR_NAME_CANNOT_BE_EMPTY_OR_NULL=Name cannot be empty or null.
Event_ERROR_CLASS_CANNOT_BE_EMPTY_OR_NULL=Class cannot be empty or null.
Event_ERROR_METHOD_NAME_CANNOT_BE_EMPTY_OR_NULL=Method name cannot be empty or null.
Event_ERROR_METHOD_DESCRIPTOR_CANNOT_BE_EMPTY_OR_NULL=Method descriptor cannot be empty or null.
Event_ERROR_METHOD_PARAMETER_CANNOT_BE_NULL=Method parameter cannot be null.
Event_ERROR_FIELD_CANNOT_BE_NULL=Field cannot be null.
Event_ERROR_CLASS_HAS_INCORRECT_SYNTAX=Class has incorrect syntax.
Event_ERROR_PATH_HAS_INCORRECT_SYNTAX=Path has incorrect syntax.
Event_ERROR_METHOD_NAME_HAS_INCORRECT_SYNTAX=Method name has incorrect syntax.
Event_ERROR_METHOD_DESCRIPTOR_HAS_INCORRECT_SYNTAX=Method descriptor has incorrect syntax.
Event_ERROR_INDEX_MUST_BE_UNIQUE=Method parameter index must be unique.

Field_ERROR_NAME_CANNOT_BE_EMPTY_OR_NULL=Name cannot be empty or null.
Field_ERROR_EXPRESSION_CANNOT_BE_EMPTY_OR_NULL=Expression cannot be empty or null.
Field_ERROR_EXPRESSION_HAS_INCORRECT_SYNTAX=Expression has incorrect syntax.

MethodParameter_ERROR_INDEX_CANNOT_BE_LESS_THAN_ZERO=Index cannot be less than zero.
MethodParameter_ERROR_NAME_CANNOT_BE_EMPTY_OR_NULL=Name cannot be empty or null.

Preset_ERROR_FILE_NAME_CANNOT_BE_EMPTY_OR_NULL=File name cannot be empty or null.
Preset_ERROR_MUST_HAVE_UNIQUE_ID=An event with the same id already exists.
Preset_ERROR_MUST_HAVE_UNIQUE_EVENT_CLASS_NAME=Event must have a unique event name per class

CapturedValueEditingPage_PAGE_NAME=Agent Captured Value Editing
CapturedValueEditingPage_MESSAGE_PARAMETER_OR_RETURN_VALUE_EDITING_PAGE_TITLE=Edit a Parameter or Return Value
CapturedValueEditingPage_MESSAGE_PARAMETER_OR_RETURN_VALUE_EDITING_PAGE_DESCRIPTION=Define a capturing of a method parameter or a return value.
CapturedValueEditingPage_MESSAGE_FIELD_EDITING_PAGE_TITLE=Edit a Parameter or Return Value Capturing
CapturedValueEditingPage_MESSAGE_FIELD_EDITING_PAGE_DESCRIPTION=Define a custom expression evaluation and capture its result.
CapturedValueEditingPage_LABEL_NAME=Name: 
CapturedValueEditingPage_LABEL_INDEX=Index: 
CapturedValueEditingPage_LABEL_IS_RETURN_VALUE=This is a return value
CapturedValueEditingPage_LABEL_EXPRESSION=Expression: 
CapturedValueEditingPage_LABEL_DESCRIPTION=Description: 
CapturedValueEditingPage_LABEL_CONTENT_TYPE=Content Type: 
CapturedValueEditingPage_LABEL_CLEAR=Clear
CapturedValueEditingPage_LABEL_RELATIONAL_KEY=Relational Key: 
CapturedValueEditingPage_LABEL_CONVERTER=Converter: 
CapturedValueEditingPage_MESSAGE_NAME_OF_THE_CAPTURING=Name of this capturing
CapturedValueEditingPage_MESSAGE_JAVA_PRIMARY_EXPRESSION_TO_BE_EVALUATED=Java primary expression to be evaluated
CapturedValueEditingPage_MESSAGE_OPTIONAL_DESCRIPTION_OF_THIS_CAPTURING=(Optional) Description of this capturing
CapturedValueEditingPage_MESSAGE_RELATIONAL_KEY_DESCRIPTION=(Optional) Unique URI signifying a relationship
CapturedValueEditingPage_MESSAGE_CONVERTER_DESCRIPTION=(Optional) fully qualified class name of a value converter

EventEditingWizardConfigPage_PAGE_NAME=Agent Event Editing
EventEditingWizardConfigPage_MESSAGE_EVENT_EDITING_WIZARD_CONFIG_PAGE_TITLE=Edit Event Configurations
EventEditingWizardConfigPage_MESSAGE_EVENT_EDITING_WIZARD_CONFIG_PAGE_DESCRIPTION=Edit basic information of an event on how it should be instrumented and injected.
EventEditingWizardConfigPage_LABEL_ID=ID: 
EventEditingWizardConfigPage_LABEL_NAME=Name: 
EventEditingWizardConfigPage_LABEL_DESCRIPTION=Description: 
EventEditingWizardConfigPage_LABEL_CLASS=Class: 
EventEditingWizardConfigPage_LABEL_METHOD=Method: 
EventEditingWizardConfigPage_LABEL_PATH=Path: 
EventEditingWizardConfigPage_LABEL_LOCATION=Location: 
EventEditingWizardConfigPage_LABEL_CLEAR=Clear
EventEditingWizardConfigPage_LABEL_RECORD_EXCEPTIONS=Record exceptions
EventEditingWizardConfigPage_LABEL_RECORD_STACK_TRACE=Record stack trace
EventEditingWizardConfigPage_MESSAGE_EVENT_ID=Event ID
EventEditingWizardConfigPage_MESSAGE_NAME_OF_THE_EVENT=Name of the event
EventEditingWizardConfigPage_MESSAGE_FULLY_QUALIFIED_CLASS_NAME=Fully qualified class name
EventEditingWizardConfigPage_MESSAGE_METHOD_NAME=Method name
EventEditingWizardConfigPage_MESSAGE_METHOD_DESCRIPTOR=Method descriptor
EventEditingWizardConfigPage_MESSAGE_OPTIONAL_DESCRIPTION_OF_THIS_EVENT=(Optional) Description of this event
EventEditingWizardConfigPage_MESSAGE_PATH_TO_EVENT=Path to event in event browser

EventEditingWizardFieldPage_PAGE_NAME=Agent Event Editing
EventEditingWizardFieldPage_MESSAGE_EVENT_EDITING_WIZARD_FIELD_PAGE_TITLE=Add or Remove Event Fields
EventEditingWizardFieldPage_MESSAGE_EVENT_EDITING_WIZARD_FIELD_PAGE_DESCRIPTION=Fields are a subset of Java primary expressions which can be evaluated and recorded when committing an event.
EventEditingWizardFieldPage_MESSAGE_UNABLE_TO_SAVE_THE_FIELD=Unable to add the field
EventEditingWizardFieldPage_LABEL_NAME=Name
EventEditingWizardFieldPage_LABEL_EXPRESSION=Expression
EventEditingWizardFieldPage_LABEL_DESCRIPTION=Description
EventEditingWizardFieldPage_ID_NAME=name
EventEditingWizardFieldPage_ID_EXPRESSION=expression
EventEditingWizardFieldPage_ID_DESCRIPTION=description

EventEditingWizardParameterPage_PAGE_NAME=Agent Event Editing
EventEditingWizardParameterPage_MESSAGE_EVENT_EDITING_WIZARD_PARAMETER_PAGE_TITLE=Add or Remove Event Parameters
EventEditingWizardParameterPage_MESSAGE_EVENT_EDITING_WIZARD_PARAMETER_PAGE_DESCRIPTION=Function parameters and return values can be recorded when committing an event.
EventEditingWizardParameterPage_MESSAGE_RETURN_VALUE=(Return value)
EventEditingWizardParameterPage_MESSAGE_UNABLE_TO_SAVE_THE_PARAMETER_OR_RETURN_VALUE=Unable to add the parameter/return value
EventEditingWizardParameterPage_LABEL_INDEX=Index
EventEditingWizardParameterPage_LABEL_NAME=Name
EventEditingWizardParameterPage_LABEL_DESCRIPTION=Description
EventEditingWizardParameterPage_ID_INDEX=index
EventEditingWizardParameterPage_ID_NAME=name
EventEditingWizardParameterPage_ID_DESCRIPTION=description

PresetSelectorWizardPage_PAGE_NAME=Apply Preset
PresetSelectorWizardPage_MESSAGE_FAILED_TO_SAVE_PRESET=Failed to save preset
PresetSelectorWizardPage_MESSAGE_PAGE_TITLE=Apply Preset
PresetSelectorWizardPage_MESSAGE_PAGE_DESCRIPTION=Select a preset to apply
PresetSelectorWizardPage_ID_PRESET=Preset
PresetSelectorWizardPage_MESSAGE_EVENTS=Event(s)
PresetSelectorWizardPage_ERROR_PAGE_TITLE=Error in Configuration
PresetSelectorWizardPage_SAVE_PRESET_TITLE=Saved to preset
PresetSelectorWizardPage_SAVE_PRESET_MESSAGE=Configuration saved to {0}

PresetEditingWizardConfigPage_PAGE_NAME=Agent Preset Editing
PresetEditingWizardConfigPage_MESSAGE_PRESET_EDITING_WIZARD_CONFIG_PAGE_TITLE=Edit Preset Global Configurations
PresetEditingWizardConfigPage_MESSAGE_PRESET_EDITING_WIZARD_CONFIG_PAGE_DESCRIPTION=Global configurations are defaults which applies to any event missing a per-event configuration.
PresetEditingWizardConfigPage_LABEL_FILE_NAME=File Name: 
PresetEditingWizardConfigPage_LABEL_CLASS_PREFIX=Class Prefix: 
PresetEditingWizardConfigPage_LABEL_ALLOW_TO_STRING=Allow toString
PresetEditingWizardConfigPage_LABEL_ALLOW_CONVERTER=Allow Converter
PresetEditingWizardConfigPage_MESSAGE_NAME_OF_THE_SAVED_XML=Name of the saved XML on file system
PresetEditingWizardConfigPage_MESSAGE_PREFIX_ADDED_TO_GENERATED_EVENT_CLASSES=Prefix added to generated event classes
	
PresetEditingWizardEventPage_PAGE_NAME=Agent Preset Editing
PresetEditingWizardEventPage_MESSAGE_PRESET_EDITING_WIZARD_EVENT_PAGE_TITLE=Add or Remove Preset Events
PresetEditingWizardEventPage_MESSAGE_PRESET_EDITING_WIZARD_EVENT_PAGE_DESCRIPTION=Add new events to the prset, or remove/edit existing events.
PresetEditingWizardEventPage_MESSAGE_UNABLE_TO_SAVE_THE_PRESET=Unable to add the event
PresetEditingWizardEventPage_LABEL_ID_COLUMN=ID
PresetEditingWizardEventPage_LABEL_NAME_COLUMN=name
PresetEditingWizardEventPage_ID_ID_COLUMN=id
PresetEditingWizardEventPage_ID_NAME_COLUMN=name

PresetManagerPage_PAGE_NAME=Agent Preset Manager
PresetManagerPage_MESSAGE_PRESET_MANAGER_PAGE_TITLE=JMC Agent Configuration Preset Manager
PresetManagerPage_MESSAGE_PRESET_MANAGER_PAGE_DESCRIPTION=Presets for JMC agent are useful to repeatedly apply configurations to a running JMC agent.
PresetManagerPage_MESSAGE_PRESET_MANAGER_UNABLE_TO_SAVE_THE_PRESET=Unable to save the preset
PresetManagerPage_MESSAGE_PRESET_MANAGER_UNABLE_TO_IMPORT_THE_PRESET=Unable to import the preset
PresetManagerPage_MESSAGE_PRESET_MANAGER_UNABLE_TO_EXPORT_THE_PRESET=Unable to export the preset
PresetManagerPage_MESSAGE_IMPORT_EXTERNAL_PRESET_FILES=Import external preset files
PresetManagerPage_MESSAGE_EXPORT_PRESET_TO_A_FILE=Import the preset to a file
PresetManagerPage_MESSAGE_EVENTS=event(s)

PresetEditingWizardPreviewPage_PAGE_NAME=Agent Preset Editing
PresetEditingWizardPreviewPage_MESSAGE_PRESET_EDITING_WIZARD_PREVIEW_PAGE_TITLE=Preview Preset Output
PresetEditingWizardPreviewPage_MESSAGE_PRESET_EDITING_WIZARD_PREVIEW_PAGE_DESCRIPTION=Inspect the generated XML before it is saved. Click Back to make any modifications if needed. Click Finish to save.

ProbeCreationPage_MESSAGE_PROBE_CREATION_SET_NAME_MESSAGE=Preset Name
ProbeCreationPage_MESSAGE_PROBE_CREATION_PAGE_TITLE=Create Method Probe
ProbeCreationPage_MESSAGE_PROBE_CREATION_PAGE_DESCRIPTION=Provide a name for the generated probe preset.
ProbeCreationPage_MESSAGE_PROBE_CREATION_SET_NAME_DESCRIPTION=Name for the Generated Preset

EditorTab_TITLE=Editor

ActionButtons_LABEL_SAVE_TO_PRESET_BUTTON=Save to Preset
ActionButtons_LABEL_SAVE_TO_FILE_BUTTON=Save to File
ActionButtons_LABEL_APPLY_PRESET_BUTTON=Apply Preset
ActionButtons_LABEL_APPLY_LOCAL_CONFIG_BUTTON=Apply Local Config
ActionButtons_ERROR_PAGE_TITLE=Error in Configuration
ActionButtons_MESSAGE_APPLY_LOCAL_CONFIG=Apply a local configuration

LiveConfigTab_TITLE=Live Config

OverviewTab_TITLE=Overview
OverviewTab_MESSAGE_AGENT_LOADED=Agent is loaded

EditAgentSection_MESSAGE_ENTER_PATH=Enter Path...
EditAgentSection_MESSAGE_AGENT_XML_PATH=XML Path: 
EditAgentSection_MESSAGE_BROWSE=Browse
EditAgentSection_MESSAGE_EDIT=Edit
EditAgentSection_MESSAGE_VALIDATE=Validate
EditAgentSection_MESSAGE_APPLY=Apply
EditAgentSection_MESSAGE_NO_WARNINGS_OR_ERRORS_FOUND=No errors/warnings found!

PresetsTab_TITLE=Presets

BaseWizardPage_MESSAGE_UNEXPECTED_ERROR_HAS_OCCURRED=An unexpected has error occurred.

StartAgentWizard_MESSAGE_FAILED_TO_START_AGENT=Failed to start JMC Agent
StartAgentWizard_MESSAGE_FAILED_TO_OPEN_AGENT_EDITOR=Failed to open the JMC Agent Editor
StartAgentWizard_MESSAGE_UNEXPECTED_ERROR_HAS_OCCURRED=An unexpected has error occurred.
StartAgentWizard_MESSAGE_INVALID_AGENT_CONFIG=An invalid configuration is entered.
StartAgentWizard_MESSAGE_FAILED_TO_LOAD_AGENT=Failed to load the JMC Agent. Check that the provided agent jar is correct.
StartAgentWizard_MESSAGE_ACCESS_TO_UNSAFE_REQUIRED=Could not access jdk.internal.misc.Unsafe! Did you run your application with '--add-opens java.base/jdk.internal.misc=ALL-UNNAMED'?
StartAgentWizardPage_PAGE_NAME=Start Agent Wizard Page
StartAgentWizardPage_MESSAGE_START_AGENT_WIZARD_PAGE_TITLE=Start JMC Agent
StartAgentWizardPage_MESSAGE_START_AGENT_WIZARD_PAGE_DESCRIPTION=Enter the JMC Agent configuration details and then click 'Start' to start the agent.
StartAgentWizardPage_MESSAGE_PATH_TO_AN_AGENT_JAR=Path to an agent JAR
StartAgentWizardPage_MESSAGE_PATH_TO_AN_AGENT_CONFIG=(Optional) Path to an agent configuration
StartAgentWizardPage_LABEL_TARGET_JVM=Target JVM: 
StartAgentWizardPage_LABEL_AGENT_JAR=Agent JAR: 
StartAgentWizardPage_LABEL_AGENT_XML=Agent XML: 
StartAgentWizardPage_LABEL_BROWSE=Browse...
StartAgentWizardPage_DIALOG_BROWSER_FOR_AGENT_JAR=Browser for JMC Agent JAR
StartAgentWizardPage_DIALOG_BROWSER_FOR_AGENT_CONFIG=Browser for JMC Agent Configuration
StartAgentWizard_WIZARD_FINISH_BUTTON_TEXT=Start