<?php

namespace GriffinForms\Admin\Language;

class Messages extends \GriffinForms\Admin\Language\Lists
{
    private static $instance;

    protected function messagesListHeading()
    {
        return __('Messages', 'griffinforms-form-builder');
    }

    protected function addNewMessage()
    {
        return __('Add New Message', 'griffinforms-form-builder');
    }

    protected function messagesSearchBtnLabel()
    {
        return __('Search Messages', 'griffinforms-form-builder');
    }

    protected function headingListHead()
    {
        return __('Message Subject', 'griffinforms-form-builder');
    }

    protected function nameListHead()        { return __('Name', 'griffinforms-form-builder'); }
    protected function idListHead()          { return __('ID', 'griffinforms-form-builder'); }
    protected function descriptionListHead() { return __('Description', 'griffinforms-form-builder'); }
    protected function lasteditedListHead()  { return __('Last Edited', 'griffinforms-form-builder'); }

    protected function deleteListItemModalHeader()
    {
        return __('Delete Message?', 'griffinforms-form-builder');
    }

    protected function deleteListItemModalText()
    {
        return __('Delete this message permanently? This action cannot be undone.', 'griffinforms-form-builder');
    }
    
    public static function getInstance()
    {
        if (self::$instance == null)
        {
            self::$instance = new Messages();
        }
        
        return self::$instance;
    }
    
    private function __construct() 
    {
    }
}
