<?php

/**
 * Questo file è parte di Pongho.
 *
 * @author    Daniele De Nobili
 * @copyright Web Agency Meta Line S.r.l.
 * @package   Application\Admin
 */

namespace Application\Admin\Updates;

use Application\Core\Model\Translation;
use Updates\BaseUpdate;

/**
 * Update999.
 */
class Update35 extends BaseUpdate
{
    /**
     * {@inheritdoc}
     */
    public function commit()
    {
        Translation::putTranslation('fileuploader_error_max_file_size', 'File troppo grande', 'admin', 'it_IT');
        Translation::putTranslation('fileuploader_error_min_file_size', 'File troppo piccolo', 'admin', 'it_IT');
        Translation::putTranslation('fileuploader_error_allowed_extensions', 'Estensione non permessa', 'admin', 'it_IT');
        Translation::putTranslation('fileuploader_error_max_number_of_files', 'Superato il numero massimo di file', 'admin', 'it_IT');
        Translation::putTranslation('fileuploader_error_uploaded_bytes', 'Superato il peso massimo di caricamento', 'admin', 'it_IT');
        Translation::putTranslation('fileuploader_error_empty_result', 'Il file sembra vuoto', 'admin', 'it_IT');
        Translation::putTranslation('fileuploader_error_upload', 'Caricamento non riuscito', 'admin', 'it_IT');
    }
}
