]> git.mjollnir.org Git - s9y.git/commitdiff
o split message catalog to lang_en.inc.php.
authorelf2000 <elf2000>
Sat, 12 Nov 2005 18:19:05 +0000 (18:19 +0000)
committerelf2000 <elf2000>
Sat, 12 Nov 2005 18:19:05 +0000 (18:19 +0000)
40 files changed:
plugins/serendipity_event_bbcode/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_bbcode/serendipity_event_bbcode.php
plugins/serendipity_event_browsercompatibility/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_browsercompatibility/serendipity_event_browsercompatibility.php
plugins/serendipity_event_contentrewrite/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_contentrewrite/serendipity_event_contentrewrite.php
plugins/serendipity_event_creativecommons/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_creativecommons/serendipity_event_creativecommons.php
plugins/serendipity_event_htmlvalidator/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_htmlvalidator/serendipity_event_htmlvalidator.php
plugins/serendipity_event_karma/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_karma/serendipity_event_karma.php
plugins/serendipity_event_livesearch/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_livesearch/serendipity_event_livesearch.php
plugins/serendipity_event_mailer/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_mailer/serendipity_event_mailer.php
plugins/serendipity_event_nl2br/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_nl2br/serendipity_event_nl2br.php
plugins/serendipity_event_s9ymarkup/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php
plugins/serendipity_event_searchhighlight/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_searchhighlight/serendipity_event_searchhighlight.php
plugins/serendipity_event_spartacus/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_spartacus/serendipity_event_spartacus.php
plugins/serendipity_event_templatechooser/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_templatechooser/serendipity_event_templatechooser.php
plugins/serendipity_event_textile/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_textile/serendipity_event_textile.php
plugins/serendipity_event_trackexits/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_trackexits/serendipity_event_trackexits.php
plugins/serendipity_event_weblogping/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_weblogping/serendipity_event_weblogping.php
plugins/serendipity_event_xhtmlcleanup/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_event_xhtmlcleanup/serendipity_event_xhtmlcleanup.php
plugins/serendipity_plugin_entrylinks/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_plugin_entrylinks/serendipity_plugin_entrylinks.php
plugins/serendipity_plugin_eventwrapper/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_plugin_eventwrapper/serendipity_plugin_eventwrapper.php
plugins/serendipity_plugin_recententries/lang_en.inc.php [new file with mode: 0644]
plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php

diff --git a/plugins/serendipity_event_bbcode/lang_en.inc.php b/plugins/serendipity_event_bbcode/lang_en.inc.php
new file mode 100644 (file)
index 0000000..fdc9412
--- /dev/null
@@ -0,0 +1,7 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_BBCODE_NAME',     'Markup: BBCode');
+@define('PLUGIN_EVENT_BBCODE_DESC',     'Markup text using BBCode');
+@define('PLUGIN_EVENT_BBCODE_TRANSFORM', '<a href="http://www.phpbb.com/phpBB/faq.php?mode=bbcode">BBCode</a> format allowed');
+
+?>
index 4c366c78e7640298a5b7b043ab4a1ba81eccc3ff..c3334db65374ba62f0b096754baeeb28ef84a316 100644 (file)
@@ -6,9 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_BBCODE_NAME',     'Markup: BBCode');
-@define('PLUGIN_EVENT_BBCODE_DESC',     'Markup text using BBCode');
-@define('PLUGIN_EVENT_BBCODE_TRANSFORM', '<a href="http://www.phpbb.com/phpBB/faq.php?mode=bbcode">BBCode</a> format allowed');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_bbcode extends serendipity_event
 {
diff --git a/plugins/serendipity_event_browsercompatibility/lang_en.inc.php b/plugins/serendipity_event_browsercompatibility/lang_en.inc.php
new file mode 100644 (file)
index 0000000..6ef171b
--- /dev/null
@@ -0,0 +1,6 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_BROWSERCOMPATIBILITY_TITLE', 'Browser Compatibility');
+@define('PLUGIN_EVENT_BROWSERCOMPATIBILITY_DESC', 'Uses different (CSS) methods to enforce maximum browser compatibility');
+
+?>
index 3ab3ee8a72a7b0b34e4c59e4d35b48f510c59fb7..47a512ba72b336ac519d85d7b548882538286eb4 100644 (file)
@@ -6,8 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_BROWSERCOMPATIBILITY_TITLE', 'Browser Compatibility');
-@define('PLUGIN_EVENT_BROWSERCOMPATIBILITY_DESC', 'Uses different (CSS) methods to enforce maximum browser compatibility');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_browsercompatibility extends serendipity_event
 {
diff --git a/plugins/serendipity_event_contentrewrite/lang_en.inc.php b/plugins/serendipity_event_contentrewrite/lang_en.inc.php
new file mode 100644 (file)
index 0000000..dd2ed7f
--- /dev/null
@@ -0,0 +1,22 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_CONTENTREWRITE_FROM', 'from');
+@define('PLUGIN_EVENT_CONTENTREWRITE_TO', 'to');
+@define('PLUGIN_EVENT_CONTENTREWRITE_NAME', 'Content Rewriter');
+@define('PLUGIN_EVENT_CONTENTREWRITE_DESCRIPTION', 'Replaces words with a new selected string (useful for acronyms)');
+@define('PLUGIN_EVENT_CONTENTREWRITE_NEWTITLE', 'New Title');
+@define('PLUGIN_EVENT_CONTENTREWRITE_NEWTDESCRIPTION', 'Enter the acronym-title for a new item here ({from})');
+@define('PLUGIN_EVENT_CONTENTREWRITE_OLDTITLE', 'Title #%d');
+@define('PLUGIN_EVENT_CONTENTREWRITE_OLDTDESCRIPTION', 'Enter the acronym here ({from})');
+@define('PLUGIN_EVENT_CONTENTREWRITE_PTITLE', 'Plugin-Title');
+@define('PLUGIN_EVENT_CONTENTREWRITE_PDESCRIPTION', 'The name of this plugin');
+@define('PLUGIN_EVENT_CONTENTREWRITE_NEWDESCRIPTION', 'New Description');
+@define('PLUGIN_EVENT_CONTENTREWRITE_NEWDDESCRIPTION', 'Enter the description for a new item here ({to})');
+@define('PLUGIN_EVENT_CONTENTREWRITE_OLDDESCRIPTION', 'Description #%s');
+@define('PLUGIN_EVENT_CONTENTREWRITE_OLDDDESCRIPTION', 'Enter the description here ({to})');
+@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITESTRING', 'Rewrite string');
+@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITESTRINGDESC', 'The string used to rewrite. Place {from} and {to} anywhere you like to get a rewrite.' . "\n" . 'Example: <acronym title="{to}">{from}</acronym>');
+@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITECHAR', 'Rewrite char');
+@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITECHARDESC', 'If there is any char you append to force rewriting, enter it here. If you want to only replace \'serendipity*\' with what you entered for that word but want the \'*\' removed, enter that char here.');
+
+?>
index 307aff4dd96c4b6517351b5f99cce811ea56cf27..9db6f4cab5cb95d48a0738c087bb277d92b724b0 100644 (file)
@@ -6,24 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_CONTENTREWRITE_FROM', 'from');
-@define('PLUGIN_EVENT_CONTENTREWRITE_TO', 'to');
-@define('PLUGIN_EVENT_CONTENTREWRITE_NAME', 'Content Rewriter');
-@define('PLUGIN_EVENT_CONTENTREWRITE_DESCRIPTION', 'Replaces words with a new selected string (useful for acronyms)');
-@define('PLUGIN_EVENT_CONTENTREWRITE_NEWTITLE', 'New Title');
-@define('PLUGIN_EVENT_CONTENTREWRITE_NEWTDESCRIPTION', 'Enter the acronym-title for a new item here ({from})');
-@define('PLUGIN_EVENT_CONTENTREWRITE_OLDTITLE', 'Title #%d');
-@define('PLUGIN_EVENT_CONTENTREWRITE_OLDTDESCRIPTION', 'Enter the acronym here ({from})');
-@define('PLUGIN_EVENT_CONTENTREWRITE_PTITLE', 'Plugin-Title');
-@define('PLUGIN_EVENT_CONTENTREWRITE_PDESCRIPTION', 'The name of this plugin');
-@define('PLUGIN_EVENT_CONTENTREWRITE_NEWDESCRIPTION', 'New Description');
-@define('PLUGIN_EVENT_CONTENTREWRITE_NEWDDESCRIPTION', 'Enter the description for a new item here ({to})');
-@define('PLUGIN_EVENT_CONTENTREWRITE_OLDDESCRIPTION', 'Description #%s');
-@define('PLUGIN_EVENT_CONTENTREWRITE_OLDDDESCRIPTION', 'Enter the description here ({to})');
-@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITESTRING', 'Rewrite string');
-@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITESTRINGDESC', 'The string used to rewrite. Place {from} and {to} anywhere you like to get a rewrite.' . "\n" . 'Example: <acronym title="{to}">{from}</acronym>');
-@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITECHAR', 'Rewrite char');
-@define('PLUGIN_EVENT_CONTENTREWRITE_REWRITECHARDESC', 'If there is any char you append to force rewriting, enter it here. If you want to only replace \'serendipity*\' with what you entered for that word but want the \'*\' removed, enter that char here.');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_contentrewrite extends serendipity_event
 {
diff --git a/plugins/serendipity_event_creativecommons/lang_en.inc.php b/plugins/serendipity_event_creativecommons/lang_en.inc.php
new file mode 100644 (file)
index 0000000..4da80e9
--- /dev/null
@@ -0,0 +1,17 @@
+<?php # $Id$
+
+@define('PLUGIN_CREATIVECOMMONS_NAME',        'Creative Commons License');
+@define('PLUGIN_CREATIVECOMMONS_DESC',        'Choose and display a creative commons license for your content');
+@define('PLUGIN_CREATIVECOMMONS_TXT',         'Show text?');
+@define('PLUGIN_CREATIVECOMMONS_TXT_DESC',    'For visible notifications of license status, show a brief explanation of your license choice.');
+@define('PLUGIN_CREATIVECOMMONS_CAP',         'Original content in this work is licensed under a <a href="#license_uri#">Creative Commons License</a>');
+@define('PLUGIN_CREATIVECOMMONS_CAP_PD',      'Original content in this work is dedicated to the <a href="#license_url#}">Public Domain</a>');
+// @define('PLUGIN_CREATIVECOMMONS_BY',          'Require attribution?');
+// @define('PLUGIN_CREATIVECOMMONS_BY_DESC',     'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
+@define('PLUGIN_CREATIVECOMMONS_NC',          'Allow commercial uses of your work?');
+@define('PLUGIN_CREATIVECOMMONS_NC_DESC',     'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes -- unless they get the licensor\'s permission.');
+@define('PLUGIN_CREATIVECOMMONS_ND',          'Allow modifications of your work?');
+@define('PLUGIN_CREATIVECOMMONS_ND_DESC',     'The licensor permits others to copy, distribute, display and perform only unaltered copies of the work -- not derivative works based on it.');
+@define('PLUGIN_CREATIVECOMMONS_SA_DESC',     'Yes, as long as others share alike');
+
+?>
index 1a3ceca65b2cfc72ba43692d29662c140dca6ce3..257db0ae309b69ea07310874ed291b9dcacfcded 100644 (file)
@@ -6,19 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_CREATIVECOMMONS_NAME',        'Creative Commons License');
-@define('PLUGIN_CREATIVECOMMONS_DESC',        'Choose and display a creative commons license for your content');
-@define('PLUGIN_CREATIVECOMMONS_TXT',         'Show text?');
-@define('PLUGIN_CREATIVECOMMONS_TXT_DESC',    'For visible notifications of license status, show a brief explanation of your license choice.');
-@define('PLUGIN_CREATIVECOMMONS_CAP',         'Original content in this work is licensed under a <a href="#license_uri#">Creative Commons License</a>');
-@define('PLUGIN_CREATIVECOMMONS_CAP_PD',      'Original content in this work is dedicated to the <a href="#license_url#}">Public Domain</a>');
-// @define('PLUGIN_CREATIVECOMMONS_BY',          'Require attribution?');
-// @define('PLUGIN_CREATIVECOMMONS_BY_DESC',     'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
-@define('PLUGIN_CREATIVECOMMONS_NC',          'Allow commercial uses of your work?');
-@define('PLUGIN_CREATIVECOMMONS_NC_DESC',     'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes -- unless they get the licensor\'s permission.');
-@define('PLUGIN_CREATIVECOMMONS_ND',          'Allow modifications of your work?');
-@define('PLUGIN_CREATIVECOMMONS_ND_DESC',     'The licensor permits others to copy, distribute, display and perform only unaltered copies of the work -- not derivative works based on it.');
-@define('PLUGIN_CREATIVECOMMONS_SA_DESC',     'Yes, as long as others share alike');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_creativecommons extends serendipity_event {
     var $title = PLUGIN_CREATIVECOMMONS_NAME;
diff --git a/plugins/serendipity_event_htmlvalidator/lang_en.inc.php b/plugins/serendipity_event_htmlvalidator/lang_en.inc.php
new file mode 100644 (file)
index 0000000..be085ed
--- /dev/null
@@ -0,0 +1,12 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_HTMLVALIDATOR_NAME', 'HTML Validator');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_DESC', 'Validates entries on their XML-conformity');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_CHARSET', 'Charset');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_CHARSETDESC', 'The usual charset of your articles');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_DOCTYPE', 'Doctype');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_DOCTYPEDESC', 'The usual document type of your articles');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_VALIDATE', 'Validate on each preview');
+@define('PLUGIN_EVENT_HTMLVALIDATOR_GOVALIDATE', 'Show HTML-Validator on preview');
+
+?>
index 26dbc019ff2a0e2df44f9d8753bf109968b1c159..0d376fdac2a55d2376c182769d807d4d77991aaa 100644 (file)
@@ -6,14 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_HTMLVALIDATOR_NAME', 'HTML Validator');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_DESC', 'Validates entries on their XML-conformity');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_CHARSET', 'Charset');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_CHARSETDESC', 'The usual charset of your articles');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_DOCTYPE', 'Doctype');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_DOCTYPEDESC', 'The usual document type of your articles');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_VALIDATE', 'Validate on each preview');
-@define('PLUGIN_EVENT_HTMLVALIDATOR_GOVALIDATE', 'Show HTML-Validator on preview');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_htmlvalidator extends serendipity_event
 {
diff --git a/plugins/serendipity_event_karma/lang_en.inc.php b/plugins/serendipity_event_karma/lang_en.inc.php
new file mode 100644 (file)
index 0000000..1a17a46
--- /dev/null
@@ -0,0 +1,44 @@
+<?php # $Id$
+
+@define('PLUGIN_KARMA_NAME', 'Karma');
+@define('PLUGIN_KARMA_BLAHBLAH', 'Let visitors rate the quality of your entries');
+@define('PLUGIN_KARMA_VOTETEXT', 'Karma for this article: ');
+@define('PLUGIN_KARMA_RATE', 'Rate this article: %s');
+@define('PLUGIN_KARMA_VOTEPOINT_1', 'Very good!');
+@define('PLUGIN_KARMA_VOTEPOINT_2', 'Good');
+@define('PLUGIN_KARMA_VOTEPOINT_3', 'Neutral');
+@define('PLUGIN_KARMA_VOTEPOINT_4', 'Not interesting');
+@define('PLUGIN_KARMA_VOTEPOINT_5', 'Bad');
+@define('PLUGIN_KARMA_VOTED', 'Your rating "%s" was stored.');
+@define('PLUGIN_KARMA_INVALID', 'Your voting was invalid.');
+@define('PLUGIN_KARMA_ALREADYVOTED', 'Your rating was already stored.');
+@define('PLUGIN_KARMA_NOCOOKIE', 'Your browser must support cookies to be able to vote.');
+@define('PLUGIN_KARMA_CLOSED', 'Vote for articles fresher than %s days!');
+@define('PLUGIN_KARMA_ENTRYTIME', 'Voting time after publishing');
+@define('PLUGIN_KARMA_VOTINGTIME', 'Voting time');
+@define('PLUGIN_KARMA_ENTRYTIME_BLAHBLAH', 'How long (in minutes) after your article has been published an unrestricted voting is allowed? Default: 1440 (one day)');
+@define('PLUGIN_KARMA_VOTINGTIME_BLAHBLAH', 'Amount of time (in minutes) that needs to be passed from one vote to the other. Is only applied after the time above is expired. Default: 5');
+@define('PLUGIN_KARMA_TIMEOUT', 'Flood protection: Another visitor has just recently voted. Please wait %s minutes.');
+@define('PLUGIN_KARMA_CURRENT', 'Current karma: %2$s, %3$s vote(s)');
+@define('PLUGIN_KARMA_EXTENDEDONLY', 'Only extended article');
+@define('PLUGIN_KARMA_EXTENDEDONLY_BLAHBLAH', 'Only show karmavoting on extended article view');
+@define('PLUGIN_KARMA_MAXKARMA', 'Karmavoting period');
+@define('PLUGIN_KARMA_MAXKARMA_BLAHBLAH', 'Only allow karmavoting until the article is X days old (Default: 7)');
+@define('PLUGIN_KARMA_LOGGING', 'Log votes?');
+@define('PLUGIN_KARMA_LOGGING_BLAHBLAH', 'Should karma votes be logged?');
+@define('PLUGIN_KARMA_ACTIVE', 'Enable karma voting?');
+@define('PLUGIN_KARMA_ACTIVE_BLAHBLAH', 'Is karma voting turned on?');
+@define('PLUGIN_KARMA_VISITS', 'Enable visit tracking?');
+@define('PLUGIN_KARMA_VISITS_BLAHBLAH', 'Should every click to an extended article be counted and displayed?');
+@define('PLUGIN_KARMA_VISITSCOUNT', ' %4$s hits');
+@define('PLUGIN_KARMA_STATISTICS_VISITS_TOP', 'Top visited articles');
+@define('PLUGIN_KARMA_STATISTICS_VISITS_BOTTOM', 'Worst visited articles');
+@define('PLUGIN_KARMA_STATISTICS_VOTES_TOP', 'Top karma-voted articles');
+@define('PLUGIN_KARMA_STATISTICS_VOTES_BOTTOM', 'Least karma-voted articles');
+@define('PLUGIN_KARMA_STATISTICS_POINTS_TOP', 'Best karma-voted articles');
+@define('PLUGIN_KARMA_STATISTICS_POINTS_BOTTOM', 'Worst karma-voted articles');
+@define('PLUGIN_KARMA_STATISTICS_VISITS_NO', 'visits');
+@define('PLUGIN_KARMA_STATISTICS_VOTES_NO', 'votes');
+@define('PLUGIN_KARMA_STATISTICS_POINTS_NO', 'points');
+
+?>
index 0309b183e4436e924fcff9412c0c0fab82791fd9..6ce374dc6df57f6f5eef3ff8f922efb55a50f250 100644 (file)
@@ -6,48 +6,9 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_KARMA_VERSION', '1.3');
-@define('PLUGIN_KARMA_NAME', 'Karma');
-@define('PLUGIN_KARMA_BLAHBLAH', 'Let visitors rate the quality of your entries');
-@define('PLUGIN_KARMA_VOTETEXT', 'Karma for this article: ');
-@define('PLUGIN_KARMA_RATE', 'Rate this article: %s');
-@define('PLUGIN_KARMA_VOTEPOINT_1', 'Very good!');
-@define('PLUGIN_KARMA_VOTEPOINT_2', 'Good');
-@define('PLUGIN_KARMA_VOTEPOINT_3', 'Neutral');
-@define('PLUGIN_KARMA_VOTEPOINT_4', 'Not interesting');
-@define('PLUGIN_KARMA_VOTEPOINT_5', 'Bad');
-@define('PLUGIN_KARMA_VOTED', 'Your rating "%s" was stored.');
-@define('PLUGIN_KARMA_INVALID', 'Your voting was invalid.');
-@define('PLUGIN_KARMA_ALREADYVOTED', 'Your rating was already stored.');
-@define('PLUGIN_KARMA_NOCOOKIE', 'Your browser must support cookies to be able to vote.');
-@define('PLUGIN_KARMA_CLOSED', 'Vote for articles fresher than %s days!');
-@define('PLUGIN_KARMA_ENTRYTIME', 'Voting time after publishing');
-@define('PLUGIN_KARMA_VOTINGTIME', 'Voting time');
-@define('PLUGIN_KARMA_ENTRYTIME_BLAHBLAH', 'How long (in minutes) after your article has been published an unrestricted voting is allowed? Default: 1440 (one day)');
-@define('PLUGIN_KARMA_VOTINGTIME_BLAHBLAH', 'Amount of time (in minutes) that needs to be passed from one vote to the other. Is only applied after the time above is expired. Default: 5');
-@define('PLUGIN_KARMA_TIMEOUT', 'Flood protection: Another visitor has just recently voted. Please wait %s minutes.');
-@define('PLUGIN_KARMA_CURRENT', 'Current karma: %2$s, %3$s vote(s)');
-@define('PLUGIN_KARMA_EXTENDEDONLY', 'Only extended article');
-@define('PLUGIN_KARMA_EXTENDEDONLY_BLAHBLAH', 'Only show karmavoting on extended article view');
-@define('PLUGIN_KARMA_MAXKARMA', 'Karmavoting period');
-@define('PLUGIN_KARMA_MAXKARMA_BLAHBLAH', 'Only allow karmavoting until the article is X days old (Default: 7)');
-@define('PLUGIN_KARMA_LOGGING', 'Log votes?');
-@define('PLUGIN_KARMA_LOGGING_BLAHBLAH', 'Should karma votes be logged?');
-@define('PLUGIN_KARMA_ACTIVE', 'Enable karma voting?');
-@define('PLUGIN_KARMA_ACTIVE_BLAHBLAH', 'Is karma voting turned on?');
-@define('PLUGIN_KARMA_VISITS', 'Enable visit tracking?');
-@define('PLUGIN_KARMA_VISITS_BLAHBLAH', 'Should every click to an extended article be counted and displayed?');
-@define('PLUGIN_KARMA_VISITSCOUNT', ' %4$s hits');
-@define('PLUGIN_KARMA_STATISTICS_VISITS_TOP', 'Top visited articles');
-@define('PLUGIN_KARMA_STATISTICS_VISITS_BOTTOM', 'Worst visited articles');
-@define('PLUGIN_KARMA_STATISTICS_VOTES_TOP', 'Top karma-voted articles');
-@define('PLUGIN_KARMA_STATISTICS_VOTES_BOTTOM', 'Least karma-voted articles');
-@define('PLUGIN_KARMA_STATISTICS_POINTS_TOP', 'Best karma-voted articles');
-@define('PLUGIN_KARMA_STATISTICS_POINTS_BOTTOM', 'Worst karma-voted articles');
-@define('PLUGIN_KARMA_STATISTICS_VISITS_NO', 'visits');
-@define('PLUGIN_KARMA_STATISTICS_VOTES_NO', 'votes');
-@define('PLUGIN_KARMA_STATISTICS_POINTS_NO', 'points');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
+@define('PLUGIN_KARMA_VERSION', '1.3');
 
 class serendipity_event_karma extends serendipity_event
 {
diff --git a/plugins/serendipity_event_livesearch/lang_en.inc.php b/plugins/serendipity_event_livesearch/lang_en.inc.php
new file mode 100644 (file)
index 0000000..e533649
--- /dev/null
@@ -0,0 +1,7 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_LIVESEARCH_NAME', 'Livesearch');
+@define('PLUGIN_EVENT_LIVESEARCH_DESC', 'Enhances the internal search function by adding live-updates on keypress (JavaScript)');
+@define('PLUGIN_EVENT_LIVESEARCH_WAIT', 'Wait, sending request...');
+
+?>
index 9ab1547b47e6dcf08f96bba75d34f02352008843..f866e9c5a03868f54ba2d189e11c594f157305b5 100644 (file)
@@ -6,9 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 } 
 
-@define('PLUGIN_EVENT_LIVESEARCH_NAME', 'Livesearch');
-@define('PLUGIN_EVENT_LIVESEARCH_DESC', 'Enhances the internal search function by adding live-updates on keypress (JavaScript)');
-@define('PLUGIN_EVENT_LIVESEARCH_WAIT', 'Wait, sending request...');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_livesearch extends serendipity_event
 {
diff --git a/plugins/serendipity_event_mailer/lang_en.inc.php b/plugins/serendipity_event_mailer/lang_en.inc.php
new file mode 100644 (file)
index 0000000..830143e
--- /dev/null
@@ -0,0 +1,14 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_MAILER_NAME', 'Send entries via E-Mail');
+@define('PLUGIN_EVENT_MAILER_DESC', 'Let you send a newly created entry via E-Mail to a specific address');
+@define('PLUGIN_EVENT_MAILER_RECIPIENT', 'Mail recipient');
+@define('PLUGIN_EVENT_MAILER_RECIPIENTDESC', 'E-Mail address you want to send the entries to (suggested: a mailing list)');
+@define('PLUGIN_EVENT_MAILER_LINK', 'Mail link to article?');
+@define('PLUGIN_EVENT_MAILER_LINKDESC', 'Include a link to the article in the mail.');
+@define('PLUGIN_EVENT_MAILER_STRIPTAGS', 'Remove HTML?');
+@define('PLUGIN_EVENT_MAILER_STRIPTAGSDESC', 'Remove HTML-Tags from the mail.');
+@define('PLUGIN_EVENT_MAILER_CONVERTP', 'Convert HTML-paragraphs to newlines?');
+@define('PLUGIN_EVENT_MAILER_CONVERTPDESC', 'Adds a newline after each HTML paragraph. This is very useful if you enable HTML removing, so that your paragraphs can be kept if not manually entered.');
+
+?>
index 464e5fdfe520b76947a250be6e8505a0ebcc9f5d..7673eb7a359e62b2ad9a9fdb52a5b3a03908d942 100644 (file)
@@ -6,16 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_MAILER_NAME', 'Send entries via E-Mail');
-@define('PLUGIN_EVENT_MAILER_DESC', 'Let you send a newly created entry via E-Mail to a specific address');
-@define('PLUGIN_EVENT_MAILER_RECIPIENT', 'Mail recipient');
-@define('PLUGIN_EVENT_MAILER_RECIPIENTDESC', 'E-Mail address you want to send the entries to (suggested: a mailing list)');
-@define('PLUGIN_EVENT_MAILER_LINK', 'Mail link to article?');
-@define('PLUGIN_EVENT_MAILER_LINKDESC', 'Include a link to the article in the mail.');
-@define('PLUGIN_EVENT_MAILER_STRIPTAGS', 'Remove HTML?');
-@define('PLUGIN_EVENT_MAILER_STRIPTAGSDESC', 'Remove HTML-Tags from the mail.');
-@define('PLUGIN_EVENT_MAILER_CONVERTP', 'Convert HTML-paragraphs to newlines?');
-@define('PLUGIN_EVENT_MAILER_CONVERTPDESC', 'Adds a newline after each HTML paragraph. This is very useful if you enable HTML removing, so that your paragraphs can be kept if not manually entered.');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_mailer extends serendipity_event
 {
diff --git a/plugins/serendipity_event_nl2br/lang_en.inc.php b/plugins/serendipity_event_nl2br/lang_en.inc.php
new file mode 100644 (file)
index 0000000..aae2476
--- /dev/null
@@ -0,0 +1,6 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_NL2BR_NAME',     'Markup: NL2BR');
+@define('PLUGIN_EVENT_NL2BR_DESC',     'Convert newlines to BR tags');
+
+?>
index 035c8c41cc6dfbc7d1a0096dbc5e8223dc9d6efb..f38e7205b58f17b18323d9a2555193b1ab3ed3de 100644 (file)
@@ -6,8 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_NL2BR_NAME',     'Markup: NL2BR');
-@define('PLUGIN_EVENT_NL2BR_DESC',     'Convert newlines to BR tags');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_nl2br extends serendipity_event
 {
diff --git a/plugins/serendipity_event_s9ymarkup/lang_en.inc.php b/plugins/serendipity_event_s9ymarkup/lang_en.inc.php
new file mode 100644 (file)
index 0000000..c74805b
--- /dev/null
@@ -0,0 +1,7 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_S9YMARKUP_NAME', 'Markup: Serendipity');
+@define('PLUGIN_EVENT_S9YMARKUP_DESC', 'Apply basic serendipity markup to entry text');
+@define('PLUGIN_EVENT_S9YMARKUP_TRANSFORM', 'Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.');
+
+?>
index 2ad8ce0e874542c8a84ebec3f3802867bd942425..81dbd5e8f60d19a1cd57c7b121ea095151a488f7 100644 (file)
@@ -6,9 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_S9YMARKUP_NAME', 'Markup: Serendipity');
-@define('PLUGIN_EVENT_S9YMARKUP_DESC', 'Apply basic serendipity markup to entry text');
-@define('PLUGIN_EVENT_S9YMARKUP_TRANSFORM', 'Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_s9ymarkup extends serendipity_event
 {
diff --git a/plugins/serendipity_event_searchhighlight/lang_en.inc.php b/plugins/serendipity_event_searchhighlight/lang_en.inc.php
new file mode 100644 (file)
index 0000000..9a67398
--- /dev/null
@@ -0,0 +1,6 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_SEARCHHIGHLIGHT_NAME',     'Highlight search queries');
+@define('PLUGIN_EVENT_SEARCHHIGHLIGHT_DESC',     'Highlights queries used in the referring search engine to locate your page');
+
+?>
index e17bb46dce8a5f3f5c7e561323d77539e68860bd..5adb101606f9c53564b84a76ba4f0484c13ec3ea 100644 (file)
@@ -8,10 +8,9 @@
 $probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
 if (file_exists($probelang)) {
     include $probelang;
-} 
+}
 
-@define('PLUGIN_EVENT_SEARCHHIGHLIGHT_NAME',     'Highlight search queries');
-@define('PLUGIN_EVENT_SEARCHHIGHLIGHT_DESC',     'Highlights queries used in the referring search engine to locate your page');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_searchhighlight extends serendipity_event
 {
diff --git a/plugins/serendipity_event_spartacus/lang_en.inc.php b/plugins/serendipity_event_spartacus/lang_en.inc.php
new file mode 100644 (file)
index 0000000..7e69901
--- /dev/null
@@ -0,0 +1,21 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_SPARTACUS_NAME', 'Spartacus');
+@define('PLUGIN_EVENT_SPARTACUS_DESC', '[S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/[U]nification [S]ystem - Allows you to download plugins from our online repository');
+@define('PLUGIN_EVENT_SPARTACUS_FETCH', 'Click here to fetch a new %s from the Serendipity Online Repository');
+@define('PLUGIN_EVENT_SPARTACUS_FETCHERROR', 'The URL %s could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.');
+@define('PLUGIN_EVENT_SPARTACUS_FETCHING', 'Trying to open URL %s...');
+@define('PLUGIN_EVENT_SPARTACUS_FETCHED_BYTES_URL', 'Fetched %s bytes from the URL above. Saving file as %s...');
+@define('PLUGIN_EVENT_SPARTACUS_FETCHED_BYTES_CACHE', 'Fetched %s bytes from already existing file on your server. Saving file as %s...');
+@define('PLUGIN_EVENT_SPARTACUS_FETCHED_DONE', 'Data successfully fetched.');
+@define('PLUGIN_EVENT_SPARTACUS_MIRROR_XML', 'File/Mirror location (XML metadata)');
+@define('PLUGIN_EVENT_SPARTACUS_MIRROR_FILES', 'File/Mirror location (files)');
+@define('PLUGIN_EVENT_SPARTACUS_MIRROR_DESC', 'Choose a download location. Do NOT change this value unless you know what you are doing and if servers get oudated. This option is available mainly for forward compatibility.');
+@define('PLUGIN_EVENT_SPARTACUS_CHOWN', 'Owner of downloaded files');
+@define('PLUGIN_EVENT_SPARTACUS_CHOWN_DESC', 'Here you can enter the (FTP/Shell) owner (like "nobody") of files downloaded by Spartacus. If empty, no changes are made to the ownership.');
+@define('PLUGIN_EVENT_SPARTACUS_CHMOD', 'Permissions downloaded files');
+@define('PLUGIN_EVENT_SPARTACUS_CHMOD_DESC', 'Here you can enter the octal mode (like "0777") of the file permissions for files (FTP/Shell) downloaded by Spartacus. If empty, the default permission mask of the system are used. Note that not all servers allow changing/setting permissions. Pay attention that the applied permissions allow reading and writing for the webserver user. Else spartacus/Serendipity cannot overwrite existing files.');
+@define('PLUGIN_EVENT_SPARTACUS_CHMOD_DIR', 'Permissions downloaded directories');
+@define('PLUGIN_EVENT_SPARTACUS_CHMOD_DIR_DESC', 'Here you can enter the octal mode (like "0777") of the directory permissions for directories (FTP/Shell) downloaded by Spartacus. If empty, the default permission mask of the system are used. Note that not all servers allow changing/setting permissions. Pay attention that the applied permissions allow reading and writing for the webserver user. Else spartacus/Serendipity cannot overwrite existing directories.');
+
+?>
index 2aa7d196e3e1e9eb4f23d48831286f8cfd80e2f6..20e3591f79896763c9365f5d3e6337fe834bfb0b 100644 (file)
@@ -14,23 +14,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_SPARTACUS_NAME', 'Spartacus');
-@define('PLUGIN_EVENT_SPARTACUS_DESC', '[S]erendipity [P]lugin [A]ccess [R]epository [T]ool [A]nd [C]ustomization/[U]nification [S]ystem - Allows you to download plugins from our online repository');
-@define('PLUGIN_EVENT_SPARTACUS_FETCH', 'Click here to fetch a new %s from the Serendipity Online Repository');
-@define('PLUGIN_EVENT_SPARTACUS_FETCHERROR', 'The URL %s could not be opened. Maybe the Serendipity or SourceForge.net Server is down - we are sorry, you need to try again later.');
-@define('PLUGIN_EVENT_SPARTACUS_FETCHING', 'Trying to open URL %s...');
-@define('PLUGIN_EVENT_SPARTACUS_FETCHED_BYTES_URL', 'Fetched %s bytes from the URL above. Saving file as %s...');
-@define('PLUGIN_EVENT_SPARTACUS_FETCHED_BYTES_CACHE', 'Fetched %s bytes from already existing file on your server. Saving file as %s...');
-@define('PLUGIN_EVENT_SPARTACUS_FETCHED_DONE', 'Data successfully fetched.');
-@define('PLUGIN_EVENT_SPARTACUS_MIRROR_XML', 'File/Mirror location (XML metadata)');
-@define('PLUGIN_EVENT_SPARTACUS_MIRROR_FILES', 'File/Mirror location (files)');
-@define('PLUGIN_EVENT_SPARTACUS_MIRROR_DESC', 'Choose a download location. Do NOT change this value unless you know what you are doing and if servers get oudated. This option is available mainly for forward compatibility.');
-@define('PLUGIN_EVENT_SPARTACUS_CHOWN', 'Owner of downloaded files');
-@define('PLUGIN_EVENT_SPARTACUS_CHOWN_DESC', 'Here you can enter the (FTP/Shell) owner (like "nobody") of files downloaded by Spartacus. If empty, no changes are made to the ownership.');
-@define('PLUGIN_EVENT_SPARTACUS_CHMOD', 'Permissions downloaded files');
-@define('PLUGIN_EVENT_SPARTACUS_CHMOD_DESC', 'Here you can enter the octal mode (like "0777") of the file permissions for files (FTP/Shell) downloaded by Spartacus. If empty, the default permission mask of the system are used. Note that not all servers allow changing/setting permissions. Pay attention that the applied permissions allow reading and writing for the webserver user. Else spartacus/Serendipity cannot overwrite existing files.');
-@define('PLUGIN_EVENT_SPARTACUS_CHMOD_DIR', 'Permissions downloaded directories');
-@define('PLUGIN_EVENT_SPARTACUS_CHMOD_DIR_DESC', 'Here you can enter the octal mode (like "0777") of the directory permissions for directories (FTP/Shell) downloaded by Spartacus. If empty, the default permission mask of the system are used. Note that not all servers allow changing/setting permissions. Pay attention that the applied permissions allow reading and writing for the webserver user. Else spartacus/Serendipity cannot overwrite existing directories.');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_spartacus extends serendipity_event
 {
diff --git a/plugins/serendipity_event_templatechooser/lang_en.inc.php b/plugins/serendipity_event_templatechooser/lang_en.inc.php
new file mode 100644 (file)
index 0000000..447b7e7
--- /dev/null
@@ -0,0 +1,6 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_TEMPLATECHOOSER_NAME',     'Template chooser');
+@define('PLUGIN_EVENT_TEMPLATECHOOSER_DESC',     'Allows your visitors to change template on the fly');
+
+?>
index a1084762bfe2ea9bc70fdfbaf34fcb706d7e99a0..136b04f5b0b68ca986592d84ded25edaa05211f3 100644 (file)
@@ -6,8 +6,8 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_TEMPLATECHOOSER_NAME',     'Template chooser');
-@define('PLUGIN_EVENT_TEMPLATECHOOSER_DESC',     'Allows your visitors to change template on the fly');
+include dirname(__FILE__) . '/lang_en.inc.php';
+
 
 class serendipity_event_templatechooser extends serendipity_event
 {
diff --git a/plugins/serendipity_event_textile/lang_en.inc.php b/plugins/serendipity_event_textile/lang_en.inc.php
new file mode 100644 (file)
index 0000000..085e209
--- /dev/null
@@ -0,0 +1,7 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_TEXTILE_NAME', 'Markup: Textile');
+@define('PLUGIN_EVENT_TEXTILE_DESC', 'Parse all output through the Textile converter');
+@define('PLUGIN_EVENT_TEXTILE_TRANSFORM', '<a href="http://www.textism.com/tools/textile/">Textile</a>-formatting allowed');
+
+?>
index 383ef0e86786e864ec0180497f268d40bdfb752c..4ad861da01baf543058b8e673dd064477ad84766 100644 (file)
@@ -8,9 +8,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_TEXTILE_NAME', 'Markup: Textile');
-@define('PLUGIN_EVENT_TEXTILE_DESC', 'Parse all output through the Textile converter');
-@define('PLUGIN_EVENT_TEXTILE_TRANSFORM', '<a href="http://www.textism.com/tools/textile/">Textile</a>-formatting allowed');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_textile extends serendipity_event
 {
diff --git a/plugins/serendipity_event_trackexits/lang_en.inc.php b/plugins/serendipity_event_trackexits/lang_en.inc.php
new file mode 100644 (file)
index 0000000..20f9acb
--- /dev/null
@@ -0,0 +1,11 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_TRACKBACK_NAME', 'Markup: Track exits');
+@define('PLUGIN_EVENT_TRACKBACK_DESC', 'Track clicks on external URLs');
+@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION', 'Use URL-redirection on URL to commenting user?');
+@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_BLAHBLA', 'Reduces Comment-Abuse but also disables positive effects of linking to the URL of a commenting user. Serendipity\'s internal routines will redirect to the target page and log the exit. The Google PageRank Deflector will prevent the link from gaining rank on Google. An empty value disables this feature entirely (default).');
+@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_NONE', 'None');
+@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_S9Y', 'Serendipity Exit-Tracking Routine');
+@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_GOOGLE', 'Google PageRank Deflector');
+
+?>
index 934e2202d12eece0017f7d2886d7d0bb7ec3be1e..14b05f3f45d9ea79f3eb1872cd65bee734034907 100644 (file)
@@ -4,15 +4,9 @@
 $probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
 if (file_exists($probelang)) {
     include $probelang;
-} 
-
-@define('PLUGIN_EVENT_TRACKBACK_NAME', 'Markup: Track exits');
-@define('PLUGIN_EVENT_TRACKBACK_DESC', 'Track clicks on external URLs');
-@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION', 'Use URL-redirection on URL to commenting user?');
-@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_BLAHBLA', 'Reduces Comment-Abuse but also disables positive effects of linking to the URL of a commenting user. Serendipity\'s internal routines will redirect to the target page and log the exit. The Google PageRank Deflector will prevent the link from gaining rank on Google. An empty value disables this feature entirely (default).');
-@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_NONE', 'None');
-@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_S9Y', 'Serendipity Exit-Tracking Routine');
-@define('PLUGIN_EVENT_TRACKBACK_COMMENTREDIRECTION_GOOGLE', 'Google PageRank Deflector');
+}
+
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_trackexits extends serendipity_event
 {
diff --git a/plugins/serendipity_event_weblogping/lang_en.inc.php b/plugins/serendipity_event_weblogping/lang_en.inc.php
new file mode 100644 (file)
index 0000000..b78a771
--- /dev/null
@@ -0,0 +1,13 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_WEBLOGPING_PING', 'Announce entries (via XML-RPC ping) to:');
+@define('PLUGIN_EVENT_WEBLOGPING_SENDINGPING', 'Sending XML-RPC ping to host %s');
+@define('PLUGIN_EVENT_WEBLOGPING_TITLE', 'Announce entries');
+@define('PLUGIN_EVENT_WEBLOGPING_DESC', 'Send notification of new entries to online services');
+@define('PLUGIN_EVENT_WEBLOGPING_SUPERSEDES', '(supersedes %s)');
+@define('PLUGIN_EVENT_WEBLOGPING_CUSTOM', 'Custom ping-services');
+@define('PLUGIN_EVENT_WEBLOGPING_CUSTOM_BLAHBLA', 'One or more special ping services, separated by ",". The entries need to be formatted like: "host.domain/path". If a "*" is entered at the beginning of the hostname, the extended XML-RPC options will be sent to that host (only if supported by the host).');
+@define('PLUGIN_EVENT_WEBLOGPING_SEND_FAILURE', 'Failure(Reason: %s)');
+@define('PLUGIN_EVENT_WEBLOGPING_SEND_SUCCESS', 'Success!!');
+
+?>
index 08afaac092a83cc55af3c2f302030ba25aa592f9..83edbf4d3308bad8b7e7122b6c962c2b36cfb194 100644 (file)
@@ -8,15 +8,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_EVENT_WEBLOGPING_PING', 'Announce entries (via XML-RPC ping) to:');
-@define('PLUGIN_EVENT_WEBLOGPING_SENDINGPING', 'Sending XML-RPC ping to host %s');
-@define('PLUGIN_EVENT_WEBLOGPING_TITLE', 'Announce entries');
-@define('PLUGIN_EVENT_WEBLOGPING_DESC', 'Send notification of new entries to online services');
-@define('PLUGIN_EVENT_WEBLOGPING_SUPERSEDES', '(supersedes %s)');
-@define('PLUGIN_EVENT_WEBLOGPING_CUSTOM', 'Custom ping-services');
-@define('PLUGIN_EVENT_WEBLOGPING_CUSTOM_BLAHBLA', 'One or more special ping services, separated by ",". The entries need to be formatted like: "host.domain/path". If a "*" is entered at the beginning of the hostname, the extended XML-RPC options will be sent to that host (only if supported by the host).');
-@define('PLUGIN_EVENT_WEBLOGPING_SEND_FAILURE', 'Failure(Reason: %s)');
-@define('PLUGIN_EVENT_WEBLOGPING_SEND_SUCCESS', 'Success!!');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_event_weblogping extends serendipity_event
 {
diff --git a/plugins/serendipity_event_xhtmlcleanup/lang_en.inc.php b/plugins/serendipity_event_xhtmlcleanup/lang_en.inc.php
new file mode 100644 (file)
index 0000000..4f1e2ab
--- /dev/null
@@ -0,0 +1,10 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_XHTMLCLEANUP_NAME', 'Fix common XHTML errors');
+@define('PLUGIN_EVENT_XHTMLCLEANUP_DESC', 'This plugin corrects common issues with XHTML markup in entries. It assists in keeping your blog XHTML compliant.');
+@define('PLUGIN_EVENT_XHTMLCLEANUP_XHTML', 'Encode XML-parsed data?');
+@define('PLUGIN_EVENT_XHTMLCLEANUP_XHTML_DESC', 'This plugin uses a XML parsing method to ensure XHTML validity of your code. This xml parsing may convert already valid entities to unescaped entities, so the plugin encodes all entities after the parsing. Set this flag to OFF if that introduces double encoding for you!');
+@define('PLUGIN_EVENT_XHTMLCLEANUP_UTF8', 'Cleanup UTF-8 entities?');
+@define('PLUGIN_EVENT_XHTMLCLEANUP_UTF8_DESC', 'If enabled, HTML entities derived from UTF-8 characters will be properly converted and not double-encoded in your output.');
+
+?>
index 1db7547ea3bfeb773d58eec42bbbd1fe0c88a74b..e9c1dd116641280f6b57b963dbb6d8391f17bb5b 100644 (file)
@@ -4,14 +4,9 @@
 $probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
 if (file_exists($probelang)) {
     include $probelang;
-} 
-
-@define('PLUGIN_EVENT_XHTMLCLEANUP_NAME', 'Fix common XHTML errors');
-@define('PLUGIN_EVENT_XHTMLCLEANUP_DESC', 'This plugin corrects common issues with XHTML markup in entries. It assists in keeping your blog XHTML compliant.');
-@define('PLUGIN_EVENT_XHTMLCLEANUP_XHTML', 'Encode XML-parsed data?');
-@define('PLUGIN_EVENT_XHTMLCLEANUP_XHTML_DESC', 'This plugin uses a XML parsing method to ensure XHTML validity of your code. This xml parsing may convert already valid entities to unescaped entities, so the plugin encodes all entities after the parsing. Set this flag to OFF if that introduces double encoding for you!');
-@define('PLUGIN_EVENT_XHTMLCLEANUP_UTF8', 'Cleanup UTF-8 entities?');
-@define('PLUGIN_EVENT_XHTMLCLEANUP_UTF8_DESC', 'If enabled, HTML entities derived from UTF-8 characters will be properly converted and not double-encoded in your output.');
+}
+
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 if (!function_exists('html_entity_decode')) {
     function html_entity_decode($given_html, $quote_style = ENT_QUOTES) {
diff --git a/plugins/serendipity_plugin_entrylinks/lang_en.inc.php b/plugins/serendipity_plugin_entrylinks/lang_en.inc.php
new file mode 100644 (file)
index 0000000..98c0603
--- /dev/null
@@ -0,0 +1,17 @@
+<?php # $Id$
+
+@define('PLUGIN_ENTRYLINKS_NAME', 'Entry\'s Links');
+@define('PLUGIN_ENTRYLINKS_BLAHBLAH', 'Shows all links referrenced in an article');
+@define('PLUGIN_ENTRYLINKS_NEWWIN', 'Open links in new window?');
+@define('PLUGIN_ENTRYLINKS_NEWWIN_BLAHBLAH', 'Should the links be opened in a new window? (Default: Current window)');
+@define('PLUGIN_ENTRYLINKS_REFERERS', 'Referring links');
+@define('PLUGIN_ENTRYLINKS_WORDWRAP', 'Wordwrap');
+@define('PLUGIN_ENTRYLINKS_WORDWRAP_BLAHBLAH', 'How many words until a wordwrap will occur? (Default: 30)');
+@define('PLUGIN_ENTRYLINKS_MAXREF', 'Maximum referring links');
+@define('PLUGIN_ENTRYLINKS_MAXREF_BLAHBLAH', 'How many referring links should be displayed? (Default: 15)');
+@define('PLUGIN_ENTRYLINKS_ORDERBY', 'Order of referring links');
+@define('PLUGIN_ENTRYLINKS_ORDERBY_BLAHBLAH', 'By which key should the referring links be ordered? (Default: number of links)');
+@define('PLUGIN_ENTRYLINKS_ORDERBY_DAY', 'Date');
+@define('PLUGIN_ENTRYLINKS_ORDERBY_FULLCOUNT', 'Number of links');
+
+?>
index 1d6f21fe66dd011bbbf688d50f583e199600b995..4e0cf36cc9195cdf640c91474b48dca7b08de01c 100644 (file)
@@ -6,19 +6,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_ENTRYLINKS_NAME', 'Entry\'s Links');
-@define('PLUGIN_ENTRYLINKS_BLAHBLAH', 'Shows all links referrenced in an article');
-@define('PLUGIN_ENTRYLINKS_NEWWIN', 'Open links in new window?');
-@define('PLUGIN_ENTRYLINKS_NEWWIN_BLAHBLAH', 'Should the links be opened in a new window? (Default: Current window)');
-@define('PLUGIN_ENTRYLINKS_REFERERS', 'Referring links');
-@define('PLUGIN_ENTRYLINKS_WORDWRAP', 'Wordwrap');
-@define('PLUGIN_ENTRYLINKS_WORDWRAP_BLAHBLAH', 'How many words until a wordwrap will occur? (Default: 30)');
-@define('PLUGIN_ENTRYLINKS_MAXREF', 'Maximum referring links');
-@define('PLUGIN_ENTRYLINKS_MAXREF_BLAHBLAH', 'How many referring links should be displayed? (Default: 15)');
-@define('PLUGIN_ENTRYLINKS_ORDERBY', 'Order of referring links');
-@define('PLUGIN_ENTRYLINKS_ORDERBY_BLAHBLAH', 'By which key should the referring links be ordered? (Default: number of links)');
-@define('PLUGIN_ENTRYLINKS_ORDERBY_DAY', 'Date');
-@define('PLUGIN_ENTRYLINKS_ORDERBY_FULLCOUNT', 'Number of links');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_plugin_entrylinks extends serendipity_plugin
 {
@@ -161,7 +149,8 @@ class serendipity_plugin_entrylinks extends serendipity_plugin
                 if (isset($counter[$row['link']])) {
                     $count = '<br /><div style="text-align: right; margin: 0px">[' . $counter[$row['link']] . ']</div>';
                 }
-                $links .= '<li><a href="' . $row['link'] . '" ' . $target . '>' . wordwrap($row['name'], $wordwrap, "<br />", 1) . "</a>$count</li>";
+                $link_name = $wordwrap < 1? $row['name']: wordwrap($row['name'], $wordwrap, "<br />", 1);
+                $links .= '<li><a href="' . $row['link'] . '" ' . $target . '>' . $link_name . "</a>$count</li>";
             }
             $links .= '</ul>';
 
diff --git a/plugins/serendipity_plugin_eventwrapper/lang_en.inc.php b/plugins/serendipity_plugin_eventwrapper/lang_en.inc.php
new file mode 100644 (file)
index 0000000..30eb383
--- /dev/null
@@ -0,0 +1,9 @@
+<?php # $Id$
+
+@define('PLUGIN_EVENT_WRAPPER_NAME', 'Event-Output wrapper');
+@define('PLUGIN_EVENT_WRAPPER_DESC', 'Displays gathered data by a certain event plugin');
+@define('PLUGIN_EVENT_WRAPPER_PLUGIN', 'Source event plugin');
+@define('PLUGIN_EVENT_WRAPPER_PLUGINDESC', 'Select the event plugin for which the output should be displayed');
+@define('PLUGIN_EVENT_WRAPPER_TITLEDESC', 'Enter the title for this sidebar item (leave empty for inheritance by event plugin)');
+
+?>
index ba8315ada65ea99bae7c606a319ee3ac57e3b437..891ad24e149772db61867acef7a3a7b9268676f7 100644 (file)
@@ -4,13 +4,9 @@
 $probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
 if (file_exists($probelang)) {
     include $probelang;
-} 
+}
 
-@define('PLUGIN_EVENT_WRAPPER_NAME', 'Event-Output wrapper');
-@define('PLUGIN_EVENT_WRAPPER_DESC', 'Displays gathered data by a certain event plugin');
-@define('PLUGIN_EVENT_WRAPPER_PLUGIN', 'Source event plugin');
-@define('PLUGIN_EVENT_WRAPPER_PLUGINDESC', 'Select the event plugin for which the output should be displayed');
-@define('PLUGIN_EVENT_WRAPPER_TITLEDESC', 'Enter the title for this sidebar item (leave empty for inheritance by event plugin)');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_plugin_eventwrapper extends serendipity_plugin
 {
diff --git a/plugins/serendipity_plugin_recententries/lang_en.inc.php b/plugins/serendipity_plugin_recententries/lang_en.inc.php
new file mode 100644 (file)
index 0000000..e868ac5
--- /dev/null
@@ -0,0 +1,12 @@
+<?php # $Id$
+
+@define('PLUGIN_RECENTENTRIES_TITLE', 'Recent Entries');
+@define('PLUGIN_RECENTENTRIES_BLAHBLAH', 'Shows the titles and dates of the most recent entries');
+@define('PLUGIN_RECENTENTRIES_NUMBER', 'Number of entries');
+@define('PLUGIN_RECENTENTRIES_NUMBER_BLAHBLAH', 'How many entries should be displayed? (Default: 10)');
+@define('PLUGIN_RECENTENTRIES_NUMBER_FROM', 'Skip front page entries');
+@define('PLUGIN_RECENTENTRIES_NUMBER_FROM_DESC', 'Only recent entries that are not on the front page will be shown. (Default: latest ' . $serendipity['fetchLimit'] . ' will be skipped)');
+@define('PLUGIN_RECENTENTRIES_NUMBER_FROM_RADIO_ALL', 'Show all');
+@define('PLUGIN_RECENTENTRIES_NUMBER_FROM_RADIO_RECENT', 'Skip front page items');
+
+?>
index 53faaefdec7f3d5213f24a7ffeed8c4024857981..a3c67f4b32011bd95f403f29b6699b4aba4b22aa 100644 (file)
@@ -8,14 +8,7 @@ if (file_exists($probelang)) {
     include $probelang;
 }
 
-@define('PLUGIN_RECENTENTRIES_TITLE', 'Recent Entries');
-@define('PLUGIN_RECENTENTRIES_BLAHBLAH', 'Shows the titles and dates of the most recent entries');
-@define('PLUGIN_RECENTENTRIES_NUMBER', 'Number of entries');
-@define('PLUGIN_RECENTENTRIES_NUMBER_BLAHBLAH', 'How many entries should be displayed? (Default: 10)');
-@define('PLUGIN_RECENTENTRIES_NUMBER_FROM', 'Skip front page entries');
-@define('PLUGIN_RECENTENTRIES_NUMBER_FROM_DESC', 'Only recent entries that are not on the front page will be shown. (Default: latest ' . $serendipity['fetchLimit'] . ' will be skipped)');
-@define('PLUGIN_RECENTENTRIES_NUMBER_FROM_RADIO_ALL', 'Show all');
-@define('PLUGIN_RECENTENTRIES_NUMBER_FROM_RADIO_RECENT', 'Skip front page items');
+include dirname(__FILE__) . '/lang_en.inc.php';
 
 class serendipity_plugin_recententries extends serendipity_plugin {
     var $title = PLUGIN_RECENTENTRIES_TITLE;