<?php
// Heading
$_['heading_title_vqmods'] 				= 'VQMod Manager';
$_['heading_bcrumb_vqmods'] 			= 'Enhanced VQMod Manager';
$_['heading_bcrumb_edit'] 				= 'Enhanced VQMod Editor';

// Text
$_['text_autodetect']       			= 'VQMod appears to be installed at the following path.  Press Save to confirm path and complete installation.';
$_['text_autodetect_fail']  			= 'Unable to detect VQMod installation.  Please download and install the <a href="https://github.com/vqmod/vqmod/releases" target="_blank">latest version</a> or enter the non-standard server installation path.';
$_['text_cachetime']        			= '%s seconds';
$_['text_edit']         				= 'Edit';
$_['text_edit_vqmod']       			= 'Edit VQMod: <strong>%s</strong>';
$_['text_edit_comment']       			= 'Edit Comment For: <strong>%s</strong>';
$_['text_has_comment']       			= 'This VQMod has a comment';
$_['text_comment_info']       			= 'Here you can add or edit a comment to help with debugging problems.';
$_['text_delete']           			= 'Delete';
$_['text_delete_selected']  			= 'Delete Selected';
$_['text_download']         			= 'Download';
$_['text_disabled']         			= 'Disabled';
$_['text_enabled']          			= 'Enabled';
$_['text_return']           			= 'Cancel';
$_['text_enabled2']         			= '<i class="fa fa-power-off fa-2x fa-but-on" style="color:green; cursor:pointer;"></i>';
$_['text_disabled2']        			= '<i class="fa fa-power-off fa-2x fa-but-off" style="color:red; cursor:pointer;"></i>';
$_['text_install']          			= 'Click to Enable';
$_['text_uninstall']        			= 'Click to Disable';
$_['text_no_results']       			= 'No VQMod scripts were found!';
$_['text_separator']        			= ' &rarr; ';
$_['text_unavailable']      			= '&mdash;';
$_['text_upload']           			= 'Upload';
$_['text_usecache_help']    			= 'useCache is deprecated as of VQMod 2.1.7';
$_['text_vqcache_help']     			= 'Some system files will always be present even after clearing the cache.';
$_['text_size']             			= 'Size';
$_['text_no_file']             			= 'No xml file selected!';
$_['text_backup_file_warning']          = 'Download &amp; backup your xml before editing!!';
$_['text_restore_explain']          	= 'When you click on the edit button a backup will be created in the vqmod\backups folder. From this page you can restore or delete these backups.<br /><i class="fa fa-info-circle fa-lg text-danger"></i>&nbsp;<strong>Please Note</strong>: If you retore a backup file the original file will be deleted!';
$_['text_change_date_added']            = 'Change Date Added';
$_['text_developer_details']            = 'Developer Details';
$_['text_email_info']            		= 'Email';
$_['text_link_info']            		= 'Website';
$_['text_external_email']            	= 'Email Developer';
$_['text_external_link']            	= 'Visit Website';
$_['text_edit_comment_modal']           = 'Edit Comment';

$_['text_saving'] 						= 'SAVING';
$_['text_generating'] 					= 'GENERATING';
$_['text_removeing'] 					= 'REMOVING';
$_['text_restoreing'] 					= 'RESTORING';
$_['text_clearing'] 					= 'CLEARING';
$_['text_uploading'] 					= 'UPLOADING';
$_['text_ea_changing'] 					= 'CHANGING';
$_['text_ea_loading'] 					= 'LOADING';

// Success
$_['text_success']          			= 'Success: You have modified VQMod Manager!';
$_['success_clear_vqcache'] 			= 'Success: VQMod cache cleared!';
$_['success_clear_log']     			= 'Success: VQMod error log cleared!';
$_['success_delete']        			= 'Success: VQMod script deleted!';
$_['success_install']       			= 'Success: VQMod script installed!';
$_['success_uninstall']     			= 'Success: VQMod script uninstalled!';
$_['success_upload']        			= 'Success: VQMod script uploaded!';
$_['success_loaded']        			= 'Success: VQMod script loaded!';
$_['success_saved']         			= 'Success: VQMod script <strong>%s</strong> has been saved!';
$_['success_saved_comment']         	= 'Success: VQMod comment has been saved!';
$_['success_modified']      			= 'Success: VQMod script has been modified!';
$_['success_update_date']      			= 'Success: VQMod date added has been modified!';
$_['success_backups_delete']        	= 'Success: VQMod backups deleted!';
$_['success_xml_restored']      		= 'Success: XML restored!';
$_['success_date_changed']      		= 'Success: Date Changed!';

// Columns
$_['column_install']       				= 'Install / Uninstall';
$_['column_author']        				= 'Author';
$_['column_delete']        				= 'Delete';
$_['column_action']        				= 'Action';
$_['column_file_name']     				= 'File Name';
$_['column_xml_id']            			= 'ID';
$_['column_id']            				= 'XML Name';
$_['column_status']        				= 'Status';
$_['column_version']       				= 'Version';
$_['column_xml']     	   				= 'XML Code';
$_['column_vqmver']        				= 'VQMod Version';
$_['column_size']          				= 'Size (KB)';
$_['column_date_added']          		= 'Added';
$_['column_date_modified']          	= 'Modified';
$_['column_backup_date']          		= 'Backup Date';
$_['column_comment']     	   			= 'Comment';

// Entry
$_['entry_attribution']    				= 'Attribution:';
$_['entry_author']         				= 'Author:';
$_['entry_backup']         				= 'Backup VQMod Scripts:';
$_['entry_ext_store']      				= 'Latest Version:';
$_['entry_ext_version']    				= 'VQMod Manager Version:';
$_['entry_forum']          				= 'OpenCart Forum Thread:';
$_['entry_license']        				= 'License:';
$_['entry_upload']         				= 'VQMod Script Upload:';
$_['entry_vqcache']        				= 'VQMod Cache:';
$_['entry_vqmod_path']     				= 'VQMod Path:';
$_['entry_website']        				= 'Website:';

// Button
$_['button_save_xml']        			= 'Save XML';
$_['button_close_xml']        			= 'Return to Scripts';
$_['button_save_comment']        		= 'Save Comment';
$_['button_backup']        				= 'Backup Scripts';
$_['button_cancel']        				= 'Cancel';
$_['button_clear']         				= 'Clear Cache';
$_['button_clear_logs']         		= 'Clear Logs';
$_['button_download_log']  				= 'Download Log';
$_['button_vqcache_dump']  				= 'Dump Cache ';
$_['button_choose_file']             	= 'Choose xml file';
$_['button_edit_xml']        			= 'Edit XML';
$_['button_edit_comment']        		= 'View or Edit Comment';
$_['button_add_comment']        		= 'Add Comment';
$_['button_download_xml']        		= 'Download XML';
$_['button_delete_xml']        			= 'Delete XML';
$_['button_delete_selected']        	= 'Delete Selected';
$_['button_delete_no']        			= 'Cannot Delete This!';
$_['button_update_date']        		= 'Update date added';
$_['button_restore_xml']        		= 'Restore XML';
$_['button_create_backup']        		= 'Create Backup';
$_['button_save_continue']          	= '<i class="fa fa-check"></i>';
$_['button_save_close']             	= '<i class="fa fa-save"></i>';
$_['button_cancel_return']          	= '<i class="fa fa-close"></i>';

// VQMod Variable Settings
$_['setting_dir_separator']   			= 'Directory Separator:';
$_['setting_logfolder']       			= 'Log Folder:';
$_['setting_logging']        			= 'Error Logging:';
$_['setting_modcache']        			= 'modCache:';
$_['setting_path_replaces']   			= 'Path Replacements:<br /><span class="help">Changes do not go into effect until the mods.cache file is deleted.</span>';
$_['setting_protected_files'] 			= 'Protected Files:';

// Tabs
$_['tab_scripts']           			= 'VQMod Scripts';
$_['tab_backups']             			= 'Restore Scripts';
$_['tab_settings']          			= 'Cache Files';
$_['tab_error_log']         			= 'Error Logs';

// Text Highlighting
$_['highlight-error']      				= '<span class="highlight-error">%s</span>';

// VQMod Manager Use Errors
$_['error_delete']         				= 'Warning: Unable to delete VQMod script!';
$_['error_restore']         			= 'Warning: Unable to restore VQMod script!';
$_['error_filetype']       				= 'Warning: Invalid filetype!  Please only upload .xml files.';
$_['error_install']        				= 'Warning: Unable to install VQMod script!';
$_['error_invalid_xml']    				= 'Warning: VQMod script XML syntax is invalid!  Please contact the author for support.';
$_['error_log_size']       				= 'Warning: Your VQMod error log is %sMBs.  The limit for VQMod Manager is 6MB.  You can download the error log by FTP or by clicking the \'Download Log\' button in the Error Log tab.  Otherwise consider clearing it.';
$_['error_log_download']   				= 'Warning: No error logs available for download!';
$_['error_moddedfile']     				= 'Warning: VQMod script attempts to mod file \'%s\' which does not appear to exist!';
$_['error_move']           				= 'Warning: Unable to save file on server.  Please check directory permissions.';
$_['error_permission']     				= 'Warning: You do not have permission to modify VQMod Manager!';
$_['error_uninstall']      				= 'Warning: Unable to uninstall VQMod script!';
$_['error_vqmod_opencart'] 				= 'Warning: \'vqmod_opencart.xml\' is rquired for VQMod to function properly!';

// $_FILE Upload Errors
$_['error_form_max_file_size']   		= 'Warning: VQMod script exceeds max allowable size!';
$_['error_ini_max_file_size']    		= 'Warning: VQMod script exceeds max php.ini file size!';
$_['error_no_temp_dir']          		= 'Warning: No temporary directory found!';
$_['error_no_upload']            		= 'Warning: No file selected for upload!';
$_['error_partial_upload']       		= 'Warning: Upload incomplete!';
$_['error_php_conflict']         		= 'Warning: Unknown PHP conflict!';
$_['error_unknown']              		= 'Warning: Unknown error!';
$_['error_write_fail']           		= 'Warning: Failed to write VQMod script!';

// VQMod Installation Errors
$_['error_error_log_write']            	= 'Unable to write to VQMod error log!  Please set "<span class="error-install">/vqmod</span>" directory permissions to 755 or 777 and try again.';
$_['error_error_logs_write']           	= 'Unable to write to VQMod error log!  Please set "<span class="error-install">/vqmod/logs</span>" directory permissions to 755 or 777 and try again.';
$_['error_opencart_version']           	= 'OpenCart 2.x or later is required to use Enhanced VQMod Manager!';
$_['error_opencart_xml']               	= 'Required file "<span class="error-install">/vqmod/xml/vqmod_opencart.xml</span>" does not appear to exist!  Please install the latest OpenCart-compatible version of VQMod from <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a> and try again.';
$_['error_opencart_xml_disabled']      	= 'Warning: "<span class="error-install">vqmod_opencart.xml</span>" is disabled!  VQMod scripts will not function!';
$_['error_opencart_xml_version']       	= 'You appear to be using a version of "<span class="error-install">vqmod_opencart.xml</span>" that is out-of-date for your OpenCart version!  Please install the latest OpenCart-compatible version of VQMod from <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a> and try again.';
$_['error_vqcache_dir']                	= 'Required directory "<span class="error-install">/vqmod/vqcache</span>" does not appear to exist!  Please install the latest OpenCart-compatible version of VQMod from <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a> and try again.';
$_['error_vqcache_write']              	= 'Unable to write to "<span class="error-install">/vqmod/vqcache</span>" directory!  Set permissions to 755 or 777 and try again.';
$_['error_vqcache_files_missing']      	= 'VQMod does not appear to be properly generating vqcache files!';
$_['error_vqmod_core']                 	= 'Required file "<span class="error-install">vqmod.php</span>" is missing!  Please install the latest OpenCart-compatible version of VQMod from <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a> and try again.';
$_['error_vqmod_dir']                  	= 'The "<span class="error-install">/vqmod</span>" directory does not appear to exist!';
$_['error_vqmod_install_link']         	= 'VQMod does not appear to have been integrated with OpenCart!  Please run the VQMod installer at <a href="%1$s">%1$s</a>.  If you have previously run the installer ensure that you are using the latest version of VQMod found at <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a>.';
$_['error_vqmod_opencart_integration'] 	= 'VQMod does not appear to have been integrated with OpenCart!  Please install the latest OpenCart-compatible version of VQMod from <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a> and try again.';
$_['error_vqmod_script_dir']           	= 'Required directory "<span class="error-install">/vqmod/xml</span>" does not appear to exist!  Please install the latest OpenCart-compatible version of VQMod from <a href="https://github.com/vqmod/vqmod/releases" target="_blank">https://github.com/vqmod/vqmod/releases</a> and try again.';
$_['error_vqmod_script_write']         	= 'Unable to write to "<span class="error-install">/vqmod/xml</span>" directory!  Please set directory permissions to 755 or 777 and try again.';

// VQMod Manager Dependency Errors
$_['error_simplexml']       			= '<a href="http://php.net/manual/en/book.simplexml.php" target="_blank">SimpleXML</a> must be installed for VQMod Manager to work properly!  Contact your host for more info.';
$_['error_ziparchive']      			= 'Warning: <a href="http://php.net/manual/en/class.ziparchive.php" target="_blank">ZipArchive</a> is not installed!';

// VQMod Log Errors
$_['error_mod_aborted']     			= 'Mod Aborted';
$_['error_mod_skipped']     			= 'Operation Skipped';

// Javascript Warnings
$_['warning_required_delete']    		= 'Warning:  Deleting \\\'vqmod_opencart.xml\\\' will cause VQMod to STOP WORKING!  Continue?';
$_['warning_required_uninstall'] 		= 'Warning:  Uninstalling \\\'vqmod_opencart.xml\\\' will cause VQMod to STOP WORKING!  Continue?';
$_['warning_vqmod_delete']       		= 'Warning:  Deleting a VQMod script cannot be undone!  Are you sure you want to do this?';
$_['warning_vqmod_restore']       		= 'Warning:  Restoring a VQMod script cannot be undone!  Are you sure you want to do this?';
