<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}



function awpcp_file_validation_errors() {
    return new AWPCP_FileValidationErrors();
}

class AWPCP_FileValidationErrors {

    public function get_cannot_add_more_files_of_type_error_message() {
        return __( "You can't add <filename> because there are not remaining slots for files of that type.", 'another-wordpress-classifieds-plugin' );
    }

    public function get_file_is_too_large_error_message() {
        return __( 'The file <filename> was larger than the maximum allowed file size of <bytes-count> bytes. The file cannot be uploaded.', 'another-wordpress-classifieds-plugin' );
    }
}
