15 // be trimmed. So you can use a limited amount of Javascript in this so that the language can be imported |
15 // be trimmed. So you can use a limited amount of Javascript in this so that the language can be imported |
16 // via Javascript as well. |
16 // via Javascript as well. |
17 |
17 |
18 var enano_lang = { |
18 var enano_lang = { |
19 categories: [ |
19 categories: [ |
20 'page', 'comment', 'onpage', 'etc', 'editor', 'history', 'catedit', 'tags', 'delvote', 'ajax', 'sidebar', 'perm', 'plugin', 'paginate', |
20 'page', 'comment', 'onpage', 'etc', 'editor', 'history', 'catedit', 'tags', 'delvote', 'ajax', 'sidebar', 'perm', 'plugin', 'paginate', 'upload', |
21 ], |
21 ], |
22 strings: { |
22 strings: { |
23 meta: { |
23 meta: { |
24 page: 'Page creation and control', |
24 page: 'Page creation and control', |
25 comment: 'Comment display', |
25 comment: 'Comment display', |
33 ajax: 'On-page AJAX applets', |
33 ajax: 'On-page AJAX applets', |
34 sidebar: 'Default sidebar blocks and buttons', |
34 sidebar: 'Default sidebar blocks and buttons', |
35 perm: 'Page actions (for ACLs)', |
35 perm: 'Page actions (for ACLs)', |
36 plugin: 'Plugin names and descriptions', |
36 plugin: 'Plugin names and descriptions', |
37 paginate: 'Pagination widget', |
37 paginate: 'Pagination widget', |
|
38 upload: 'File upload interface', |
38 plural: 's', |
39 plural: 's', |
39 enano_about_th: 'About the Enano Content Management System', |
40 enano_about_th: 'About the Enano Content Management System', |
40 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>', |
41 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>', |
41 enano_about_gpl: '<p>This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.</p><p>You should have received <a href="%gpl_link%">a copy of the GNU General Public License</a> along with this program; if not, write to:</p><p style="margin-left 2em;">Free Software Foundation, Inc.,<br />51 Franklin Street, Fifth Floor<br />Boston, MA 02110-1301, USA</p><p>Alternatively, you can <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">read it online</a>.</p>', |
42 enano_about_gpl: '<p>This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.</p><p>You should have received <a href="%gpl_link%">a copy of the GNU General Public License</a> along with this program; if not, write to:</p><p style="margin-left 2em;">Free Software Foundation, Inc.,<br />51 Franklin Street, Fifth Floor<br />Boston, MA 02110-1301, USA</p><p>Alternatively, you can <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">read it online</a>.</p>', |
42 enano_about_lbl_enanoversion: '<a href="http://enanocms.org">Enano</a> version:', |
43 enano_about_lbl_enanoversion: '<a href="http://enanocms.org">Enano</a> version:', |
441 btn_prev: 'Prev', |
442 btn_prev: 'Prev', |
442 btn_next: 'Next', |
443 btn_next: 'Next', |
443 lbl_goto_page: 'Go to page:', |
444 lbl_goto_page: 'Go to page:', |
444 err_bad_page_title: 'Invalid entry', |
445 err_bad_page_title: 'Invalid entry', |
445 err_bad_page_body: 'Please enter a page number between 1 and %max%.', |
446 err_bad_page_body: 'Please enter a page number between 1 and %max%.', |
|
447 }, |
|
448 upload: { |
|
449 err_disabled_site: 'File uploads are disabled this website.', |
|
450 err_disabled_acl: 'File uploads are disabled for your user account or group.', |
|
451 |
|
452 err_title: 'Upload failed', |
|
453 err_cant_get_file_meta: 'The server could not retrieve the array $_FILES[\'data\'].', |
|
454 err_too_big_or_small: 'The file you uploaded is either too large or 0 bytes in length.', |
|
455 err_banned_ext: 'The file type ".%ext%" is not allowed.', |
|
456 err_banned_chars: 'The filename contains invalid characters.', |
|
457 err_already_exists: 'The file already exists. You can <a href="%upload_link%">upload a new version of this file</a>.', |
|
458 err_replace_protected: 'Either the file does not exist (and therefore cannot be updated) or the file is protected.', |
|
459 err_move_failed: 'Could not move uploaded file to the new location.', |
|
460 err_replace_denied: 'Uploading new versions of files has been disabled for your user account or group.', |
|
461 |
|
462 success_title: 'Upload complete', |
|
463 success_body: 'Your file has been uploaded successfully. View the <a href="%file_link%">file\'s page</a>.', |
|
464 |
|
465 intro: 'Using this form you can upload a file to the %config.site_name% site.', |
|
466 max_filesize: 'The maximum file size is %config.max_file_size% %this.etc_unit_bytes% (%size%).', |
|
467 field_file: 'File:', |
|
468 field_renameto: 'Rename to:', |
|
469 field_comments: 'Comments:<br />(can be wiki-formatted)', |
|
470 field_reason: 'Reason for uploading the new version:', |
|
471 btn_upload: 'Upload file', |
|
472 |
|
473 err_not_found_title: 'File not found', |
|
474 err_not_found_body: 'The file "%filename%" cannot be found.', |
446 }, |
475 }, |
447 etc: { |
476 etc: { |
448 redirect_title: 'Redirecting...', |
477 redirect_title: 'Redirecting...', |
449 redirect_body: 'Please wait while you are redirected.', |
478 redirect_body: 'Please wait while you are redirected.', |
450 redirect_timeout: 'If you are not redirected within %timeout% seconds, please <a href="%redirect_url%">click here</a>.', |
479 redirect_timeout: 'If you are not redirected within %timeout% seconds, please <a href="%redirect_url%">click here</a>.', |