###############################################################################
# Copyright (c) 2003, 2020 IBM Corporation and others.
#
# This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
#     IBM Corporation - initial API and implementation
#     George Suaridze <suag@1c.ru> (1C-Soft LLC) - Bug 559885
###############################################################################
# ----------------------------------------------------------------------
# Properties for org.eclipse.ui.cheatsheets
#
# Entries are of the form CONSTANT=string
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Properties used by cheat sheet Java code
# ----------------------------------------------------------------------
# CheatSheetPlugin
ERROR_READING_STATE_FILE = Unable to read state information.
ERROR_WRITING_STATE_FILE = Unable to store state information.

# CheatSheetCategoryBasedSelectionDialog, CheatSheetSelectionDialog
CHEAT_SHEET_SELECTION_DIALOG_TITLE = Cheat Sheet Selection
CHEAT_SHEET_SELECTION_DIALOG_MSG = &Select the cheat sheet to open:

# CheatSheetExapndRestoreAction, CheatSheetView
COLLAPSE_ALL_BUT_CURRENT_TOOLTIP = Collapse All Items but Current

# CheatSheetExapndRestoreAction
RESTORE_ALL_TOOLTIP = Expand to Previous Expansion States

CATEGORY_OTHER = Other

# CheatSheetMenu
CHEAT_SHEET_OTHER_MENU = Launch &Other...
EXPLORER_PULLDOWN_MENU = &Layout
RESTART_ALL_MENU = &Restart all tasks
RESTART_MENU = &Restart

# CoreItem
PERFORM_TASK_TOOLTIP = Click to perform
SKIP_TASK_TOOLTIP = Click to skip
COMPLETE_TASK_TOOLTIP = Click when complete
RESTART_TASK_TOOLTIP = Click to redo
ADVANCE_TASK_TOOLTIP = Click to advance
RETURN_TO_INTRO_TOOLTIP = Click to return to introduction
ERROR_FINDING_PLUGIN_FOR_ACTION = The action could not be run because the plugin ''{0}'' could not be located.
ERROR_DATA_MISSING = An error occured while executing the cheat sheet due to missing data. 
ERROR_DATA_MISSING_LOG = The data for variable ''{0}'' is not initialized properly before it is attempted to be used.
ERROR_CONDITIONAL_DATA_MISSING_LOG = No subitem matched the condition ''{0}'' specified for the conditional-subitem ''{1}''.
ERROR_LOADING_CLASS_FOR_ACTION = The action could not be run because the class ''{0}'' could not be loaded.
ERROR_CREATING_CLASS_FOR_ACTION = The action could not be run because an instance of the class ''{0}'' could not be created.

# IntroItem
START_CHEATSHEET_TOOLTIP = Click to Begin
RESTART_CHEATSHEET_TOOLTIP = Click to Restart

# ViewItem
HELP_BUTTON_TOOLTIP = Open Related Help
CHEAT_SHEET_UNSUPPORTED_LINK_ACTIVATION_MESSAGE = URL of this link is: ''{0}''

# CheatSheetViewer
ERROR_RUNNING_ACTION = The action could not be run.
ERROR_INVALID_CHEATSHEET_ID = The cheat sheet ''{0}'' does not exist. 
ERROR_CHEATSHEET_DOESNOT_EXIST = The cheat sheet specified does not exist.
ERROR_APPLYING_STATE_DATA = The saved state for the cheat sheet current not applied.
ERROR_APPLYING_STATE_DATA_LOG = The saved state from file ''{0}'' for the ''{1}'' cheat sheet current not applied.
CHEATSHEET_STATE_RESTORE_FAIL_TITLE = Restore Cheat Sheet State
CHEATSHEET_STATE_RESET_CONFIRM = The state of this cheat sheet could not be restored. The cheat sheet will be restarted.
INITIAL_VIEW_DIRECTIONS = To display a cheat sheet, select one from the Help menu or from the menu of the view's local toolbar.

# ErrorPage
ERROR_LOADING_CHEATSHEET_CONTENT = Error loading cheat sheet content.
ERROR_PAGE_MESSAGE = An error occurred loading the cheat sheet content file.

# CheatSheetElement, CheatSheetItemExtensionElement
ERROR_LOADING_CLASS = The class ''{0}'' could not be loaded.
ERROR_CREATING_CLASS = An instance of the class ''{0}'' could not be created.

# CheatSheetRegistryReader
CHEAT_SHEET_OTHER_CATEGORY = Other

# OpenCheatSheetAction
LAUNCH_SHEET_ERROR = Error loading the cheat sheet view
CHEAT_SHEET_ERROR_OPENING = Error opening cheat sheet

# actions.OpenPerspective
ERROR_OPENING_PERSPECTIVE = Error opening perspective.

# CheatSheetSaveHelper
ERROR_SAVING_STATEFILE_URL = Error saving state file for the ''{0}'' cheat sheet.

# CheatSheetParser, regular messages
CHEAT_SHEET_INTRO_TITLE = Introduction

# CheatSheetParser, general error messages
ERROR_TITLE = Cheat Sheet Error

# CheatSheetParser - init, file I/O and XML parsing error messages
ERROR_CREATING_DOCUMENT_BUILDER = Error occured creating DocumentBuilder, verify that the JRE is properly setup.
ERROR_DOCUMENT_BUILDER_NOT_INIT = The DocumentBuilder was not initialized, verify that the JRE is properly setup.
ERROR_OPENING_FILE = Could not open the cheat sheet content file, ''{0}''.
ERROR_OPENING_FILE_IN_PARSER = Cheat sheet content file ''{0}'' not found.
ERROR_SAX_PARSING = Cheat sheet content file ''{0}'' could not be parsed.
ERROR_SAX_PARSING_WITH_LOCATION = Cheat sheet content file ''{0}'' could not be parsed, error at line ''{1}'', column ''{2}''.

# CheatSheetParser, content error messages
ERROR_PARSING_CHEATSHEET_CONTENTS = Error parsing the cheat sheet DOM.
ERROR_PARSING_CHEATSHEET_ELEMENT = The <cheatsheet> element must be the root node of the cheat sheet content file.
ERROR_PARSING_NO_INTRO = The cheat sheet content file must contain an <intro> element.
ERROR_PARSING_MORE_THAN_ONE_INTRO = The cheat sheet content file can only contain one <intro> element.
ERROR_PARSING_NO_ITEM = The cheat sheet content file must contain at least one <item> element.
ERROR_PARSING_PARAM_INVALIDRANGE = The action has a parameter ''{0}'' which specified an invalid range ''{1}''.
ERROR_PARSING_PARAM_INVALIDNUMBER = The action has a parameter which specified an invalid parameter number.
ERROR_PARSING_NO_DESCRIPTION = The description for element ''{0}'' was not defined.
ERROR_PARSING_MULTIPLE_DESCRIPTION = Element ''{0}'' has more than one description.
ERROR_PARSING_NO_SUBITEM = The ''{0}'' element must specify a subitem element.
ERROR_PARSING_NO_ACTION = The ''{0}'' element must specify an action or command element.
ERROR_PARSING_NO_TITLE = The ''{0}'' element must specify a title attribute.
ERROR_PARSING_NO_CLASS = The ''{0}'' element must specify a class attribute.
ERROR_PARSING_NO_PLUGINID = The ''{0}'' element must specify a pluginId attribute.
ERROR_PARSING_NO_CONDITION = The ''{0}'' element must specify a condition attribute.
ERROR_PARSING_NO_VALUES = The ''{0}'' element must specify a values attribute.
ERROR_PARSING_NO_LABEL = The ''{0}'' element must specify a label attribute.
ERROR_PARSING_INCOMPATIBLE_CHILDREN = The ''{0}'' element contains incompatible child elements ''{1}'' and ''{2}''.
ERROR_PARSING_DUPLICATE_CHILD = The ''{0}'' element has more than one child element ''{1}''.
ERROR_PARSING_REQUIRED_CONFIRM = The ''{0}'' element has both required = false and confirm = true.

# CheatsheetCommand, content error messages
ERROR_PARSING_NO_SERIALIZATION = The ''{0}'' element must specify a serialization attribute.

# CommandRunner
ERROR_COMMAND_ID_NOT_FOUND = The command could not be run because no command with id ''{0}'' was registered with the command service.
ERROR_COMMAND_ERROR_STATUS = The command did not complete successfully. 
ERROR_COMMAND_SERVICE_UNAVAILABLE = The command could not be run because the command service is not available.

# Action runner
EXCEPTION_RUNNING_ACTION = Exception thrown while running action.
ACTION_FAILED = Action returned a failure status

# CheatSheetParser, content warning messages
WARNING_PARSING_UNKNOWN_ATTRIBUTE = Unknown attribute ''{0}'' specified for element ''{1}''.
WARNING_PARSING_UNKNOWN_ELEMENT = Unknown element ''{0}'' specified for element ''{1}''.
WARNING_PARSING_DESCRIPTION_UNKNOWN_ELEMENT = The description for element ''{0}'' contains an unknown element ''{1}''.
WARNING_PARSING_ON_COMPLETION_UNKNOWN_ELEMENT = The onCompletion element for ''{0}'' contains an unknown element ''{1}''.

CheatSheetCategoryBasedSelectionDialog_showAll=Show &all
SELECTION_DIALOG_FILEPICKER_TITLE = Select Cheat Sheet Content File
SELECTION_DIALOG_FILEPICKER_BROWSE = &Browse...
SELECTION_DIALOG_OPEN_REGISTERED = Select a cheat sheet from the &list:
SELECTION_DIALOG_OPEN_FROM_FILE = Select a cheat sheet from a &file:
SELECTION_DIALOG_OPEN_FROM_URL = Enter the &URL of a cheat sheet:


CHEATSHEET_FROM_URL_WITH_EXEC = This cheat sheet contains actions and/or commands and may not work on all versions of Eclipse. 
CHEATSHEET_FROM_URL_WITH_EXEC_TITLE = Open cheat sheet from URL

# Composite Cheatsheets
ERROR_MULTIPLE_ERRORS = Multiple errors detected.
ERROR_PARSING_ROOT_NODE_TYPE = Root node is not ''{0}''.
ERROR_PARSING_DUPLICATE_TASK_ID = Duplicate task id ''{0}''.
ERROR_PARSING_NO_VALUE = Parameter has no value.
ERROR_PARSING_NO_NAME = Parameter has no name.
ERROR_PARSING_NO_ID = Missing task id in dependsOn element.
ERROR_PARSING_MULTIPLE_ROOT = A composite cheat sheet may not have more than one root task.
ERROR_PARSING_NO_ROOT = Missing root task.
ERROR_PARSING_INVALID_ID = Invalid id ''{0}'' in dependency.
ERROR_PARSING_CYCLE_DETECTED = Cycle detected in task dependencies.
ERROR_PARSING_CYCLE_CONTAINS = Task ''{0}'' depends on task ''{1}''.
ERROR_EDITABLE_TASK_WITH_CHILDREN = The editable task ''{0}'' may not have child tasks.
ERROR_PARSING_TASK_NO_NAME = Missing name attribute in {0}.
ERROR_PARSING_CCS_NO_NAME = Missing name attribute in compositeCheatsheet element.
ERROR_PARSING_TASK_NO_KIND = Missing kind attribute in task ''{0}''.
ERROR_PARSING_TASK_INVALID_KIND = Invalid kind ''{0}'' for {1} ''{2}''.
ERROR_PARSING_CHILDLESS_TASK_GROUP = Task group ''{0}'' has no children.

COMPLETED_TASK = This task has been completed.
THIS_TASK_SKIPPED = This task has been skipped.
PARENT_SKIPPED = This task cannot be started because parent task ''{0}'' has been skipped.
PARENT_COMPLETED = This task cannot be started because parent task ''{0}'' has been completed.
PARENT_BLOCKED = This task cannot be started until all prerequisite tasks for parent task ''{0}'' are completed.

COMPOSITE_PAGE_REVIEW_TASK = Review this task
COMPOSITE_PAGE_END_REVIEW = End review
COMPOSITE_PAGE_GOTO_TASK = Go to ''{0}''
COMPOSITE_PAGE_START_TASK = Start working on this task
COMPOSITE_PAGE_SKIP_TASK_GROUP = Skip this group of tasks
COMPOSITE_PAGE_SKIP_TASK = Skip this task
COMPOSITE_MENU_SKIP = S&kip
COMPOSITE_MENU_START = &Start
COMPOSITE_MENU_REVIEW = Re&view
COMPOSITE_MENU_RESET = &Reset
COMPOSITE_PAGE_BLOCKED = This task cannot be started until all prerequisite tasks are completed.
COMPOSITE_PAGE_TASK_NOT_COMPLETE = ''{0}'' has not been completed.
COMPOSITE_RESTART_DIALOG_TITLE = Restart Composite Cheat Sheet 
COMPOSITE_RESTART_CONFIRM_MESSAGE = This will reset the state of all tasks.
COMPOSITE_RESET_TASK_DIALOG_MESSAGE = These tasks will be reset to their initial state:
COMPOSITE_RESET_TASK_DIALOG_TITLE = Confirm task reset 
CHEATSHEET_TASK_NO_ID = Cheatsheet task must have an 'id' or 'path' parameter
