$config['error']['invalidzip'] isn't used anywhere anymore

This commit is contained in:
Michael Foster 2013-08-12 22:14:26 +10:00
parent e0a8ffcfb9
commit a7a93ece3d

View File

@ -267,7 +267,8 @@
'recaptcha_response_field', 'recaptcha_response_field',
'spoiler', 'spoiler',
'quick-reply', 'quick-reply',
'page' 'page',
'file_url',
); );
// Enable reCaptcha to make spam even harder. Rarely necessary. // Enable reCaptcha to make spam even harder. Rarely necessary.
@ -348,6 +349,9 @@
// Optional URL prefix for links (eg. "http://anonym.to/?"). // Optional URL prefix for links (eg. "http://anonym.to/?").
$config['link_prefix'] = ''; $config['link_prefix'] = '';
// Allow "uploading" images via URL as well. Users can enter the URL of the image and then Tinyboard will
// download it. Not usually recommended.
$config['allow_upload_by_url'] = false;
// A wordfilter (sometimes referred to as just a "filter" or "censor") automatically scans users posts // A wordfilter (sometimes referred to as just a "filter" or "censor") automatically scans users posts
// as they are submitted and changes or censors particular words or phrases. // as they are submitted and changes or censors particular words or phrases.
@ -837,7 +841,6 @@
$config['error']['unknownext'] = _('Unknown file extension.'); $config['error']['unknownext'] = _('Unknown file extension.');
$config['error']['filesize'] = _('Maximum file size: %maxsz% bytes<br>Your file\'s size: %filesz% bytes'); $config['error']['filesize'] = _('Maximum file size: %maxsz% bytes<br>Your file\'s size: %filesz% bytes');
$config['error']['maxsize'] = _('The file was too big.'); $config['error']['maxsize'] = _('The file was too big.');
$config['error']['invalidzip'] = _('Invalid archive!');
$config['error']['fileexists'] = _('That file <a href="%s">already exists</a>!'); $config['error']['fileexists'] = _('That file <a href="%s">already exists</a>!');
$config['error']['fileexistsinthread'] = _('That file <a href="%s">already exists</a> in this thread!'); $config['error']['fileexistsinthread'] = _('That file <a href="%s">already exists</a> in this thread!');
$config['error']['delete_too_soon'] = _('You\'ll have to wait another %s before deleting that.'); $config['error']['delete_too_soon'] = _('You\'ll have to wait another %s before deleting that.');