From: elf2000 Date: Fri, 11 Nov 2005 02:54:10 +0000 (+0000) Subject: o split message catalog to lang_en.inc.php. X-Git-Tag: 1.0~311 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f4fdced4e45173d0a9c0625f3dc88a5395c7537c;p=s9y.git o split message catalog to lang_en.inc.php. --- diff --git a/plugins/serendipity_event_statistics/lang_en.inc.php b/plugins/serendipity_event_statistics/lang_en.inc.php new file mode 100644 index 0000000..6649d46 --- /dev/null +++ b/plugins/serendipity_event_statistics/lang_en.inc.php @@ -0,0 +1,70 @@ + diff --git a/plugins/serendipity_event_statistics/serendipity_event_statistics.php b/plugins/serendipity_event_statistics/serendipity_event_statistics.php index c49b32a..810b036 100644 --- a/plugins/serendipity_event_statistics/serendipity_event_statistics.php +++ b/plugins/serendipity_event_statistics/serendipity_event_statistics.php @@ -6,73 +6,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_EVENT_STATISTICS_NAME', 'Statistics'); -@define('PLUGIN_EVENT_STATISTICS_DESC', 'Adds a link to interesting statistics in your entries panel, including a visitors counter'); -@define('PLUGIN_EVENT_STATISTICS_OUT_STATISTICS', 'Statistics'); -@define('PLUGIN_EVENT_STATISTICS_OUT_FIRST_ENTRY', 'First entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_LAST_ENTRY', 'Last entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOTAL_ENTRIES', 'Total entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ENTRIES', 'entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOTAL_PUBLIC', ' ... public'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOTAL_DRAFTS', ' ... drafts'); -@define('PLUGIN_EVENT_STATISTICS_OUT_PER_AUTHOR', 'Entries per user'); -@define('PLUGIN_EVENT_STATISTICS_OUT_CATEGORIES', 'Categories'); -@define('PLUGIN_EVENT_STATISTICS_OUT_CATEGORIES2', 'categories'); -@define('PLUGIN_EVENT_STATISTICS_OUT_DISTRIBUTION_CATEGORIES', 'Distribution of entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_DISTRIBUTION_CATEGORIES2', 'entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_UPLOADED_IMAGES', 'Uploaded images'); -@define('PLUGIN_EVENT_STATISTICS_OUT_UPLOADED_IMAGES2', 'image(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_DISTRIBUTION_IMAGES', 'Distribution of image types'); -@define('PLUGIN_EVENT_STATISTICS_OUT_DISTRIBUTION_IMAGES2', 'file(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_COMMENTS', 'Received comments'); -@define('PLUGIN_EVENT_STATISTICS_OUT_COMMENTS2', 'comment(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_COMMENTS3', 'Most frequently commented entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOPCOMMENTS', 'Most frequently commenting people'); -@define('PLUGIN_EVENT_STATISTICS_OUT_LINK', 'link'); -@define('PLUGIN_EVENT_STATISTICS_OUT_SUBSCRIBERS', 'Subscribers'); -@define('PLUGIN_EVENT_STATISTICS_OUT_SUBSCRIBERS2', 'subscriber(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOPSUBSCRIBERS', 'Most frequently subscribed entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOPSUBSCRIBERS2', 'subscriber(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TRACKBACKS', 'Received trackbacks'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TRACKBACKS2', 'trackback(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOPTRACKBACK', 'Most frequently trackbacked entires'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOPTRACKBACK2', 'trackback(s)'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TOPTRACKBACKS3', 'Most frequently trackbacking people'); -@define('PLUGIN_EVENT_STATISTICS_OUT_COMMENTS_PER_ARTICLE', 'estimated comments per entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TRACKBACKS_PER_ARTICLE', 'estimated trackbacks per entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ARTICLES_PER_DAY', 'estimated entries per day'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ARTICLES_PER_WEEK', 'estimated entries per week'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ARTICLES_PER_MONTH', 'estimated entries per month'); -@define('PLUGIN_EVENT_STATISTICS_OUT_COMMENTS_PER_ARTICLE2', 'comments/entries'); -@define('PLUGIN_EVENT_STATISTICS_OUT_TRACKBACKS_PER_ARTICLE2', 'trackbacks/entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ARTICLES_PER_DAY2', 'entries/day'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ARTICLES_PER_WEEK2', 'entries/week'); -@define('PLUGIN_EVENT_STATISTICS_OUT_ARTICLES_PER_MONTH2', 'entries/month'); -@define('PLUGIN_EVENT_STATISTICS_OUT_CHARS', 'Total amount of characters'); -@define('PLUGIN_EVENT_STATISTICS_OUT_CHARS2', 'characters'); -@define('PLUGIN_EVENT_STATISTICS_OUT_CHARS_PER_ARTICLE', 'Characters per entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_CHARS_PER_ARTICLE2', 'chars/entry'); -@define('PLUGIN_EVENT_STATISTICS_OUT_LONGEST_ARTICLES', 'The %s longest entries'); -@define('PLUGIN_EVENT_STATISTICS_MAX_ITEMS', 'Maximum items'); -@define('PLUGIN_EVENT_STATISTICS_MAX_ITEMS_DESC', 'How many items to display per statistical value? (Default: 20)'); - -//Language constants for the Extended Visitors feature -@define('PLUGIN_EVENT_STATISTICS_EXT_ADD', 'Extended Visitors Statistics'); -@define('PLUGIN_EVENT_STATISTICS_EXT_ADD_DESC', 'Add Extended Visitors Statistics feature? (default: no)'); -@define('PLUGIN_EVENT_STATISTICS_EXT_OPT1', 'No!'); -@define('PLUGIN_EVENT_STATISTICS_EXT_OPT2', 'Yes, at the bottom of the page'); -@define('PLUGIN_EVENT_STATISTICS_EXT_OPT3', 'Yes, at the top of the page'); -@define('PLUGIN_EVENT_STATISTICS_EXT_VISITORS', 'Nr of vistors'); -@define('PLUGIN_EVENT_STATISTICS_EXT_VISTODAY', 'Nr of vistors today'); -@define('PLUGIN_EVENT_STATISTICS_EXT_VISTOTAL', 'Total nr of vistors'); -@define('PLUGIN_EVENT_STATISTICS_EXT_VISSINCE', 'The extended visitor´s statistic feature has collected data since'); -@define('PLUGIN_EVENT_STATISTICS_EXT_VISLATEST', 'Latest Visitors'); -@define('PLUGIN_EVENT_STATISTICS_EXT_TOPREFS', 'Top Referrers'); -@define('PLUGIN_EVENT_STATISTICS_EXT_TOPREFS_NONE', 'No referrers has yet been registered.'); -@define('PLUGIN_EVENT_STATISTICS_OUT_EXT_STATISTICS', 'Extended Visitor Statistics'); -@define('PLUGIN_EVENT_STATISTICS_BANNED_HOSTS', 'Ban browsers from beeing counted'); -@define('PLUGIN_EVENT_STATISTICS_BANNED_HOSTS_DESC', 'Insert browsers that should be excluded from counting, separated by "|"'); - +include dirname(__FILE__) . '/lang_en.inc.php'; class serendipity_event_statistics extends serendipity_event {