Module Localize
    ' default data file information
    Public Const LF_DATAFILE As String = "Se-Library.dat"
    Public Const LF_INIFILE As String = "Se-Library.ini"
    Public Const LF_FILENAME As String = "Filename"
    Public Const LF_DEFAULT_NAME As String = "se-library.par"
    Public Const LF_FILE As String = "File: "
    Public Const LF_FOUND As String = ", Found."
    Public Const LF_NOT_FOUND As String = ", will be created."

    ' data file indentifier constants
    Public Const C_NEW_PART As String = "NEW_PART"
    Public Const C_PART_TYPE As String = "PART_TYPE="
    Public Const C_PART_CLASS As String = "PART_CLASS="
    Public Const C_PART_DRAWING As String = "PART_DRAWING="
    Public Const C_HEADING As String = "HEADING="
    Public Const C_PART_DATA As String = "DATA="
    Public Const C_PART_TEMPLATE As String = "PART_TEMPLATE="
    Public Const C_END_PART As String = "END_PART"
    Public Const C_FILE_DELIMITER As String = ","
    Public Const C_DECIMAL As String = "."
    Public Const C_NUMBERFORMAT As String = "0.#######"

    ' error text
    Public Const LE_NODATAFILE As String = "The datafile '" & LF_DATAFILE & "' was not found."
    Public Const LE_NOINI As String = "An error was encountered reading the INI file: '" & LF_DATAFILE & "'."
    Public Const LE_BADFILENAME As String = "' is an invalid file name, Please correct the data file and re-start this utility."
    Public Const LE_FILE As String = "The file: '"
    Public Const LE_COPYFAIL As String = "' could not be created. Can't continue this process."
    Public Const LE_NOTFOUND As String = "' was not found. Click Yes to continue, No to exit the program."
    Public Const LE_NOREADME As String = "' was not found."
    Public Const LE_NOTFOUNDSTOP As String = "' was not found. The file is require to continue."
    Public Const LE_FILEEXISTS As String = "' exists, do you want to overwrite it?"
    Public Const LE_NOASSEMBLY As String = "Solid Edge Assembly must be running and an assembly loaded. Please start Solid Edge and load an assembly."
    Public Const LE_BUILDNEWFAIL As String = "Solid Edge was not able to build the selected part. The master part may be corrupt."
    Public Const LE_NOOPEN As String = "' could not be opened in Solid Edge. Can't continue this process."
    Public Const LE_NOUPDATE As String = "' could not be updated in Solid Edge. Can't continue this process."
    Public Const LE_NOSAVE As String = "' could not be saved. Can't continue this process."
    Public Const LE_ADDNEWPART As String = "' could not be added. Please add the part manually."
    Public Const LE_NOPARTTYPE As String = "One part type doesn't contain '" & C_PART_TYPE & "' information, " & "edit the data file and add the information. Exiting Program."
    Public Const LE_NOPARTCLASS As String = "One part type doesn't contain '" & C_PART_CLASS & "' information, " & "edit the data file and add the information. Exiting Program."
    Public Const LE_NOPARTDRAWING As String = "One part type doesn't contain '" & C_PART_DRAWING & "' information, " & "edit the data file and add the information. Exiting Program."
    Public Const LE_NOHEADING As String = "One part type doesn't contain '" & C_HEADING & "' information, " & "edit the data file and add the information. Exiting Program."
    Public Const LE_NOPARTDATA As String = "One part type doesn't contain '" & C_PART_DATA & "' information, " & "edit the data file and add the information. Exiting Program."
    Public Const LE_NOBASEPART As String = "One part type doesn't contain '" & C_PART_TEMPLATE & "' information, " & "edit the data file and add the information. Exiting Program."
    Public Const LE_NOPARTS As String = " part type doesn't contain any sizes. Edit the data file and add the data. Exiting Program."
    Public Const LE_NOVARIABLES As String = "One part type contains no size variables, at least a 'NOMINAL'" & "field is required, edit the data file. Exiting Program."
    Public Const LE_NOSIZES As String = "One part type contains no sizes or dimensions, at least a 'NOMINAL'" & "field is required, edit the data file. Exiting Program."
    Public Const LE_SVMISSMATCH As String = "One part type contains different numbers of variables and dimensions, " & " edit the data file. Exiting Program."
    Public Const LE_NODATREAD As String = "An unexpected error was encountered reading the data file: '" & LF_DATAFILE & "'. Un-install and re-install this utility. Exiting Program."
    Public Const LE_NOPARTVARS As String = "' has less variables than required. The part will not recompute properly." & " Please update the base part with the correct variables. Process ending."
    Public Const LE_NOTYPECLASS As String = "Information for either '" & C_PART_TYPE & ", or '" & C_PART_CLASS & "' is missing in one of the part definitions." & " Add the information to the data file. Process ending."
    Public Const LE_FATALERROR As String = "An unexpected error was encounterd. Try re-installing this utiltiy. Process ending."
    Public Const LE_TYPEEXISTS As String = " is already in use. Make sure '" & C_NEW_PART & "' is included the part definition." & " Add the information to the data file. Process ending."
    Public Const LE_VALIDFAIL As String = " could not be validated."
    Public Const LE_DIVIDEBYZERO As String = "One dimensional value entered contains a divide by zero, 1 will be substituted."
    Public Const LE_INVALIDDAT As String = " is not a valid data file."
    Public Const LE_NOPROPERTIES As String = "' could not be updated with default properties, add manually."
    Public Const LE_ZERODIM1 As String = "' has a dimension of "
    Public Const LE_ZERODIM2 As String = " can't be used. The model will not be dimensionally correct."
    Public Const LE_WRONGENVIRONMENT As String = "This library must be run from the Assembly environment."
    Public Const LE_NOREPLACE As String = " could not be replaced. Process aborting."
    Public Const LE_NOSELECTED As String = "Please select a part to be replaced first."
    Public Const LE_LOCALEFAIL As String = " could not be updated with the current locale."
    Public Const LE_NOSAVEINI As String = "The default path could not be updated to the INI file."
    Public Const LE_NEEDSE As String = "Please start Solid Edge Assembly."
    Public Const LE_VERSION As String = "This part library requires at least Solid Edge version " & NEED_VERSION & "."

    ' screen text
    Public Const LS_MSGBOX_TITLE As String = "Solid Edge Library Manager"
    Public Const LS_MAIN_CAPTION As String = "Solid Edge Library Manager"
    Public Const LS_BUTTON_DONE As String = "&Exit"
    Public Const LS_BUTTON_ADD As String = "&Add"
    Public Const LS_BUTTON_REPLACE As String = "&Replace"
    Public Const LS_CHK_PROPERTIES As String = "Edit part properties at creation"
    Public Const LS_VIEWDRAWING As String = "Show Drawing"
    Public Const LS_VIEWPART As String = "Show Part"
    Public Const LS_NODRAWING As String = "Drawing Not Found"
    Public Const LS_NOPART As String = "Part Not Found"
    Public Const LS_ORIGIN As String = "Place part at assembly origin"
    Public Const LS_CANCEL As String = "&Cancel"
    Public Const LS_OPEN As String = "&Open"
    Public Const LS_LOCATION_CAPTION As String = "Library Locations "

    ' command line descriptions
    Public Const LC_BUTTON_DONE As String = "Done with this part library manager, exit."
    Public Const LC_BUTTON_ADD As String = "Add the selected part to the assembly."
    Public Const LC_LABEL_CLASS As String = "Select the class (or style) for the current library type."
    Public Const LC_CHK_PROPERTIES As String = "Specific data (part properties) can be entered as the selected part is being created."
    Public Const LC_BUTTON_LEFT As String = "Click this button to scroll the tabs to the left."
    Public Const LC_BUTTON_RIGHT As String = "Click this button to scroll the tabs to the right."
    Public Const LT_BUTTON_LEFT As String = "Scroll left"
    Public Const LT_BUTTON_RIGHT As String = "Scroll right"
    Public Const LT_PROCESS_CONNECT As String = "Connecting to Solid Edge, please wait..."
    Public Const LT_PROCESS_BUILDPART As String = "Building part, please wait..."
    Public Const LT_PROCESS_ADDPART As String = "Adding the new part to the assembly, please wait..."
    Public Const LT_PROCESS_COPYPART As String = "Creating the new part, please wait..."
    Public Const LT_PROCESS_UPDATEPART As String = "Updating the new part, please wait..."
    Public Const LT_PROCESS_SAVEPART As String = "Saving the new part, please wait..."
    Public Const LC_VIEWER As String = "Click to view the "
    Public Const LC_PLACEATORIGIN As String = "Check this option to place the part at the assembly origin."
    Public Const LC_TABTYPE As String = "Click a tab to change the part type."

    ' miscalaneous
    Public Const LM_INVALIDCHARS As String = "/\:*?<>|"
    Public Const LM_PROGRAMTITLE As String = "Solid Edge Part Library"
    Public Const LM_FRACTION As String = "l" ' this simulates 1/2 by 1l2

    ' menu items
    Public Const LM_FILE As String = "&File"
    Public Const LM_OPEN As String = "&Open"
    Public Const LM_EXIT As String = "&Exit"

    Public Const LM_HELP As String = "&Help"
    Public Const LM_HELPHELP As String = "Help"
    Public Const LM_ABOUT As String = "&About"

    ' about box
    Public Const LA_ABOUTCAPTION As String = "About " & LS_MAIN_CAPTION
    Public Const LA_TEXT1 As String = "Solid Edge Library Manager version 3.00 for Solid Edge ST3. Copyright (c) 2010 Siemens PLM Software All rights reserved."

    Public Const LA_LIC1 As String = "Warning: This computer program, including software, file formats, and audio-visual "
    Public Const LA_LIC2 As String = "displays; may be used pursuant to applicable software license agreement; contains "
    Public Const LA_LIC3 As String = "confidential and proprietary information which is protected by copyright and trade "
    Public Const LA_LIC4 As String = "secret law and may not be provided or otherwise made available without proper authorization."

    Public Const LA_EXIT As String = "&Exit"

    Public Const LH_HELPCAPTION As String = "Help " & LS_MAIN_CAPTION
End Module
