 <?php
/**
 * Merlin WP configuration file.
 *
 * @package   Merlin WP
 * @version   @@pkg.version
 * @link      https://merlinwp.com/
 * @author    Rich Tabor, from ThemeBeans.com & the team at ProteusThemes.com
 * @copyright Copyright (c) 2018, Merlin WP of Inventionn LLC
 * @license   Licensed GPLv3 for Open Source Use
 */

if ( ! class_exists( 'Merlin' ) ) {
	return;
}

/**
 * Set directory locations, text strings, and settings.
 */
$wizard = new Merlin(

	$config = array(
		'directory'            => 'inc/installer', // Location / directory where Merlin WP is placed in your theme.
		'merlin_url'           => 'configurator', // The wp-admin page slug where Merlin WP loads.
		'parent_slug'          => 'themes.php', // The wp-admin parent page slug for the admin menu item.
		'capability'           => 'manage_options', // The capability required for this menu to be displayed to the user.
		// 'child_action_btn_url' => 'https://codex.wordpress.org/child_themes', // URL for the 'child-action-link'.
		'dev_mode'             => true, // Enable development mode for testing.
		'license_step'         => false, // EDD license activation step.
		'license_required'     => false, // Require the license activation step.
		'license_help_url'     => '', // URL for the 'license-tooltip'.
		'edd_remote_api_url'   => '', // EDD_Theme_Updater_Admin remote_api_url.
		'edd_item_name'        => '', // EDD_Theme_Updater_Admin item_name.
		'edd_theme_slug'       => '', // EDD_Theme_Updater_Admin item_slug.
		'ready_big_button_url' => '/', // Link for the big button on the ready step.
	),

	$strings = array(
		'admin-menu'               => esc_html__( 'Theme Config', 'seowp' ),

		/* translators: 1: Title Tag 2: Theme Name 3: Closing Title Tag */
		'title%s%s%s%s'            => esc_html__( '%1$s%2$s Themes &lsaquo; Theme Setup: %3$s%4$s', 'seowp' ),
		'return-to-dashboard'      => esc_html__( 'Return to the dashboard', 'seowp' ),
		'ignore'                   => esc_html__( 'Disable this wizard', 'seowp' ),

		'btn-skip'                 => esc_html__( 'Skip', 'seowp' ),
		'btn-next'                 => esc_html__( 'Next', 'seowp' ),
		'btn-start'                => esc_html__( 'Start', 'seowp' ),
		'btn-no'                   => esc_html__( 'Cancel', 'seowp' ),
		'btn-plugins-install'      => esc_html__( 'Install', 'seowp' ),
		'btn-child-install'        => esc_html__( 'Install', 'seowp' ),
		'btn-content-install'      => esc_html__( 'Install', 'seowp' ),
		'btn-import'               => esc_html__( 'Import', 'seowp' ),
		'btn-license-activate'     => esc_html__( 'Activate', 'seowp' ),
		'btn-license-skip'         => esc_html__( 'Later', 'seowp' ),

		/* translators: Theme Name */
		'license-header%s'         => esc_html__( 'Activate %s', 'seowp' ),
		/* translators: Theme Name */
		'license-header-success%s' => esc_html__( '%s is Activated', 'seowp' ),
		/* translators: Theme Name */
		'license%s'                => esc_html__( 'Enter your license key to enable remote updates and theme support.', 'seowp' ),
		'license-label'            => esc_html__( 'License key', 'seowp' ),
		'license-success%s'        => esc_html__( 'The theme is already registered, so you can go to the next step!', 'seowp' ),
		'license-json-success%s'   => esc_html__( 'Your theme is activated! Remote updates and theme support are enabled.', 'seowp' ),
		'license-tooltip'          => esc_html__( 'Need help?', 'seowp' ),

		/* translators: Theme Name */
		'welcome-header%s'         => esc_html__( 'Welcome to %s', 'seowp' ),
		'welcome-header-success%s' => esc_html__( 'Hi. Welcome back', 'seowp' ),
		'welcome%s'                => esc_html__( 'We need to install premium plugins and configure the theme for you.', 'seowp' ),
		'welcome-success%s'        => esc_html__( 'You may have already run this theme setup wizard. If you would like to proceed anyway, click on the "Start" button below.', 'seowp' ),

		'child-header'             => esc_html__( 'Install Child Theme', 'seowp' ),
		'child-header-success'     => esc_html__( 'You\'re good to go!', 'seowp' ),
		'child'                    => esc_html__( 'Let\'s build & activate a child theme so you may easily make theme changes.', 'seowp' ),
		'child-success%s'          => esc_html__( 'Your child theme has already been installed and is now activated, if it wasn\'t already.', 'seowp' ),
		'child-action-link'        => esc_html__( 'Learn about child themes', 'seowp' ),
		'child-json-success%s'     => esc_html__( 'Awesome. Your child theme has already been installed and is now activated.', 'seowp' ),
		'child-json-already%s'     => esc_html__( 'Awesome. Your child theme has been created and is now activated.', 'seowp' ),

		'plugins-header'           => esc_html__( 'Install Plugins', 'seowp' ),
		'plugins-header-success'   => esc_html__( 'You\'re up to speed!', 'seowp' ),
		'plugins'                  => esc_html__( 'Our theme includes a few premium WordPress plugins. This step is required.', 'seowp' ),
		'plugins-success%s'        => esc_html__( 'The required WordPress plugins are all installed and up to date. Press "Next" to continue the setup wizard.', 'seowp' ),
		'plugins-action-link'      => esc_html__( 'Advanced', 'seowp' ),

		'import-header'            => esc_html__( 'Import Content', 'seowp' ),
		'import'                   => esc_html__( 'Let\'s import ready to use content and premium illustrations.', 'seowp' ),
		'import-action-link'       => esc_html__( 'Advanced', 'seowp' ),

		'ready-header'             => esc_html__( 'All done. Have fun!', 'seowp' ),

		/* translators: Theme Author */
		'ready%s'                  => esc_html__( 'Your theme has been all set up.', 'seowp' ),
		'ready-action-link'        => esc_html__( 'Extras', 'seowp' ),
		'ready-big-button'         => esc_html__( 'View your website', 'seowp' ),
		'ready-link-1'             => sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'https://support.seowptheme.com/category/11-getting-started', esc_html__( 'Theme Documentation', 'seowp' ) ),
		'ready-link-2'             => sprintf( '<a href="%1$s" target="_blank">%2$s</a>', 'https://themeforest.net/item/seo-wp-online-marketing-seo-social-media-agency/8012838/support', esc_html__( 'Get Theme Support', 'seowp' ) ),
		'ready-link-3'             => sprintf( '<a href="%1$s">%2$s</a>', esc_url( admin_url( 'customize.php' ) ), esc_html__( 'Start Customizing', 'seowp' ) ),
	)
);
