From: elf2000 Date: Sun, 13 Nov 2005 07:15:39 +0000 (+0000) Subject: o split message catalog to lang_en.inc.php. X-Git-Tag: 1.0~296 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f0ec671a6adbef2cfdc107c173715423a87eaf8f;p=s9y.git o split message catalog to lang_en.inc.php. --- diff --git a/plugins/serendipity_event_textwiki/lang_en.inc.php b/plugins/serendipity_event_textwiki/lang_en.inc.php new file mode 100644 index 0000000..a0b82c3 --- /dev/null +++ b/plugins/serendipity_event_textwiki/lang_en.inc.php @@ -0,0 +1,13 @@ + + * EN-Revision: Revision of lang_en.inc.php + */ + +@define('PLUGIN_EVENT_TEXTWIKI_NAME', 'Markup: Wiki'); +@define('PLUGIN_EVENT_TEXTWIKI_DESC', 'Markup text using Text_Wiki'); +@define('PLUGIN_EVENT_TEXTWIKI_TRANSFORM', 'Wiki format allowed'); + +?> diff --git a/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php b/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php index 2ea5c70..e9c4deb 100644 --- a/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php +++ b/plugins/serendipity_event_textwiki/serendipity_event_textwiki.php @@ -6,9 +6,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_EVENT_TEXTWIKI_NAME', 'Markup: Wiki'); -@define('PLUGIN_EVENT_TEXTWIKI_DESC', 'Markup text using Text_Wiki'); -@define('PLUGIN_EVENT_TEXTWIKI_TRANSFORM', 'Wiki format allowed'); +include dirname(__FILE__) . '/lang_en.inc.php'; // Currently only english available diff --git a/plugins/serendipity_plugin_creativecommons/lang_en.inc.php b/plugins/serendipity_plugin_creativecommons/lang_en.inc.php new file mode 100644 index 0000000..403f01e --- /dev/null +++ b/plugins/serendipity_plugin_creativecommons/lang_en.inc.php @@ -0,0 +1,12 @@ + + * EN-Revision: Revision of lang_en.inc.php + */ + +@define('PLUGIN_SIDEBAR_CREATIVECOMMONS_NAME', 'Creative Commons'); +@define('PLUGIN_SIDEBAR_CREATIVECOMMONS_DESC', 'Display a creative commons notification in the sidebar.'); + +?> diff --git a/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php b/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php index d40a6c6..09d3197 100644 --- a/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php +++ b/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php @@ -6,8 +6,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_SIDEBAR_CREATIVECOMMONS_NAME', 'Creative Commons'); -@define('PLUGIN_SIDEBAR_CREATIVECOMMONS_DESC', 'Display a creative commons notification in the sidebar.'); +include dirname(__FILE__) . '/lang_en.inc.php'; class serendipity_plugin_creativecommons extends serendipity_plugin { var $title = PLUGIN_SIDEBAR_CREATIVECOMMONS_NAME; diff --git a/plugins/serendipity_plugin_history/lang_en.inc.php b/plugins/serendipity_plugin_history/lang_en.inc.php new file mode 100644 index 0000000..5e35a62 --- /dev/null +++ b/plugins/serendipity_plugin_history/lang_en.inc.php @@ -0,0 +1,34 @@ + + * EN-Revision: Revision of lang_en.inc.php + */ + +@define('PLUGIN_HISTORY_NAME', 'History'); +@define('PLUGIN_HISTORY_DESC', 'Displays ancient entries of an adjustable age.'); +@define('PLUGIN_HISTORY_MIN_AGE', 'Min age'); +@define('PLUGIN_HISTORY_MIN_AGE_DESC', 'Minimum age of entries (in days).'); +@define('PLUGIN_HISTORY_MAX_AGE', 'Max age'); +@define('PLUGIN_HISTORY_MAX_AGE_DESC','Maximum age of entries (in days).'); +@define('PLUGIN_HISTORY_MAX_ENTRIES', 'Maximum entries'); +@define('PLUGIN_HISTORY_MAX_ENTRIES_DESC', 'Number of entries to display'); +@define('PLUGIN_HISTORY_SHOWFULL', 'Full entries'); +@define('PLUGIN_HISTORY_SHOWFULL_DESC', 'Display full entries instead of linked headlines.'); +@define('PLUGIN_HISTORY_INTRO', 'Intro'); +@define('PLUGIN_HISTORY_INTRO_DESC', 'A short intro like \'One year ago I said:\'.'); +@define('PLUGIN_HISTORY_OUTRO', 'Outro'); +@define('PLUGIN_HISTORY_OUTRO_DESC', 'A short outro like \'Nice, eh?\'.'); +@define('PLUGIN_HISTORY_DISPLAYDATE', 'Display date'); +@define('PLUGIN_HISTORY_DISPLAYDATE_DESC', 'Display the date of each entry?'); +@define('PLUGIN_HISTORY_MAXLENGTH', 'Title-Length'); +@define('PLUGIN_HISTORY_MAXLENGTH_DESC', 'After how many characters to cut the titles (0 for full titles)?'); +@define('PLUGIN_HISTORY_SPECIALAGE', 'Ready-made age?'); +@define('PLUGIN_HISTORY_SPECIALAGE_DESC', 'If you want to define your own timerange instead of a ready-made, select \'I\'ll define one\' here and adjust the two settings below.'); +@define('PLUGIN_HISTORY_SPECIALAGE_YEAR', 'Display items of exactly one year ago'); +@define('PLUGIN_HISTORY_CUSTOMAGE', 'Let me define the age'); +@define('PLUGIN_HISTORY_OYA', 'One year ago'); +@define('PLUGIN_HISTORY_MYSELF', 'I\'ll define one'); + +?> diff --git a/plugins/serendipity_plugin_history/serendipity_plugin_history.php b/plugins/serendipity_plugin_history/serendipity_plugin_history.php index bfa2aa4..db7cc97 100644 --- a/plugins/serendipity_plugin_history/serendipity_plugin_history.php +++ b/plugins/serendipity_plugin_history/serendipity_plugin_history.php @@ -6,30 +6,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_HISTORY_NAME', 'History'); -@define('PLUGIN_HISTORY_DESC', 'Displays ancient entries of an adjustable age.'); -@define('PLUGIN_HISTORY_MIN_AGE', 'Min age'); -@define('PLUGIN_HISTORY_MIN_AGE_DESC', 'Minimum age of entries (in days).'); -@define('PLUGIN_HISTORY_MAX_AGE', 'Max age'); -@define('PLUGIN_HISTORY_MAX_AGE_DESC','Maximum age of entries (in days).'); -@define('PLUGIN_HISTORY_MAX_ENTRIES', 'Maximum entries'); -@define('PLUGIN_HISTORY_MAX_ENTRIES_DESC', 'Number of entries to display'); -@define('PLUGIN_HISTORY_SHOWFULL', 'Full entries'); -@define('PLUGIN_HISTORY_SHOWFULL_DESC', 'Display full entries instead of linked headlines.'); -@define('PLUGIN_HISTORY_INTRO', 'Intro'); -@define('PLUGIN_HISTORY_INTRO_DESC', 'A short intro like \'One year ago I said:\'.'); -@define('PLUGIN_HISTORY_OUTRO', 'Outro'); -@define('PLUGIN_HISTORY_OUTRO_DESC', 'A short outro like \'Nice, eh?\'.'); -@define('PLUGIN_HISTORY_DISPLAYDATE', 'Display date'); -@define('PLUGIN_HISTORY_DISPLAYDATE_DESC', 'Display the date of each entry?'); -@define('PLUGIN_HISTORY_MAXLENGTH', 'Title-Length'); -@define('PLUGIN_HISTORY_MAXLENGTH_DESC', 'After how many characters to cut the titles (0 for full titles)?'); -@define('PLUGIN_HISTORY_SPECIALAGE', 'Ready-made age?'); -@define('PLUGIN_HISTORY_SPECIALAGE_DESC', 'If you want to define your own timerange instead of a ready-made, select \'I\'ll define one\' here and adjust the two settings below.'); -@define('PLUGIN_HISTORY_SPECIALAGE_YEAR', 'Display items of exactly one year ago'); -@define('PLUGIN_HISTORY_CUSTOMAGE', 'Let me define the age'); -@define('PLUGIN_HISTORY_OYA', 'One year ago'); -@define('PLUGIN_HISTORY_MYSELF', 'I\'ll define one'); +include dirname(__FILE__) . '/lang_en.inc.php'; class serendipity_plugin_history extends serendipity_plugin { diff --git a/plugins/serendipity_plugin_remoterss/lang_en.inc.php b/plugins/serendipity_plugin_remoterss/lang_en.inc.php new file mode 100644 index 0000000..4c62b0f --- /dev/null +++ b/plugins/serendipity_plugin_remoterss/lang_en.inc.php @@ -0,0 +1,29 @@ + + * EN-Revision: Revision of lang_en.inc.php + */ + +@define('PLUGIN_REMOTERSS_TITLE', 'Remote RSS/OPML-Blogroll Feed'); +@define('PLUGIN_REMOTERSS_BLAHBLAH', 'Show items of a remote RSS/OPML feed (e.g. Blogroll)'); +@define('PLUGIN_REMOTERSS_NUMBER', 'Number of entries'); +@define('PLUGIN_REMOTERSS_NUMBER_BLAHBLAH', 'How many entries should be displayed? (Default: every entry of the feed)'); +@define('PLUGIN_REMOTERSS_SIDEBARTITLE', 'Feed-Title'); +@define('PLUGIN_REMOTERSS_SIDEBARTITLE_BLAHBLAH', 'Title of the feed in the blog sidebar'); +@define('PLUGIN_REMOTERSS_RSSURI', 'RSS/OPML URI'); +@define('PLUGIN_REMOTERSS_RSSURI_BLAHBLAH', 'URI of the RSS/OPML feed which you want to display'); +@define('PLUGIN_REMOTERSS_NOURI', 'No RSS/OPML feed selected'); +@define('PLUGIN_REMOTERSS_RSSTARGET', 'RSS/OPML linktarget'); +@define('PLUGIN_REMOTERSS_RSSTARGET_BLAHBLAH', 'Target of the link to one of the displayed RSS items (Default: _blank)'); +@define('PLUGIN_REMOTERSS_CACHETIME', 'When to update the feed?'); +@define('PLUGIN_REMOTERSS_CACHETIME_BLAHBLAH', 'The contents of a feed are stored in a cache which will be updated as soon as its older than X seconds (Default: 3 hours)'); +@define('PLUGIN_REMOTERSS_FEEDTYPE', 'Feedtype'); +@define('PLUGIN_REMOTERSS_FEEDTYPE_BLAHBLAH', 'Choose the format of the remote Feed'); +@define('PLUGIN_REMOTERSS_BULLETIMG', 'Bullet Image'); +@define('PLUGIN_REMOTERSS_BULLETIMG_BLAHBLAH', 'Image to display before each headline.'); +@define('PLUGIN_REMOTERSS_DISPLAYDATE', 'Display Date'); +@define('PLUGIN_REMOTERSS_DISPLAYDATE_BLAHBLAH', 'Display the date below the headline?'); + +?> diff --git a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php index 75c7fe5..d964eab 100644 --- a/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php +++ b/plugins/serendipity_plugin_remoterss/serendipity_plugin_remoterss.php @@ -9,25 +9,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_REMOTERSS_TITLE', 'Remote RSS/OPML-Blogroll Feed'); -@define('PLUGIN_REMOTERSS_BLAHBLAH', 'Show items of a remote RSS/OPML feed (e.g. Blogroll)'); -@define('PLUGIN_REMOTERSS_NUMBER', 'Number of entries'); -@define('PLUGIN_REMOTERSS_NUMBER_BLAHBLAH', 'How many entries should be displayed? (Default: every entry of the feed)'); -@define('PLUGIN_REMOTERSS_SIDEBARTITLE', 'Feed-Title'); -@define('PLUGIN_REMOTERSS_SIDEBARTITLE_BLAHBLAH', 'Title of the feed in the blog sidebar'); -@define('PLUGIN_REMOTERSS_RSSURI', 'RSS/OPML URI'); -@define('PLUGIN_REMOTERSS_RSSURI_BLAHBLAH', 'URI of the RSS/OPML feed which you want to display'); -@define('PLUGIN_REMOTERSS_NOURI', 'No RSS/OPML feed selected'); -@define('PLUGIN_REMOTERSS_RSSTARGET', 'RSS/OPML linktarget'); -@define('PLUGIN_REMOTERSS_RSSTARGET_BLAHBLAH', 'Target of the link to one of the displayed RSS items (Default: _blank)'); -@define('PLUGIN_REMOTERSS_CACHETIME', 'When to update the feed?'); -@define('PLUGIN_REMOTERSS_CACHETIME_BLAHBLAH', 'The contents of a feed are stored in a cache which will be updated as soon as its older than X seconds (Default: 3 hours)'); -@define('PLUGIN_REMOTERSS_FEEDTYPE', 'Feedtype'); -@define('PLUGIN_REMOTERSS_FEEDTYPE_BLAHBLAH', 'Choose the format of the remote Feed'); -@define('PLUGIN_REMOTERSS_BULLETIMG', 'Bullet Image'); -@define('PLUGIN_REMOTERSS_BULLETIMG_BLAHBLAH', 'Image to display before each headline.'); -@define('PLUGIN_REMOTERSS_DISPLAYDATE', 'Display Date'); -@define('PLUGIN_REMOTERSS_DISPLAYDATE_BLAHBLAH', 'Display the date below the headline?'); +include dirname(__FILE__) . '/lang_en.inc.php'; class s9y_remoterss_XMLTree { function GetChildren($vals, &$i) { diff --git a/plugins/serendipity_plugin_shoutbox/lang_en.inc.php b/plugins/serendipity_plugin_shoutbox/lang_en.inc.php new file mode 100644 index 0000000..57880d8 --- /dev/null +++ b/plugins/serendipity_plugin_shoutbox/lang_en.inc.php @@ -0,0 +1,20 @@ + + * EN-Revision: Revision of lang_en.inc.php + */ + +@define('PLUGIN_SHOUTBOX_NAME', 'Shoutbox'); +@define('PLUGIN_SHOUTBOX_DELETE', 'Delete'); +@define('PLUGIN_SHOUTBOX_SUBMIT', 'Shout it out'); +@define('PLUGIN_SHOUTBOX_BLAHBLAH', 'Displays a shoutbox for unrelated comments'); +@define('PLUGIN_SHOUTBOX_WORDWRAP', 'Wordwrap'); +@define('PLUGIN_SHOUTBOX_WORDWRAP_BLAHBLAH', 'How many chars until a wordwrap will occur? (Default: 30)'); +@define('PLUGIN_SHOUTBOX_MAXCHARS', 'Maximum chars per comment'); +@define('PLUGIN_SHOUTBOX_MAXCHARS_BLAHBLAH', 'How many chars will be displayed for each comment? (Default: 120)'); +@define('PLUGIN_SHOUTBOX_MAXENTRIES', 'Maximum number of comments'); +@define('PLUGIN_SHOUTBOX_MAXENTRIES_BLAHBLAH', 'How many comments will be shown? (Default: 15)'); + +?> diff --git a/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php b/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php index 959d4c8..de40ce3 100644 --- a/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php +++ b/plugins/serendipity_plugin_shoutbox/serendipity_plugin_shoutbox.php @@ -8,16 +8,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_SHOUTBOX_NAME', 'Shoutbox'); -@define('PLUGIN_SHOUTBOX_DELETE', 'Delete'); -@define('PLUGIN_SHOUTBOX_SUBMIT', 'Shout it out'); -@define('PLUGIN_SHOUTBOX_BLAHBLAH', 'Displays a shoutbox for unrelated comments'); -@define('PLUGIN_SHOUTBOX_WORDWRAP', 'Wordwrap'); -@define('PLUGIN_SHOUTBOX_WORDWRAP_BLAHBLAH', 'How many chars until a wordwrap will occur? (Default: 30)'); -@define('PLUGIN_SHOUTBOX_MAXCHARS', 'Maximum chars per comment'); -@define('PLUGIN_SHOUTBOX_MAXCHARS_BLAHBLAH', 'How many chars will be displayed for each comment? (Default: 120)'); -@define('PLUGIN_SHOUTBOX_MAXENTRIES', 'Maximum number of comments'); -@define('PLUGIN_SHOUTBOX_MAXENTRIES_BLAHBLAH', 'How many comments will be shown? (Default: 15)'); +include dirname(__FILE__) . '/lang_en.inc.php'; class serendipity_plugin_shoutbox extends serendipity_plugin { diff --git a/plugins/serendipity_plugin_templatedropdown/lang_en.inc.php b/plugins/serendipity_plugin_templatedropdown/lang_en.inc.php new file mode 100644 index 0000000..a38e6a5 --- /dev/null +++ b/plugins/serendipity_plugin_templatedropdown/lang_en.inc.php @@ -0,0 +1,14 @@ + + * EN-Revision: Revision of lang_en.inc.php + */ + +@define('PLUGIN_TEMPLATEDROPDOWN_NAME', 'Template dropdown'); +@define('PLUGIN_TEMPLATEDROPDOWN_DESC', 'Show a box to change templates'); +@define('PLUGIN_TEMPLATEDROPDOWN_SUBMIT', 'Submit button?'); +@define('PLUGIN_TEMPLATEDROPDOWN_SUBMIT_DESC', 'Show a submit button?'); + +?> diff --git a/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php b/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php index ddbf3e6..21d043c 100644 --- a/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php +++ b/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php @@ -6,10 +6,7 @@ if (file_exists($probelang)) { include $probelang; } -@define('PLUGIN_TEMPLATEDROPDOWN_NAME', 'Template dropdown'); -@define('PLUGIN_TEMPLATEDROPDOWN_DESC', 'Show a box to change templates'); -@define('PLUGIN_TEMPLATEDROPDOWN_SUBMIT', 'Submit button?'); -@define('PLUGIN_TEMPLATEDROPDOWN_SUBMIT_DESC', 'Show a submit button?'); +include dirname(__FILE__) . '/lang_en.inc.php'; class serendipity_plugin_templatedropdown extends serendipity_plugin { var $title = PLUGIN_TEMPLATEDROPDOWN_NAME;