Minor and hopefully non-breaking change to plugin loader to possibly double performance at hook points
/*
* Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
* Version 1.1.1
* Copyright (C) 2006-2007 Dan Fuhry
*
* This program is Free Software; you can redistribute 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.
*
* 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.
*/
var enano_lang = {
categories: [
'meta', 'search', 'specialpage', 'pagetools'
],
strings: {
meta: {
search: 'Search page',
specialpage: 'Special pages',
pagetools: 'Userspace page-management tools',
},
specialpage: {
administration: 'Administration',
manage_sidebar: 'Manage the Sidebar',
css: 'Templated style sheet generator',
groupcp: 'Group Membership',
create_page: 'Create page',
all_pages: 'All pages',
special_pages: 'List of special pages',
about_enano: 'About Enano',
gnu_gpl: 'GNU General Public License',
tag_cloud: 'Tag cloud',
search_rebuild: 'Rebuild search index',
search: 'Search',
upload_file: 'Upload file',
download_file: 'Download file',
log_in: 'Log in',
log_out: 'Log out',
register: 'Register',
preferences: 'Edit Profile',
contributions: 'User contributions',
change_theme: 'Change my preferred theme',
activate_account: 'Activate user account',
captcha: 'CAPTCHA image generator',
password_reset: 'Reset forgotten password',
member_list: 'Member list',
language_export: 'Language exporter',
private_messages: 'Private Messages',
},
search: {
th_advanced_search: 'Advanced Search',
err_query_title: 'Some problems were encountered during your search.',
err_query_body: 'There was a problem with your search query, and as a result there may be a reduced number of search results.',
err_query_too_many_terms: 'Some of your search terms were excluded because searches are limited to 20 terms to prevent excessive server load.',
err_query_has_stopwords: 'One or more of your search terms was excluded because either it was less than 2 characters in length or is a common word (a stopword) that is typically found on a large number of pages. Examples of stopwords include "the", "this", "which", "with", etc.',
err_query_dup_terms: 'One or more of your search terms was excluded because duplicate terms were encountered.',
err_query_term_too_short: 'One or more of your search terms was excluded because terms must be at least 4 characters in length.',
btn_search: 'Search',
// note the case difference with th_advanced_search
btn_advanced_search: 'Advanced search',
msg_no_results: 'No results.',
msg_result_detail: 'Results <b>%start_string%</b> - <b>%per_string%</b> of about <b>%num_results%</b> for <b>%q_trim%</b> in %search_time%s.',
body_no_results_title: 'Your search for <b>"%query%"</b> didn\'t turn up any results.',
body_no_results_body: '<p>There are a few things you can try:</p>
<ul>
<li>Were you looking for a specific Special page? Special pages are not searchable. You may want to see a <a href="%special_url%">list of special pages</a>.</li>
<li>If you have the appropriate permissions, you can <a href="%create_url%">start the %query% page</a>.</li>
<li>Try using fewer keywords. You can get broader results if you remove quotes from your search query.</li>
<li>Did your search trigger any warnings? Sometimes a search can be cancelled if there aren\'t any terms in a search query that are 4 characters or greater in length.</li>
</ul>',
lbl_site_search: 'Site search',
lbl_relevance: 'Relevance:',
lbl_field_any: 'Search for pages with <b>any of these words</b>:',
lbl_field_exact: 'with <b>this exact phrase</b>:',
lbl_field_none: 'with <b>none of these words</b>:',
lbl_field_all: 'with <b>all of these words</b>:',
lbl_field_casesensitive: 'Case-sensitive search:',
result_tag_special: 'Special page',
},
pagetools: {
// Create a page
create_err_title: 'The page could not be created.',
create_err_name_invalid: 'The name "%page_name%" is invalid.',
create_err_project_shortcut: 'The page title can\'t start with "Project:" because this prefix is reserved for a parser shortcut.',
create_err_already_exist: 'The page already exists.',
create_blurb: 'Using the form below you can create a page.',
create_namespace_none: '[No prefix]',
create_btn_create: 'Create Page',
// All pages
allpages_blurb: 'Below is a list of all of the pages on this website.',
// Special pages
specialpages_blurb: 'Below is a list of all of the special pages on this website.',
// GPL page
gpl_blurb: 'The following text represents the license that the <a href="%about_url%">Enano</a> content management system is under. To make it easier to read, the text has been wiki-formatted; in no other way has it been changed.',
// The following three strings will be used only in non-English languages. A Spanish example is provided here.
// "Version in Spanish"
gpl_title_native: 'Versión en español',
// "Version in English"
gpl_title_english: 'Versión en inglés',
// "View the license in English"
gpl_link_to_english: 'Vea la licencia en inglés',
gpl_err_file_missing: 'It appears that the file "GPL" is missing from your Enano installation. You may find a wiki-formatted copy of the GPL at: <a href="http://enanocms.org/GPL">http://enanocms.org/GPL</a>. In the mean time, you may wish to contact the site administration and ask them to replace the GPL file.',
// Tag cloud
tagcloud_pagelist_th: 'Pages tagged "%tag%"',
tagcloud_blurb: 'Summary of page tagging',
tagcloud_msg_no_tags: 'No pages are tagged yet.',
tagcloud_btn_return: 'Return to tag cloud',
tagcloud_instructions: 'Hover your mouse over a tag to see how many pages have the tag. Click on a tag to see a list of the pages that have it.',
tagcloud_sidebar_title: 'Tag cloud',
tagcloud_sidebar_btn_larger: 'Larger version',
},
}
};
// All done! :-)