<?php 
/**
	Admin Page Framework v3.8.15 by Michael Uno 
	Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
	<http://en.michaeluno.jp/cs-tmc>
	Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class cs_tmc_AdminPageFramework_Message {
    public $aMessages = array();
    public $aDefaults = array('option_updated' => 'The options have been updated.', 'option_cleared' => 'The options have been cleared.', 'export' => 'Export', 'export_options' => 'Export Options', 'import_options' => 'Import', 'import_options' => 'Import Options', 'submit' => 'Submit', 'import_error' => 'An error occurred while uploading the import file.', 'uploaded_file_type_not_supported' => 'The uploaded file type is not supported: %1$s', 'could_not_load_importing_data' => 'Could not load the importing data.', 'imported_data' => 'The uploaded file has been imported.', 'not_imported_data' => 'No data could be imported.', 'upload_image' => 'Upload Image', 'use_this_image' => 'Use This Image', 'insert_from_url' => 'Insert from URL', 'reset_options' => 'Are you sure you want to reset the options?', 'confirm_perform_task' => 'Please confirm your action.', 'specified_option_been_deleted' => 'The specified options have been deleted.', 'nonce_verification_failed' => 'A problem occurred while processing the form data. Please try again.', 'check_max_input_vars' => 'Not all form fields could not be sent. Please check your server settings of PHP <code>max_input_vars</code> and consult the server administrator to increase the value. <code>max input vars</code>: %1$s. <code>$_POST</code> count: %2$s', 'send_email' => 'Is it okay to send the email?', 'email_sent' => 'The email has been sent.', 'email_scheduled' => 'The email has been scheduled.', 'email_could_not_send' => 'There was a problem sending the email', 'title' => 'Title', 'author' => 'Author', 'categories' => 'Categories', 'tags' => 'Tags', 'comments' => 'Comments', 'date' => 'Date', 'show_all' => 'Show All', 'show_all_authors' => 'Show all Authors', 'powered_by' => 'Thank you for creating with', 'and' => 'and', 'settings' => 'Settings', 'manage' => 'Manage', 'select_image' => 'Select Image', 'upload_file' => 'Upload File', 'use_this_file' => 'Use This File', 'select_file' => 'Select File', 'remove_value' => 'Remove Value', 'select_all' => 'Select All', 'select_none' => 'Select None', 'no_term_found' => 'No term found.', 'select' => 'Select', 'insert' => 'Insert', 'use_this' => 'Use This', 'return_to_library' => 'Return to Library', 'queries_in_seconds' => '%1$s queries in %2$s seconds.', 'out_of_x_memory_used' => '%1$s out of %2$s MB (%3$s) memory used.', 'peak_memory_usage' => 'Peak memory usage %1$s MB.', 'initial_memory_usage' => 'Initial memory usage  %1$s MB.', 'repeatable_section_is_disabled' => 'The ability to repeat sections is disabled.', 'repeatable_field_is_disabled' => 'The ability to repeat fields is disabled.', 'warning_caption' => 'Warning', 'allowed_maximum_number_of_fields' => 'The allowed maximum number of fields is {0}.', 'allowed_minimum_number_of_fields' => 'The allowed minimum number of fields is {0}.', 'add' => 'Add', 'remove' => 'Remove', 'allowed_maximum_number_of_sections' => 'The allowed maximum number of sections is {0}', 'allowed_minimum_number_of_sections' => 'The allowed minimum number of sections is {0}', 'add_section' => 'Add Section', 'remove_section' => 'Remove Section', 'toggle_all' => 'Toggle All', 'toggle_all_collapsible_sections' => 'Toggle all collapsible sections', 'reset' => 'Reset', 'yes' => 'Yes', 'no' => 'No', 'on' => 'On', 'off' => 'Off', 'enabled' => 'Enabled', 'disabled' => 'Disabled', 'supported' => 'Supported', 'not_supported' => 'Not Supported', 'functional' => 'Functional', 'not_functional' => 'Not Functional', 'too_long' => 'Too Long', 'acceptable' => 'Acceptable', 'no_log_found' => 'No log found.', 'method_called_too_early' => 'The method is called too early.', 'debug_info' => 'Debug Info', 'debug' => 'Debug', 'field_arguments' => 'Field Arguments', 'debug_info_will_be_disabled' => 'This information will be disabled when <code>WP_DEBUG</code> is set to <code>false</code> in <code>wp-config.php</code>.', 'section_arguments' => 'Section Arguments', 'click_to_expand' => 'Click here to expand to view the contents.', 'click_to_collapse' => 'Click here to collapse the contents.', 'loading' => 'Loading...', 'please_enable_javascript' => 'Please enable JavaScript for better user experience.',);
    protected $_sTextDomain = 'cs-tmc';
    static private $_aInstancesByTextDomain = array();
    public static function getInstance($sTextDomain = 'cs-tmc') {
        $_oInstance = isset(self::$_aInstancesByTextDomain[$sTextDomain]) && (self::$_aInstancesByTextDomain[$sTextDomain] instanceof cs_tmc_AdminPageFramework_Message) ? self::$_aInstancesByTextDomain[$sTextDomain] : new cs_tmc_AdminPageFramework_Message($sTextDomain);
        self::$_aInstancesByTextDomain[$sTextDomain] = $_oInstance;
        return self::$_aInstancesByTextDomain[$sTextDomain];
    }
    public static function instantiate($sTextDomain = 'cs-tmc') {
        return self::getInstance($sTextDomain);
    }
    public function __construct($sTextDomain = 'cs-tmc') {
        $this->_sTextDomain = $sTextDomain;
        $this->aMessages = array_fill_keys(array_keys($this->aDefaults), null);
    }
    public function getTextDomain() {
        return $this->_sTextDomain;
    }
    public function set($sKey, $sValue) {
        $this->aMessages[$sKey] = $sValue;
    }
    public function get($sKey = '') {
        if (!$sKey) {
            return $this->_getAllMessages();
        }
        return isset($this->aMessages[$sKey]) ? __($this->aMessages[$sKey], $this->_sTextDomain) : __($this->{$sKey}, $this->_sTextDomain);
    }
    private function _getAllMessages() {
        $_aMessages = array();
        foreach ($this->aMessages as $_sLabel => $_sTranslation) {
            $_aMessages[$_sLabel] = $this->get($_sLabel);
        }
        return $_aMessages;
    }
    public function output($sKey) {
        echo $this->get($sKey);
    }
    public function __($sKey) {
        return $this->get($sKey);
    }
    public function _e($sKey) {
        $this->output($sKey);
    }
    public function __get($sPropertyName) {
        return isset($this->aDefaults[$sPropertyName]) ? $this->aDefaults[$sPropertyName] : $sPropertyName;
    }
    private function __doDummy() {
        __('The options have been updated.', 'cs-tmc');
        __('The options have been cleared.', 'cs-tmc');
        __('Export', 'cs-tmc');
        __('Export Options', 'cs-tmc');
        __('Import', 'cs-tmc');
        __('Import Options', 'cs-tmc');
        __('Submit', 'cs-tmc');
        __('An error occurred while uploading the import file.', 'cs-tmc');
        __('The uploaded file type is not supported: %1$s', 'cs-tmc');
        __('Could not load the importing data.', 'cs-tmc');
        __('The uploaded file has been imported.', 'cs-tmc');
        __('No data could be imported.', 'cs-tmc');
        __('Upload Image', 'cs-tmc');
        __('Use This Image', 'cs-tmc');
        __('Insert from URL', 'cs-tmc');
        __('Are you sure you want to reset the options?', 'cs-tmc');
        __('Please confirm your action.', 'cs-tmc');
        __('The specified options have been deleted.', 'cs-tmc');
        __('A problem occurred while processing the form data. Please try again.', 'cs-tmc');
        __('Not all form fields could not be sent. Please check your server settings of PHP <code>max_input_vars</code> and consult the server administrator to increase the value. <code>max input vars</code>: %1$s. <code>$_POST</code> count: %2$s', 'cs-tmc');
        __('Is it okay to send the email?', 'cs-tmc');
        __('The email has been sent.', 'cs-tmc');
        __('The email has been scheduled.', 'cs-tmc');
        __('There was a problem sending the email', 'cs-tmc');
        __('Title', 'cs-tmc');
        __('Author', 'cs-tmc');
        __('Categories', 'cs-tmc');
        __('Tags', 'cs-tmc');
        __('Comments', 'cs-tmc');
        __('Date', 'cs-tmc');
        __('Show All', 'cs-tmc');
        __('Show All Authors', 'cs-tmc');
        __('Thank you for creating with', 'cs-tmc');
        __('and', 'cs-tmc');
        __('Settings', 'cs-tmc');
        __('Manage', 'cs-tmc');
        __('Select Image', 'cs-tmc');
        __('Upload File', 'cs-tmc');
        __('Use This File', 'cs-tmc');
        __('Select File', 'cs-tmc');
        __('Remove Value', 'cs-tmc');
        __('Select All', 'cs-tmc');
        __('Select None', 'cs-tmc');
        __('No term found.', 'cs-tmc');
        __('Select', 'cs-tmc');
        __('Insert', 'cs-tmc');
        __('Use This', 'cs-tmc');
        __('Return to Library', 'cs-tmc');
        __('%1$s queries in %2$s seconds.', 'cs-tmc');
        __('%1$s out of %2$s MB (%3$s) memory used.', 'cs-tmc');
        __('Peak memory usage %1$s MB.', 'cs-tmc');
        __('Initial memory usage  %1$s MB.', 'cs-tmc');
        __('The allowed maximum number of fields is {0}.', 'cs-tmc');
        __('The allowed minimum number of fields is {0}.', 'cs-tmc');
        __('Add', 'cs-tmc');
        __('Remove', 'cs-tmc');
        __('The allowed maximum number of sections is {0}', 'cs-tmc');
        __('The allowed minimum number of sections is {0}', 'cs-tmc');
        __('Add Section', 'cs-tmc');
        __('Remove Section', 'cs-tmc');
        __('Toggle All', 'cs-tmc');
        __('Toggle all collapsible sections', 'cs-tmc');
        __('Reset', 'cs-tmc');
        __('Yes', 'cs-tmc');
        __('No', 'cs-tmc');
        __('On', 'cs-tmc');
        __('Off', 'cs-tmc');
        __('Enabled', 'cs-tmc');
        __('Disabled', 'cs-tmc');
        __('Supported', 'cs-tmc');
        __('Not Supported', 'cs-tmc');
        __('Functional', 'cs-tmc');
        __('Not Functional', 'cs-tmc');
        __('Too Long', 'cs-tmc');
        __('Acceptable', 'cs-tmc');
        __('No log found.', 'cs-tmc');
        __('The method is called too early: %1$s', 'cs-tmc');
        __('Debug Info', 'cs-tmc');
        __('Click here to expand to view the contents.', 'cs-tmc');
        __('Click here to collapse the contents.', 'cs-tmc');
        __('Loading...', 'cs-tmc');
        __('Please enable JavaScript for better user experience.', 'cs-tmc');
        __('Debug', 'cs-tmc');
        __('Field Arguments', 'cs-tmc');
        __('This information will be disabled when <code>WP_DEBUG</code> is set to <code>false</code> in <code>wp-config.php</code>.', 'cs-tmc');
        __('Section Arguments', 'cs-tmc');
        __('The ability to repeat sections is disabled.', 'cs-tmc');
        __('The ability to repeat fields is disabled.', 'cs-tmc');
        __('Warning.', 'cs-tmc');
    }
}
