--- a/language/english/core.json Mon Jan 21 18:33:44 2008 -0500
+++ b/language/english/core.json Mon Jan 21 19:54:29 2008 -0500
@@ -17,7 +17,7 @@
var enano_lang = {
categories: [
- 'page', 'comment', 'onpage', 'etc', 'editor', 'history', 'catedit', 'tags', 'delvote', 'ajax', 'sidebar', 'perm', 'plugin', 'paginate',
+ 'page', 'comment', 'onpage', 'etc', 'editor', 'history', 'catedit', 'tags', 'delvote', 'ajax', 'sidebar', 'perm', 'plugin', 'paginate', 'upload',
],
strings: {
meta: {
@@ -35,6 +35,7 @@
perm: 'Page actions (for ACLs)',
plugin: 'Plugin names and descriptions',
paginate: 'Pagination widget',
+ upload: 'File upload interface',
plural: 's',
enano_about_th: 'About the Enano Content Management System',
enano_about_poweredby: '<p>This website is powered by <a href="http://enanocms.org/">Enano</a>, the lightweight and open source CMS that everyone can use. Enano is copyright © 2006-2007 Dan Fuhry. For legal information, along with a list of libraries that Enano uses, please see <a href="http://enanocms.org/Legal_information">Legal Information</a>.</p><p>The developers and maintainers of Enano strongly believe that software should not only be free to use, but free to be modified, distributed, and used to create derivative works. For more information about Free Software, check out the <a href="http://en.wikipedia.org/wiki/Free_Software" onclick="window.open(this.href); return false;">Wikipedia page</a> or the <a href="http://www.fsf.org/" onclick="window.open(this.href); return false;">Free Software Foundation\'s</a> homepage.</p>',
@@ -444,6 +445,34 @@
err_bad_page_title: 'Invalid entry',
err_bad_page_body: 'Please enter a page number between 1 and %max%.',
},
+ upload: {
+ err_disabled_site: 'File uploads are disabled this website.',
+ err_disabled_acl: 'File uploads are disabled for your user account or group.',
+
+ err_title: 'Upload failed',
+ err_cant_get_file_meta: 'The server could not retrieve the array $_FILES[\'data\'].',
+ err_too_big_or_small: 'The file you uploaded is either too large or 0 bytes in length.',
+ err_banned_ext: 'The file type ".%ext%" is not allowed.',
+ err_banned_chars: 'The filename contains invalid characters.',
+ err_already_exists: 'The file already exists. You can <a href="%upload_link%">upload a new version of this file</a>.',
+ err_replace_protected: 'Either the file does not exist (and therefore cannot be updated) or the file is protected.',
+ err_move_failed: 'Could not move uploaded file to the new location.',
+ err_replace_denied: 'Uploading new versions of files has been disabled for your user account or group.',
+
+ success_title: 'Upload complete',
+ success_body: 'Your file has been uploaded successfully. View the <a href="%file_link%">file\'s page</a>.',
+
+ intro: 'Using this form you can upload a file to the %config.site_name% site.',
+ max_filesize: 'The maximum file size is %config.max_file_size% %this.etc_unit_bytes% (%size%).',
+ field_file: 'File:',
+ field_renameto: 'Rename to:',
+ field_comments: 'Comments:<br />(can be wiki-formatted)',
+ field_reason: 'Reason for uploading the new version:',
+ btn_upload: 'Upload file',
+
+ err_not_found_title: 'File not found',
+ err_not_found_body: 'The file "%filename%" cannot be found.',
+ },
etc: {
redirect_title: 'Redirecting...',
redirect_body: 'Please wait while you are redirected.',