1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +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

@@ -21,62 +21,23 @@
//define("POLLAN_1", "Existing polls");//LAN_MANAGE
//define("POLLAN_2", "Create / edit polls");//LAN_CREATE
define("POLLAN_3", "Poll Question");
define("POLLAN_4", "Poll Answers");
//define("POLLAN_5", "Edit");
//define("POLLAN_6", "Delete");
//define("POLLAN_7", "No polls yet.");//LAN_NO_RECORDS_FOUND
//define("POLLAN_8", "Add another option");//LAN_ADD_MORE
//define("POLLAN_9", "Allow multiple choices?");//LAN_MULTIPLE_CHOICE
//define("POLLAN_10", "yes");//LAN_YES
//define("POLLAN_11", "no");//LAN_NO
define("POLLAN_12", "Show results");
define("POLLAN_13", "after voting");
define("POLLAN_14", "by clicking view results link - comments must be turned on to use this option");
define("POLLAN_15", "Allow to vote on this poll");
define("POLLAN_16", "Vote storage method");
define("POLLAN_17", "Cookie");
//define("POLLAN_18", "IP address");//LAN_IP_ADDRESS
define("POLLAN_19", "User ID (only members can vote)");
//define("POLLAN_20", "Allow comments to be posted to this poll?");//LAN_COMMENTS_ALLOWED
//define("POLLAN_21", "Preview again");//NOT USED
//define("POLLAN_22", "Update Poll");
//define("POLLAN_23", "Create Poll");//LAN_CREATE
//define("POLLAN_24", "Preview");//LAN_PREVIEW
//define("POLLAN_25", "Clear form");//LAN_CLEAR
//define("POLLAN_26", "votes");//NOT USED
// define("POLLAN_27", "Comments");
define("POLLAN_28", "All Previous polls");
//define("POLLAN_29", "posted by");//NOT USED
//define("POLLAN_30", "Submit");//NOT USED
define("POLLAN_31", "Votes");
//define("POLLAN_32", "Click here to see results");//NOT USED
//define("POLLAN_33", "No previous polls yet.");//LAN_NO_RECORDS_FOUND
//define("POLLAN_34", "Title");//LAN_TITLE
//define("POLLAN_35", "Posted by");//LAN_POSTED_BY
//define("POLLAN_36", "Active");//LAN_ACTIVE
//define("POLLAN_37", "active from");//LAN_FROM
//define("POLLAN_38", "to");// LAN_TO
//define("POLLAN_39", "Thank you for voting!");//LAN_THANK_YOU
define("POLLAN_40", "Click here to see results");
define("POLLAN_41", "This poll is restricted to members only");
define("POLLAN_42", "This poll is restricted to administrators only");
define("POLLAN_43", "You do not have the required permissions to vote in this poll");
//define("POLLAN_44", "Delete this poll?");//NOT USED
//define("POLLAN_45", "Poll successfully updated");//NOT USED
//define("POLLAN_46", "Field(s) left blank");
define("POLLAN_50", "Active from [x] to [y]");
// TODO NEED TO BE RENAMED!
define("LAN_FORUM_3029", "If you do not wish to add a poll to your topic, leave the fields blank."); // LAN_386
//define("LAN_FORUM_3030", "Poll question"); // LAN_5//POLLAN_3
//define("LAN_FORUM_3031", "Poll answer"); // LAN_391//POLLAN_4
//define("LAN_FORUM_3032", "Add another answer"); // LAN_6//LAN_ADD_MORE
//define("LAN_FORUM_3033", "Allow multiple choices?"); // LAN_506//LAN_MULTIPLE_CHOICE
//define("LAN_FORUM_3034", "Vote storage method"); // POLLAN_16//POLLAN_16
//define("LAN_FORUM_3035", "Cookie"); // POLLAN_17
//define("LAN_FORUM_3036", "IP address"); // POLLAN_18//LAN_IP_ADDRESS
//define("LAN_FORUM_3037", "User ID (only members can vote)"); // POLLAN_19
return [
'POLLAN_3' => "Poll Question",
'POLLAN_4' => "Poll Answers",
'POLLAN_12' => "Show results",
'POLLAN_13' => "after voting",
'POLLAN_14' => "by clicking view results link - comments must be turned on to use this option",
'POLLAN_15' => "Allow to vote on this poll",
'POLLAN_16' => "Vote storage method",
'POLLAN_17' => "Cookie",
'POLLAN_19' => "User ID (only members can vote)",
'POLLAN_28' => "All Previous polls",
'POLLAN_31' => "Votes",
'POLLAN_40' => "Click here to see results",
'POLLAN_41' => "This poll is restricted to members only",
'POLLAN_42' => "This poll is restricted to administrators only",
'POLLAN_43' => "You do not have the required permissions to vote in this poll",
'POLLAN_50' => "Active from [x] to [y]",
'LAN_FORUM_3029' => "If you do not wish to add a poll to your topic, leave the fields blank.",
];

View File

@@ -2,7 +2,7 @@
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Copyright (C) 2008-2025 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
@@ -11,68 +11,45 @@
//define("POLL_ADLAN01", "Poll");
//define("POLL_ADLAN02", "The poll plugin allows you to define polls in either a menu or forum post.");
//define("POLL_ADLAN03", "Configure polls");//LAN_CONFIGURE
define("POLL_ADLAN04", "The poll plugin has been successfully installed. To add polls, click on the Polls icon in the plugin section of your admin front page, and remember to activate the menu item from your menus page.");
//define("POLL_ADLAN05", "Main Poll: ");//NOT USED
//define("POLL_ADLAN06", "Forum Thread: ");//NOT USED
//define("POLL_ADLAN07", "Type");//NOT USED
//define("POLL_ADLAN08", "Poll deleted");
//define("POLLAN_MENU_CAPTION", "Poll");//LAN_PLUGIN_POLL_NAME
//define("POLLAN_1", "Existing polls");
//define("POLLAN_2", "Create / edit polls");
//define("POLLAN_3", "Poll Question");
//define("POLLAN_4", "Poll Options");
//define("POLLAN_5", "Edit");
//define("POLLAN_6", "Delete");
//define("POLLAN_7", "No polls yet.");//LAN_NO_RECORDS_FOUND
/*
define("POLLAN_8", "Add another option");
define("POLLAN_9", "Allow multiple choices?");
define("POLLAN_10", "yes");
define("POLLAN_11", "no");
define("POLLAN_12", "Show results");
define("POLLAN_13", "after voting");
define("POLLAN_14", "by clicking view results link - comments must be turned on to use this option");
define("POLLAN_15", "Allow to vote on this poll");
define("POLLAN_16", "Vote storage method");
define("POLLAN_17", "cookie");
define("POLLAN_18", "IP address");
define("POLLAN_19", "User ID (only members can vote)");
define("POLLAN_20", "Allow comments to be posted to this poll?");
define("POLLAN_21", "Preview again");
define("POLLAN_22", "Update Poll");
define("POLLAN_23", "Create Poll");
define("POLLAN_24", "Preview");
define("POLLAN_25", "Clear form");
define("POLLAN_26", "votes");
define("POLLAN_27", "Comments");
define("POLLAN_28", "Previous polls");
define("POLLAN_29", "posted by");
define("POLLAN_30", "Submit");
define("POLLAN_31", "Votes");
define("POLLAN_32", "Click here to see results");
define("POLLAN_33", "No previous polls yet.");
//define("POLLAN_34", "Title");//LAN_TITLE
define("POLLAN_35", "Posted by");
define("POLLAN_36", "Active");
define("POLLAN_37", "active from");
define("POLLAN_38", "to");
define("POLLAN_39", "Thank you for voting!");
define("POLLAN_40", "Click here to see results");
define("POLLAN_41", "This poll is restricted to members only");
define("POLLAN_42", "This poll is restricted to administrators only");
define("POLLAN_43", "You do not have the required permissions to vote in this poll");
define("POLLAN_44", "Delete this poll?");
*/
//define("POLLAN_46", "Field(s) left blank");
// Log messages
//define("LAN_AL_POLL_01","Poll deleted");//CHANGED TO EXISTING LANS
define("LAN_AL_POLL_02","Poll updated");//NOT USED
define("LAN_AL_POLL_03","Poll added");//NOT USED
// define("LAN_AL_POLL_04","");//NOT USED
// define("LAN_AL_POLL_05","");//NOT USED
return [
'POLL_ADLAN04' => "The poll plugin has been successfully installed. To add polls, click on the Polls icon in the plugin section of your admin front page, and remember to activate the menu item from your menus page.",
'POLLAN_8' => "Add another option",
'POLLAN_9' => "Allow multiple choices?",
'POLLAN_10' => "yes",
'POLLAN_11' => "no",
'POLLAN_12' => "Show results",
'POLLAN_13' => "after voting",
'POLLAN_14' => "by clicking view results link - comments must be turned on to use this option",
'POLLAN_15' => "Allow to vote on this poll",
'POLLAN_16' => "Vote storage method",
'POLLAN_17' => "cookie",
'POLLAN_18' => "IP address",
'POLLAN_19' => "User ID (only members can vote)",
'POLLAN_20' => "Allow comments to be posted to this poll?",
'POLLAN_21' => "Preview again",
'POLLAN_22' => "Update Poll",
'POLLAN_23' => "Create Poll",
'POLLAN_24' => "Preview",
'POLLAN_25' => "Clear form",
'POLLAN_26' => "votes",
'POLLAN_27' => "Comments",
'POLLAN_28' => "Previous polls",
'POLLAN_29' => "posted by",
'POLLAN_30' => "Submit",
'POLLAN_31' => "Votes",
'POLLAN_32' => "Click here to see results",
'POLLAN_33' => "No previous polls yet.",
'POLLAN_35' => "Posted by",
'POLLAN_36' => "Active",
'POLLAN_37' => "active from",
'POLLAN_38' => "to",
'POLLAN_39' => "Thank you for voting!",
'POLLAN_40' => "Click here to see results",
'POLLAN_41' => "This poll is restricted to members only",
'POLLAN_42' => "This poll is restricted to administrators only",
'POLLAN_43' => "You do not have the required permissions to vote in this poll",
'POLLAN_44' => "Delete this poll?",
'LAN_AL_POLL_02' => "Poll updated",
'LAN_AL_POLL_03' => "Poll added",
];

View File

@@ -8,7 +8,8 @@
*
*/
define("LAN_PLUGIN_POLL_NAME", "Poll");
define("LAN_PLUGIN_POLL_DESCRIPTION", "The poll plugin allows you to define polls in either a menu or forum post.");
return [
'LAN_PLUGIN_POLL_NAME' => "Poll",
'LAN_PLUGIN_POLL_DESCRIPTION' => "The poll plugin allows you to define polls in either a menu or forum post.",
];