<?php

namespace GriffinForms\Admin\Language;

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

    public function filesListHeading()
    {
        return __('Attachments', 'griffinforms-form-builder');
    }

    public function filesSearchBtnLabel()
    {
        return __('Search Attachments', 'griffinforms-form-builder');
    }

    public function downloadBulkAction()
    {
        return __('Download', 'griffinforms-form-builder');
    }

    public function allTypesFilters()
    {
        return __('All Types', 'griffinforms-form-builder');
    }

    public function urlListHead()
    {
        return __('File Name', 'griffinforms-form-builder');
    }

    public function mimeListHead()
    {
        return __('MIME', 'griffinforms-form-builder');
    }

    public function sizeBytesListHead()
    {
        return __('Size', 'griffinforms-form-builder');
    }

    public function fieldIdListHead()
    {
        return __('Field Used', 'griffinforms-form-builder');
    }

    public function createdAtListHead()
    {
        return __('Uploaded On', 'griffinforms-form-builder');
    }

    public function storageModeListHead()
    {
        return __('Storage Mode', 'griffinforms-form-builder');
    }

    public function statusListHead()
    {
        return __('Status', 'griffinforms-form-builder');
    }

    public function viewFile()
    {
        return __('View', 'griffinforms-form-builder');
    }

    public function media()
    {
        return __('Media Library', 'griffinforms-form-builder');
    }

    public function mediaLibrary()
    {
        return __('WP Media Library', 'griffinforms-form-builder');
    }

    public function private()
    {
        return __('Private Folder', 'griffinforms-form-builder');
    }

    public function tempStatus()
    {
        return __('Temporary', 'griffinforms-form-builder');
    }

    public function attachedStatus()
    {
        return __('Attached', 'griffinforms-form-builder');
    }

    public function viewSubmissionRowAction()
    {
        return __('View Submission', 'griffinforms-form-builder');
    }

    public function viewFileRowAction()
    {
        return __('Open File', 'griffinforms-form-builder');
    }

    public function notLinkedToSubmission()
    {
        return __('Not linked to a submission', 'griffinforms-form-builder');
    }

    public function filterByTypeFilters()
    {
        return __('Filter by file type', 'griffinforms-form-builder');
    }

    public function filterBySizeFilters()
    {
        return __('Filter by file size', 'griffinforms-form-builder');
    }

    public function filterByStorageModeFilter()
    {
        return __('Filter by storage modes', 'griffinforms-form-builder');
    }

    public function allStorageModesFilter()
    {
        return __('All Storage Modes', 'griffinforms-form-builder');
    }

    public function privateFilter()
    {
        return __('Private Storage', 'griffinforms-form-builder');
    }

    public function mediaFilter()
    {
        return __('Media Library', 'griffinforms-form-builder');
    }

    public function allSizesFilter()
    {
        return __('All Sizes', 'griffinforms-form-builder');
    }

    protected function idListHead()             { return __('ID', 'griffinforms-form-builder'); }
    protected function submissionlinkListHead() { return __('Submission', 'griffinforms-form-builder'); }

    public static function getInstance()
    {
        if (self::$instance == null)
        {
            self::$instance = new Files();
        }
        
        return self::$instance;
    }
    
    private function __construct() 
    {
    }
}