1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Issue #5465 Plugin language file conversion.

This commit is contained in:
camer0n
2025-04-11 07:23:45 -07:00
parent 9de234324c
commit bea796463e
74 changed files with 1787 additions and 2263 deletions

View File

@@ -22,66 +22,59 @@
* @subpackage list_new
*/
if (!defined("PAGE_NAME")) { define("PAGE_NAME", "List New Items"); }
define("LIST_MENU_1", "recent additions");
define("LIST_MENU_2", "by");
define("LIST_MENU_3", "on");
define("LIST_MENU_4", "in");
define("LIST_MENU_5", "days");
define("LIST_MENU_6", "view content for how many days?");
define("LIST_MENU_7", "");
define("LIST_MENU_8", "");
define("LIST_MENU_9", "");
define("LIST_MENU_10", "");
define("LIST_MENU_11", "");
define("LIST_MENU_12", "");
define("LIST_MENU_13", "");
define("LIST_MENU_14", "");
define("LIST_MENU_15", "");
define("LIST_MENU_16", "");
define("LIST_MENU_17", "");
define("LIST_MENU_18", "");
define("LIST_MENU_19", "");
define("LIST_NEWS_1", "news");
define("LIST_NEWS_2", "no news items");
define("LIST_COMMENT_1", "comments");
define("LIST_COMMENT_2", "no comments");
define("LIST_COMMENT_3", "news");
define("LIST_COMMENT_4", "faq");
define("LIST_COMMENT_5", "poll");
define("LIST_COMMENT_6", "docs");
define("LIST_COMMENT_7", "bugtrack");
define("LIST_COMMENT_8", "content");
define("LIST_COMMENT_9", "");
define("LIST_COMMENT_10", "ideas");
define("LIST_MEMBER_1", "members");
define("LIST_MEMBER_2", "no members");
define("LIST_CONTENT_1", "content");
define("LIST_CONTENT_2", "no content in");
define("LIST_CONTENT_3", "no valid content category");
define("LIST_CHATBOX_1", "chatbox");
define("LIST_CHATBOX_2", "no chatbox posts");
define("LIST_CALENDAR_1", "calendar");
define("LIST_CALENDAR_2", "no calendar events");
define("LIST_LINKS_1", "links");
define("LIST_LINKS_2", "no links");
define("LIST_FORUM_1", "forum");
define("LIST_FORUM_2", "no forum posts");
define("LIST_FORUM_3", "views:");
define("LIST_FORUM_4", "replies:");
define("LIST_FORUM_5", "lastpost:");
define("LIST_FORUM_6", "on:");
define("LIST_LAN_1", "no items in");
define("LIST_DOWNLOAD_1", "downloads");
define("LIST_DOWNLOAD_2", "no downloads");
return [
'PAGE_NAME' => "List New Items",
'LIST_MENU_1' => "recent additions",
'LIST_MENU_2' => "by",
'LIST_MENU_3' => "on",
'LIST_MENU_4' => "in",
'LIST_MENU_5' => "days",
'LIST_MENU_6' => "view content for how many days?",
'LIST_MENU_7' => "",
'LIST_MENU_8' => "",
'LIST_MENU_9' => "",
'LIST_MENU_10' => "",
'LIST_MENU_11' => "",
'LIST_MENU_12' => "",
'LIST_MENU_13' => "",
'LIST_MENU_14' => "",
'LIST_MENU_15' => "",
'LIST_MENU_16' => "",
'LIST_MENU_17' => "",
'LIST_MENU_18' => "",
'LIST_MENU_19' => "",
'LIST_NEWS_1' => "news",
'LIST_NEWS_2' => "no news items",
'LIST_COMMENT_1' => "comments",
'LIST_COMMENT_2' => "no comments",
'LIST_COMMENT_3' => "news",
'LIST_COMMENT_4' => "faq",
'LIST_COMMENT_5' => "poll",
'LIST_COMMENT_6' => "docs",
'LIST_COMMENT_7' => "bugtrack",
'LIST_COMMENT_8' => "content",
'LIST_COMMENT_9' => "",
'LIST_COMMENT_10' => "ideas",
'LIST_MEMBER_1' => "members",
'LIST_MEMBER_2' => "no members",
'LIST_CONTENT_1' => "content",
'LIST_CONTENT_2' => "no content in",
'LIST_CONTENT_3' => "no valid content category",
'LIST_CHATBOX_1' => "chatbox",
'LIST_CHATBOX_2' => "no chatbox posts",
'LIST_CALENDAR_1' => "calendar",
'LIST_CALENDAR_2' => "no calendar events",
'LIST_LINKS_1' => "links",
'LIST_LINKS_2' => "no links",
'LIST_FORUM_1' => "forum",
'LIST_FORUM_2' => "no forum posts",
'LIST_FORUM_3' => "views:",
'LIST_FORUM_4' => "replies:",
'LIST_FORUM_5' => "lastpost:",
'LIST_FORUM_6' => "on:",
'LIST_LAN_1' => "no items in",
'LIST_DOWNLOAD_1' => "downloads",
'LIST_DOWNLOAD_2' => "no downloads",
];

View File

@@ -22,136 +22,97 @@
* @subpackage list_new
*/
if (!defined("PAGE_NAME")) { define("PAGE_NAME", "List New Items"); }
// define("LIST_PLUGIN_1", "List");
//define("LIST_PLUGIN_2", "This plugin allows you to view a list of recent additions in all e107 categories. You can either view the list with data since your last visit, or view a general latest additions list. Besides the page a menu is also present. Every section is configurable in the admin area.");
define("LIST_PLUGIN_3", "Configure Main Menu");
define("LIST_PLUGIN_4", "The List_new plugin is now ready to be used.");
define("LIST_PLUGIN_6", "This plugin is not installed.");
define("LIST_ADMIN_1", "recent");
define("LIST_ADMIN_2", "update settings");
define("LIST_ADMIN_3", "settings updated");
define("LIST_ADMIN_4", "section");
define("LIST_ADMIN_5", "menu");
define("LIST_ADMIN_6", "page");
define("LIST_ADMIN_7", "enabled");
define("LIST_ADMIN_8", "disabled");
define("LIST_ADMIN_9", "open");
define("LIST_ADMIN_10", "closed");
define("LIST_ADMIN_11", "update");
define("LIST_ADMIN_12", "choose");
define("LIST_ADMIN_13", "Welcome to the Recent page of ".SITENAME." ! This page shows, for the most common sections of this site, a list of the most recent additions in these sections.");
define("LIST_ADMIN_14", "recent additions");
define("LIST_ADMIN_15", "new since your last visit");
define("LIST_ADMIN_16", "Welcome to the New page of ".SITENAME." ! This page shows, for the most common sections of this site, a list of the additions in these sections since your last visit.");
define("LIST_ADMIN_17", "Nothing changed - not updated");
define("LIST_ADMIN_SECT_1", "sections");
define("LIST_ADMIN_SECT_2", "choose which sections to show");
define("LIST_ADMIN_SECT_3", "");
define("LIST_ADMIN_SECT_4", "display style");
define("LIST_ADMIN_SECT_5", "choose which sections are opened by default");
define("LIST_ADMIN_SECT_6", "");
define("LIST_ADMIN_SECT_7", "author");
define("LIST_ADMIN_SECT_8", "choose if the author should be displayed");
define("LIST_ADMIN_SECT_9", "");
define("LIST_ADMIN_SECT_10", "category");
define("LIST_ADMIN_SECT_11", "choose if the category should be displayed");
define("LIST_ADMIN_SECT_12", "");
define("LIST_ADMIN_SECT_13", "date");
define("LIST_ADMIN_SECT_14", "choose if the date should be displayed");
define("LIST_ADMIN_SECT_15", "");
define("LIST_ADMIN_SECT_16", "amount items");
define("LIST_ADMIN_SECT_17", "choose how many items should be displayed for each section");
define("LIST_ADMIN_SECT_18", "");
define("LIST_ADMIN_SECT_19", "order items");
define("LIST_ADMIN_SECT_20", "choose the order in which sections should be displayed");
define("LIST_ADMIN_SECT_21", "");
define("LIST_ADMIN_SECT_22", "icon");
define("LIST_ADMIN_SECT_23", "choose an icon for each section");
define("LIST_ADMIN_SECT_24", "");
define("LIST_ADMIN_SECT_25", "caption");
define("LIST_ADMIN_SECT_26", "define a caption for each section");
define("LIST_ADMIN_SECT_27", "");
define("LIST_ADMIN_OPT_1", "general");
define("LIST_ADMIN_OPT_2", "recent page");
define("LIST_ADMIN_OPT_3", "recent menu");
define("LIST_ADMIN_OPT_4", "new page");
define("LIST_ADMIN_OPT_5", "new menu");
define("LIST_ADMIN_OPT_6", "options");
define("LIST_ADMIN_MENU_2", "icon : default");
define("LIST_ADMIN_MENU_3", "use default theme bullet if no icon is present or if icon:use is disabled");
define("LIST_ADMIN_LAN_2", "caption");
define("LIST_ADMIN_LAN_3", "define a caption");
define("LIST_ADMIN_LAN_5", "icon : use");
define("LIST_ADMIN_LAN_6", "use icon from each section");
// define("LIST_ADMIN_LAN_7", "");
define("LIST_ADMIN_LAN_8", "characters");
define("LIST_ADMIN_LAN_9", "choose how many characters of the heading will be shown");
define("LIST_ADMIN_LAN_10", "leave blank to show full heading");
define("LIST_ADMIN_LAN_11", "postfix");
define("LIST_ADMIN_LAN_12", "choose a postfix if the heading is larger then the given amount of characters");
define("LIST_ADMIN_LAN_13", "leave blank to show no postfix");
define("LIST_ADMIN_LAN_14", "date");
define("LIST_ADMIN_LAN_15", "choose a date style");
define("LIST_ADMIN_LAN_16", "For more information on date formats see the <a href='http://www.php.net/manual/en/function.strftime.php' rel='external'>strftime function page at php.net</a>");
define("LIST_ADMIN_LAN_17", "today date");
define("LIST_ADMIN_LAN_18", "choose a date style if the date is today");
define("LIST_ADMIN_LAN_19", "For more information on date formats see the <a href='http://www.php.net/manual/en/function.strftime.php' rel='external'>strftime function page at php.net</a>");
define("LIST_ADMIN_LAN_20", "columns");
define("LIST_ADMIN_LAN_21", "choose an amount of columns");
define("LIST_ADMIN_LAN_22", "define how many columns you want to use. the number you specify will separate the page into an equal amount of columns");
define("LIST_ADMIN_LAN_23", "welcome text");
define("LIST_ADMIN_LAN_24", "define a welcome text that will be rendered at the top of the page");
// define("LIST_ADMIN_LAN_25", "");
define("LIST_ADMIN_LAN_26", "show empty");
define("LIST_ADMIN_LAN_27", "define if a message needs to be shown when sections have no results ");
define("LIST_ADMIN_LAN_28", "");
define("LIST_ADMIN_LAN_29", "icon : default");
define("LIST_ADMIN_LAN_30", "use default theme bullet if no icon is present or if icon:use is disabled");
// define("LIST_ADMIN_LAN_31", "");
define("LIST_ADMIN_LAN_32", "timelapse:days");
define("LIST_ADMIN_LAN_33", "maximum of days users can look back");
// define("LIST_ADMIN_LAN_34", "");
define("LIST_ADMIN_LAN_35", "days");
define("LIST_ADMIN_LAN_36", "timelapse");
define("LIST_ADMIN_LAN_37", "display a select box with number of days to look back?");
// define("LIST_ADMIN_LAN_38", "");
define("LIST_ADMIN_LAN_39", "open if records exist");
define("LIST_ADMIN_LAN_40", "should sections that contain records be opened by default?");
// define("LIST_ADMIN_LAN_41", "");
// Admin log messages
//-------------------
define("LAN_AL_LISTNEW_01", "List New preferences updated");
// define("LAN_AL_LISTNEW_02", "");
return [
'PAGE_NAME' => "List New Items",
'LIST_PLUGIN_3' => "Configure Main Menu",
'LIST_PLUGIN_4' => "The List_new plugin is now ready to be used.",
'LIST_PLUGIN_6' => "This plugin is not installed.",
'LIST_ADMIN_1' => "recent",
'LIST_ADMIN_2' => "update settings",
'LIST_ADMIN_3' => "settings updated",
'LIST_ADMIN_4' => "section",
'LIST_ADMIN_5' => "menu",
'LIST_ADMIN_6' => "page",
'LIST_ADMIN_7' => "enabled",
'LIST_ADMIN_8' => "disabled",
'LIST_ADMIN_9' => "open",
'LIST_ADMIN_10' => "closed",
'LIST_ADMIN_11' => "update",
'LIST_ADMIN_12' => "choose",
'LIST_ADMIN_13' => "Welcome to the Recent page of \".SITENAME.\" ! This page shows, for the most common sections of this site, a list of the most recent additions in these sections.",
'LIST_ADMIN_14' => "recent additions",
'LIST_ADMIN_15' => "new since your last visit",
'LIST_ADMIN_16' => "Welcome to the New page of \".SITENAME.\" ! This page shows, for the most common sections of this site, a list of the additions in these sections since your last visit.",
'LIST_ADMIN_17' => "Nothing changed - not updated",
'LIST_ADMIN_SECT_1' => "sections",
'LIST_ADMIN_SECT_2' => "choose which sections to show",
'LIST_ADMIN_SECT_3' => "",
'LIST_ADMIN_SECT_4' => "display style",
'LIST_ADMIN_SECT_5' => "choose which sections are opened by default",
'LIST_ADMIN_SECT_6' => "",
'LIST_ADMIN_SECT_7' => "author",
'LIST_ADMIN_SECT_8' => "choose if the author should be displayed",
'LIST_ADMIN_SECT_9' => "",
'LIST_ADMIN_SECT_10' => "category",
'LIST_ADMIN_SECT_11' => "choose if the category should be displayed",
'LIST_ADMIN_SECT_12' => "",
'LIST_ADMIN_SECT_13' => "date",
'LIST_ADMIN_SECT_14' => "choose if the date should be displayed",
'LIST_ADMIN_SECT_15' => "",
'LIST_ADMIN_SECT_16' => "amount items",
'LIST_ADMIN_SECT_17' => "choose how many items should be displayed for each section",
'LIST_ADMIN_SECT_18' => "",
'LIST_ADMIN_SECT_19' => "order items",
'LIST_ADMIN_SECT_20' => "choose the order in which sections should be displayed",
'LIST_ADMIN_SECT_21' => "",
'LIST_ADMIN_SECT_22' => "icon",
'LIST_ADMIN_SECT_23' => "choose an icon for each section",
'LIST_ADMIN_SECT_24' => "",
'LIST_ADMIN_SECT_25' => "caption",
'LIST_ADMIN_SECT_26' => "define a caption for each section",
'LIST_ADMIN_SECT_27' => "",
'LIST_ADMIN_OPT_1' => "general",
'LIST_ADMIN_OPT_2' => "recent page",
'LIST_ADMIN_OPT_3' => "recent menu",
'LIST_ADMIN_OPT_4' => "new page",
'LIST_ADMIN_OPT_5' => "new menu",
'LIST_ADMIN_OPT_6' => "options",
'LIST_ADMIN_MENU_2' => "icon : default",
'LIST_ADMIN_MENU_3' => "use default theme bullet if no icon is present or if icon:use is disabled",
'LIST_ADMIN_LAN_2' => "caption",
'LIST_ADMIN_LAN_3' => "define a caption",
'LIST_ADMIN_LAN_5' => "icon : use",
'LIST_ADMIN_LAN_6' => "use icon from each section",
'LIST_ADMIN_LAN_8' => "characters",
'LIST_ADMIN_LAN_9' => "choose how many characters of the heading will be shown",
'LIST_ADMIN_LAN_10' => "leave blank to show full heading",
'LIST_ADMIN_LAN_11' => "postfix",
'LIST_ADMIN_LAN_12' => "choose a postfix if the heading is larger then the given amount of characters",
'LIST_ADMIN_LAN_13' => "leave blank to show no postfix",
'LIST_ADMIN_LAN_14' => "date",
'LIST_ADMIN_LAN_15' => "choose a date style",
'LIST_ADMIN_LAN_16' => "For more information on date formats see the <a href='http://www.php.net/manual/en/function.strftime.php' rel='external'>strftime function page at php.net</a>",
'LIST_ADMIN_LAN_17' => "today date",
'LIST_ADMIN_LAN_18' => "choose a date style if the date is today",
'LIST_ADMIN_LAN_19' => "For more information on date formats see the <a href='http://www.php.net/manual/en/function.strftime.php' rel='external'>strftime function page at php.net</a>",
'LIST_ADMIN_LAN_20' => "columns",
'LIST_ADMIN_LAN_21' => "choose an amount of columns",
'LIST_ADMIN_LAN_22' => "define how many columns you want to use. the number you specify will separate the page into an equal amount of columns",
'LIST_ADMIN_LAN_23' => "welcome text",
'LIST_ADMIN_LAN_24' => "define a welcome text that will be rendered at the top of the page",
'LIST_ADMIN_LAN_26' => "show empty",
'LIST_ADMIN_LAN_27' => "define if a message needs to be shown when sections have no results",
'LIST_ADMIN_LAN_28' => "",
'LIST_ADMIN_LAN_29' => "icon : default",
'LIST_ADMIN_LAN_30' => "use default theme bullet if no icon is present or if icon:use is disabled",
'LIST_ADMIN_LAN_32' => "timelapse:days",
'LIST_ADMIN_LAN_33' => "maximum of days users can look back",
'LIST_ADMIN_LAN_35' => "days",
'LIST_ADMIN_LAN_36' => "timelapse",
'LIST_ADMIN_LAN_37' => "display a select box with number of days to look back?",
'LIST_ADMIN_LAN_39' => "open if records exist",
'LIST_ADMIN_LAN_40' => "should sections that contain records be opened by default?",
'LAN_AL_LISTNEW_01' => "List New preferences updated",
];

View File

@@ -6,5 +6,8 @@
* 'List new items' global language defines
*/
define("LAN_PLUGIN_LIST_NEW_NAME", "List New Items");
define("LAN_PLUGIN_LIST_NEW_DESCRIPTION", "This plugin allows you to view a list and/or menu of recent additions in all e107 categories. You can either view the list with data since your last visit, or view a general latest additions list.");
return [
'LAN_PLUGIN_LIST_NEW_NAME' => "List New Items",
'LAN_PLUGIN_LIST_NEW_DESCRIPTION' => "This plugin allows you to view a list and/or menu of recent additions in all e107 categories. You can either view the list with data since your last visit, or view a general latest additions list.",
];